executable uberjar

2009-11-04 Thread maven_newbie99
Hi Folks, I have figured out how to create a single .JAR file that contains all my dependencies. Using minijar:ueberjar I can extract all needed classes from the .JAR dependencies and include only those classes that are really referenced by my project. So far so good. With the old method of crea

Re: Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Please forget about my last post. I have had, for some copy/paste reason, the following lines in my .pom: org.apache.maven.plugins maven-dependency-plugin 2.1 which caused all these maven-specific libs to be added to the target. Sorry. Best regards, Frank maven_newbie99 wrote

Re: Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Nov 4, 2009 at 7:09 AM, maven_newbie99 wrote: >> >> second: is it possible not to include the whole dependent JARs but only >> those classes within my dependencies that I really use in my code? > > Try http://mojo.codehaus.org/minijar-maven-plugin/ > > -- > There are 10 type

Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Hi all, I'm a Maven Newbie, so please forgive me if you find my question stupid. In my project I use libraries such as Apache commons-collections and many more. When I create an executable .JAR file of my project using the org.apache.maven.plugins:maven-jar-plugin:2.2:jar Goal, which I configur