Hi, I would say this is more a task for the assembly plugin. A jar file should only contain folders that correspond to packages.
Regards, Marcel ----- Original Message ---- From: David J. M. Karlsen <[EMAIL PROTECTED]> To: Maven Users List <[email protected]> Sent: Friday, May 25, 2007 9:54:23 PM Subject: Re: Jar mojo. Adding a classes folder to the produced jar file Tommy Holm - TELMORE wrote: > Hi. > I need to create a classes folder in the root of the produced jar file > and to move all class files into the classes folder, is that possible by > configuration or do I need to write my own plugin ? > Thx > Cheers > > Kind Regards > > Tommy Holm, Senior Developer > TELMORE A/S > Carl Gustavsgade 3, 2630 Taastrup > Telefon +45 43327032, Mobil +45 22582344 > www.telmore.dk > Hmm, seems like the jar-plugin can only point to one given directory: http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html You wil probably have to hack around with the ant-plugin and some jar-tasks. Please open a JIRA feature request to be able to add several directories. Build-helper-plugin might help you if it applies for your use-case: http://mojo.codehaus.org/build-helper-maven-plugin/howto.html -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
