Hi all,

thanks for your replies. The exec-maven-plugin works fine for me!
Great Plugin :-)

Cheers,
Martin

Marc Wilhelm schrieb:
Hi Martin,

Do you have tried out the maven-exec-plugin from codehaus
http://mojo.codehaus.org/exec-maven-plugin/introduction.html?

I think, the goal you are searching for is "exec:java":

mvn exec:java -Dexec.mainClass="com.example.Main"

Cheers,
Marc

-----Ursprüngliche Nachricht-----
Von: Martin Bengl [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 28. Januar 2007 22:18
An: Maven Users List
Betreff: Searching for "maven start plugin"?


hello folks,

building java apps with maven is fun. but i'm asking myself if there is a way to execute artifacts with maven using the dependency information (from pom.xml) to build the runtime classpath.

i create some SWT application with maven and would like to do some "mvn start" in the applications root directory (there is the pom.xml). So i need not write a bash script for executing the programm.

Is there a way to do this?
Do you know such a plugin?

Cheers
martin

---------------------------------------------------------------------
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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to