There is something called the exec plugin I believe and I think something also called the app-builder. Try searching using the google search on the maven.apache.org page. The dependency plugin can output the classpath to a file for later execution.
-----Original Message----- From: siegfried [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 6:13 PM To: 'Maven Users List' Subject: How to fabricate class path and execute program from Maven (RE: How to run maven goals from Eclipse?) I believe Carlos already responded to my question below. I think he said to google search for the plug in (I could not find his response, maybe I deleted it). Well I did some searching and successfully demonstrated the anttasks features at http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttrib utes .html. This is close, but not exactly what I had in mind: this will allow me to execute additional commands as part of an existing goal like test or compile or deploy. Since I'm not allowed to create a custom goal like "execute", is there a plug-in that I can invoke like (see http://maven.apache.org/guides/plugin/guide-java-plugin-development.html ) "mvn hello:execute". This seems like a very easy plug in to write and I'm surprised I am having such a hard time finding it. Surely someone has already written this? What should I search for? I tried ant, execute, run, and no luck so far. Thanks, Siegfried > (3) Now in the Maven 1 book (that one with the purple cover from the > Developers Notebook series), there was a jelly script to fabricate the class > path so I could run a java application implemented in the maven project. Is > there a maven plug-in counter part to this jelly script so I can see my main > programs run? Will that same jelly script still run in Maven 2? > --------------------------------------------------------------------- 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]