Re: maven-shade-plugin classpath

2012-03-08 Thread Ron Wheeler
This is POM that we used to build a batch job that modified the database that was supporting a 60 WAR LMS project. A lot of the dependencies were on code that was shared across a lot of WAR projects I hope that the POM and the jar-with-dependencies-assembly.xml file listings help you As you ca

Re: maven-shade-plugin classpath

2012-03-08 Thread Ryan Wexler
On Thu, Mar 8, 2012 at 11:29 AM, Ron Wheeler wrote: > A Maven parent does not contain any code but manages default setting for > a project (versions of dependencies and deployment specifications) but I > think that I understand what you might mean. > > I am using that word "parent" incorrectly i

Re: maven-shade-plugin classpath

2012-03-08 Thread Ron Wheeler
A Maven parent does not contain any code but manages default setting for a project (versions of dependencies and deployment specifications) but I think that I understand what you might mean. It looks like you should have one or more code projects that produce jars that are dependencies for oth

Re: maven-shade-plugin classpath

2012-03-08 Thread Ryan Wexler
Essentially I have a source code module and dependencies in a parent project as a jar. There are several projects which depend on it. For instance it is used in a war project. Another project that depends on it needs to produce am executable jar from the same code and the manifest needs to refere

Re: maven-shade-plugin classpath

2012-03-08 Thread Ron Wheeler
Sound interesting but what are you trying to make in the end? What is the 30,000 ft view of the problem? Ron On 08/03/2012 12:03 PM, Ryan Wexler wrote: On Thu, Mar 8, 2012 at 8:36 AM, Wayne Fay wrote: I would also like to add the classpath and set a classpathprefix like you can do using the

Re: maven-shade-plugin classpath

2012-03-08 Thread Ryan Wexler
On Thu, Mar 8, 2012 at 8:36 AM, Wayne Fay wrote: > > I would also like to add the classpath and set a classpathprefix like you > > can do using the normal maven jar. > >true > >lib/ > > > > Is there a way to do this with the shade plugin? > > Generally, the thinking with Shade is that you

Re: maven-shade-plugin classpath

2012-03-08 Thread Wayne Fay
> I would also like to add the classpath and set a classpathprefix like you > can do using the normal maven jar. >    true >    lib/ > > Is there a way to do this with the shade plugin? Generally, the thinking with Shade is that you are building an "uber-jar" that is going to contain the contents

maven-shade-plugin classpath

2012-03-07 Thread Ryan Wexler
I am using the ManifestResourceTransformer of the maven shade plugin to create an executable jar from an existing jar. I would also like to add the classpath and set a classpathprefix like you can do using the normal maven jar. true lib/ Is there a way to do this with the shade plugin? t