Comments inline, -- Yann
2006/1/11, Darren Hartford <[EMAIL PROTECTED] >: > > I mis-spoke earlier, the assembly doesn't seem to do what I would want. > > I did try this: > Pom.xml > =============== > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>dependency-maven-plugin</artifactId> > <executions> > <execution> > <id>copy-dependencies</id> > <phase>compile</phase> > <goals> > <goal>copy-dependencies</goal> > </goals> > <configuration> > > <outputDirectory>src/main/resources/lib</outputDirectory> > </configuration> > </execution> > </executions> > </plugin> > ================ > > But even though I specify it in the compile-phase, the /lib dir is NOT > included in the package...until the SECOND time package is run. Is that > a bug? I think this is because the 'compile' phase happens too late. Try 'generate-resources' http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Also, there doesn't seem to be a configuration for <scope>, should there > be or is that not the intent of this plugin? http://jira.codehaus.org/browse/MOJO-213 -D > > > -----Original Message----- > > From: Yann Le Du [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 10, 2006 5:52 PM > > To: Maven Users List > > Subject: Re: [m2] copy contents of maven.runtime.classpath > > for packaging > > > > Hi Darren, > > > > Maybe you can use > > http://mojo.codehaus.org/dependency-maven-plugin/ in a phase > > before the one where you run your ant-run ? > > > > HTH, > > -- > > Yann > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
