Re: own target / goal after packaging

2015-10-17 Thread Philipp Kraus
Am 17.10.2015 um 20:54 schrieb Glenn Brown : > You use plugins and define executions to hang off those phases. In your > case I would use the maven exec plugin and probably attach it to the > integration test phase Okay I should describe the problem a little more detailed. I build my Jar and

Re: own target / goal after packaging

2015-10-17 Thread Glenn Brown
I think you misunderstand the maven lifecycle. Maven has a default lifecycle that is described here https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html. You use plugins and define executions to hang off those phases. In your case I would use the maven exec plugin and pr

own target / goal after packaging

2015-10-17 Thread Philipp Kraus
Hello, I would like to create an own goal / target, that is run after the packaging goal. At the moment my default target is package, so I get a Jar file, so I would like to create an optional call „mvn executepackage“, which can be run after package. The goal should run a defined shell command