Thanks and hope you have a good trip !!!
J Jo Vandermeeren wrote: > > Javier, > > The maven-assembly-plugin can do that for you.. > http://maven.apache.org/plugins/maven-assembly-plugin/ > > Here's a snippet to add to your build plugins: > > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <configuration> > <descriptorRefs> > > <descriptorRef>jar-with-dependencies</descriptorRef> > > </descriptorRefs> > </configuration> > <executions> > <execution> > <id>make-assembly</id> > <phase>package</phase> > <goals> > <goal>attached</goal> > </goals> > </execution> > </executions> > </plugin> > > Cheers.. and now I'm off to catch my flight to thailand! :) > Jo > > On 4/25/07, JavierL <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi >> >> My application is a jar file and when I run mvn package it generates my >> jar >> ok. >> >> But I need to distribute my app with all the related jar dependencies so >> I >> wonder how could I do it with maven2.. >> >> Actually, I did an ant task that at package cycle copy my project >> depdenciens from mvnrepository to a lib folder inside target folder. It >> works well but force me to make the list of files to be copied by hand. I >> want to see maven doing this job automatically... >> >> Is this posible ? >> >> Thanks in advance >> J >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/jar-with-dependencies-in-a-folder-tf3644333s177.html#a10177639 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/jar-with-dependencies-in-a-folder-tf3644333s177.html#a10177928 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
