Re: Launch an application from the commandline

2006-02-08 Thread jerome lacoste
On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > 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, > >> e

RE: Launch an application from the commandline

2006-02-05 Thread Treloar, Barrie (SAPOL)
> > Found it, I think: > http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/exec-maven- > plugin/0.4-SNAPSHOT/ > > However, I didn't have any luck convincing Maven to download it from > there. I tried adding: > > > codehaus-snapshot > Codehaus Snapshot Repository >

Re: Launch an application from the commandline

2006-02-03 Thread Wendy Smoak
On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > True. However, even with the 's' in place it's still not working because > Maven doesn't know about that plugin. What's the dependency snippet I need > to install it? Found it, I think: http://snapshots.maven.codehaus.org/maven2/org/codehau

Re: Launch an application from the commandline

2006-02-03 Thread Darryl L. Pierce
Wendy Smoak wrote: > On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: >> jerome lacoste wrote: > >> 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

Re: Launch an application from the commandline

2006-02-03 Thread Wendy Smoak
On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > jerome lacoste wrote: > 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] arti

Re: Launch an application from the commandline

2006-02-03 Thread Darryl L. Pierce
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 s

Re: Launch an application from the commandline

2006-02-02 Thread jerome lacoste
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,

Re: Launch an application from the commandline

2006-02-02 Thread Julian Wood
I did this using antrun, and putting it in a profile. Note that it always packages your app first, before running, when attached in this way. >mvn -Dimagemap=true package run-imagemap-profile imagemap