Am 17.10.2015 um 20:54 schrieb Glenn Brown <[email protected]>:
> 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 I would like to create a goal or something else, which can be optional run, to build a complex package with the Jar. This package command is running at the moment on the command line, so I would like to integrate it within the maven lifecycle. At the moment I run mvn (with default package) build with echo a XML with the Maven definitions run build command of the external package tool with input the path of the XML and the path of the Jar file I would like to integrate the last two command e.g. in a call like "mvn externalpackage“. At the moment I run with exec-maven-plugin in the exec-goal some commands to build resource files, so which goal should be the best to do the external packaging? Can I use the exec-maven-plugin for this? Thanks Phil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
