Kowalski Pawel wrote: > Hello > > I'd like to have all jars stated in maven's project.xml dependencies > > <dependencies> > <dependency> > <id>grappa</id> > <version>1_2</version> > <url>http://www.research.att.com/~john/Grappa</url> > </dependency> > ... > ... > </dependencies> > > included in the distribution (e.g ./lib/grappa-1.2.jar) and in the Manifest > file included in dist jar > (Class-Path: . lib/grappa-1.2.jar) so that the user of my project needn't to > install maven and has > all dependencies delivered together with the distribution. > > Can maven handle this by default, or do I have to write my own goals?
Are you building a WAR? If so, take a look at the 'bundle.war' property of the dependencies (when in doubt, grep maven sources). I'm not sure if the deps are automatically included in the manifest, but it's quite probable. J2EE plugins are rather broken at the moment (AFAIK) so it may be may take a bit of time and patience to get them to work... Good luck, R. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
