Assembly can't be run as part of the build lifecycle. You can get this functionality using the dependency plugin at the mojo site: http://mojo.codehaus.org
-----Original Message----- From: Scokart Gilles [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 4:21 AM To: Maven Users List Subject: RE: About the "package" goal Look at the assembly plugin. > -----Original Message----- > From: Luiz Eduardo Guida Valmont [mailto:[EMAIL PROTECTED] > Sent: 27 December 2005 00:33 > To: users@maven.apache.org > Subject: About the "package" goal > > Hi everyone, > > I'm working on a simple command-line project and it has log4j as one > of its dep's. As I didn't find (or wasn't able to find, so to say) any > documentation on the subject, here is my question: how can I package > log4j along with my project's classes in the jar generated by the > "package" target? I know how I should setup the main class for the > jar, but I still cannot package loj4j along. > > I can bundle the lo4j-1.2.12.jar as a resource and that'd be the end > of it, but that would be far from "elegant" (as I would have to keep > track of changes in the pom.xml (if I decided to change to > log4j-1.3.jar I'd have to copy it over). > > Sorry if this is a question of old. I'd appreciate if anyone would > just point me links that I can follow. ;-) > > Thanks in advance, > Luiz Eduardo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]