This plugin did the trick, thank you very much. The documentation is really strange, but I got it :)
For interested Readers: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <executable>java</executable> <arguments> <argument>-jar</argument> <argument>target/${name}.${packaging}</argument> </arguments> </configuration> </plugin> Thank you very much! Regards, Uli -----Ursprüngliche Nachricht----- Von: Christian Schulte [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 00:37 An: Maven Users List Betreff: Re: Execution of the *.jar-File after successful building of package possible? Ulrich Wolf wrote: > Hello, > > when I build my project with the goal "package" I get a *.jar-File, which I > have to execute manually after the compilation & packaging. Is there any way > to automatically execute this file directly after maven has completed this > task? The exec-maven-plugin can do this, I think. <http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html> -- Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]