I really do not understand any of the documentation related to the
<execution> plugin.

If I do something like:
  $mvn -P deploy

I need to:
 1. build the project (meaning I just want target/myproj.jar to exist
 2. Run a java program like:   $java -jar target/myproj.jar <some_options>

so I want to create a profile that will do both.  I realize that simply $mvn
install will build the target/myproj.jar but how would I add that to a maven
profile so that it does both the mvn install and runs $java -jar
target/myproj.jar <opts>

?

Any help would be appreciated, all of the documentation and examples I have
tried are not leading me to a solution.



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-profiles-question-tp5773102.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to