Hi, It's a jar. I guess I'm too used to the atlassian confluence plugin architype (?) which generates a jar with all the dependencies. Is there some sample assembly plugin code to do this? I.e. "Take the jars from the repository, unpack, and create one big jar"... Thought it would be quite a common requirement?
John > -----Original Message----- > From: Ulhas Bhole [mailto:[email protected]] > Sent: 19 March 2009 12:23 > To: [email protected] > Subject: Re: Maven2 not including dependent jars > > Hi John, > > What is the type of the final artifact package you are trying > to generate? If packaging is jar I don't think it will bundle > dependencies you will need to have your own assembly and use > maven-assembly-plugin with some configuration to specify what > you need to include. If your packaging type is war it should > bundle all the dependencies that are not scoped as provided or test. > > Regards, > > Ulhas Bhole > > [email protected] wrote: > > Hi, > > > > Where's the first point of call in determinig why mvn > package is not > > including dependent jars in the target jar? > > > > My pom is very simple and the dependencies are listed as follows: > > > > <dependencies> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring-core</artifactId> > > <version>2.5.6</version> > > </dependency> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring-beans</artifactId> > > <version>2.5.6</version> > > </dependency> > > > > > > > > John > > _______________________________________________ > > > > This e-mail may contain information that is confidential, > privileged or otherwise protected from disclosure. If you are > not an intended recipient of this e-mail, do not duplicate or > redistribute it by any means. Please delete it and any > attachments and notify the sender that you have received it > in error. Unless specifically indicated, this e-mail is not > an offer to buy or sell or a solicitation to buy or sell any > securities, investment products or other financial product or > service, an official confirmation of any transaction, or an > official statement of Barclays. Any views or opinions > presented are solely those of the author and do not > necessarily represent those of Barclays. This e-mail is > subject to terms available at the following link: > www.barcap.com/emaildisclaimer. By messaging with Barclays > you consent to the foregoing. Barclays Capital is the > investment banking division of Barclays Bank PLC, a company > registered in England (number 1026167) with its registered > office at 1 Churchill Place, London, E14 5HP. This email may > relate to or be sent from other members of the Barclays Group. > > _______________________________________________ > > > > > _______________________________________________ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. _______________________________________________
