Re: M2 classpath generation

2007-06-06 Thread Jon Strayer
Excellent! Thank you very much. I was assuming that since I had run mvn package that I could leave package out of the appassembler run. On 6/6/07, Steven Rowe <[EMAIL PROTECTED]> wrote: Hi Jon, This JIRA issue sounds similar: Also, you should

Re: M2 classpath generation

2007-06-06 Thread Steven Rowe
Hi Jon, This JIRA issue sounds similar: Also, you should be running this goal like so: mvn package appassembler:assemble Steve Jon Strayer wrote: > I'm getting this exception when I try mvn appassembler:assemble > > [INFO] Trace > java.lang.N

Re: M2 classpath generation

2007-06-06 Thread Jon Strayer
I'm getting this exception when I try mvn appassembler:assemble [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install( DefaultArtifactInstaller.java:71) at org.codehaus.mojo.appassembler.AssembleMojo.installArtifact( Ass

Re: M2 classpath generation

2007-06-06 Thread Steven Rowe
This Appassembler plugin will do this and more: http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/ Jon Strayer wrote: > I'm currently using maven 2. Most of our applications are batch > applications that run from cron via a bash script. I've written a > plugin that (among other t

M2 classpath generation

2007-06-06 Thread Jon Strayer
I'm currently using maven 2. Most of our applications are batch applications that run from cron via a bash script. I've written a plugin that (among other things) will read through the pom and generate a file that sets the class path correctly for this application. Is there anything like this f