You simply can't because Maven has a build life-cycle
You have to understand that Maven has a build life-cycle and that is your plan. You must forget the Ant Targets.
The lifecycle has for example test-compile (compile the unit tests) and compile (compiling your production code. And further steps are running the unit tests and finally packaging your production code into a jar file.
It's not a good idea to use maven-antrun-plugin (only in very very very very rare cases).
Via mvn release:prepare release:perform or via mvn deploy (for SNAPSHOTs)
I recommend reading Books about Maven in particular Maven by Example and Maven: The Complete Reference
If you are working for a company you should think hard about setting up a repository manager (for example Nexus or Archiva etc.).