Hi Yes, the exec plugin should do the job...
The plugin is hosted at: http://mojo.codehaus.org/exec-maven-plugin/ To run "MainClass" in the current VM with the enclosing project's dependencies as classpath: mvn exec:java -Dexec.mainClass="com.company.app.MainClass" There is an open issue which prevents passing command line paramters through this plugin: http://jira.codehaus.org/browse/MEXEC-5 Patrick On 02/11/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
Probably the exec plugin could help with this, but I also use Ant for this kind of thing. Wayne On 11/1/06, Alexander Sack <[EMAIL PROTECTED]> wrote: > I actually use ANT to do this dirty work for me. Not sure if there is such > a thing... > > -aps > > On 11/1/06, Dudu <[EMAIL PROTECTED]> wrote: > > > > What is the Maven 2 pluginto run the main class of a desktop application? > > > > > > > -- > "What lies behind us and what lies in front of us is of little concern to > what lies within us." -Ralph Waldo Emerson > > --------------------------------------------------------------------- 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]
