jerome lacoste wrote: > On 2/2/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: >> I would like to be able to run an application from the commandline using >> Maven. The ideal thing would be for Maven to create the command line, >> especially the classpath, given that it knows my dependencies. Is such a >> thing possible and, if so, how? Thanks. > > The Execute plugin was created for that. You will find it in mojo-sandbox. > > http://mojo.codehaus.org/exec-maven-plugin/introduction.html
How do I set the dependency in my pom.xml file? I don't see an example of that anywhere and when I incorporate your example, Maven complains that it can't find it. [INFO] Scanning for projects... [INFO] artifact org.codehau.mojo:exec-maven-plugin: checking for updates from ibiblio [INFO] artifact org.codehau.mojo:exec-maven-plugin: checking for updates from central [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] The plugin 'org.codehau.mojo:exec-maven-plugin' does not exist or no valid version could be found -- Darryl L. Pierce <[EMAIL PROTECTED]> Homepage: http://mcpierce.multiply.com/ "McVeigh's lawyer got him the death penalty, which, quite frankly, I could have done." - Jon Stewart --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]