Re: assemble a huge JAR

2007-06-06 Thread Ben Rohlfs
On 6/6/07, Kalle Korhonen [EMAIL PROTECTED] wrote: Try outputDirectory/../outputDirectory inside dependencySet. Does not work. - Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: assemble a huge JAR

2007-06-06 Thread Vandermeeren, Jo
Hi Ben, If you want to bundle all your dependencies in one jar, you could use the prefabricated jar-with-dependencies descriptor instead. http://maven.apache.org/plugins/maven-assembly-plugin/usage.html Check out a previous post: http://www.mail-archive.com/users@maven.apache.org/msg65381.html

Re: assemble a huge JAR

2007-06-06 Thread Ben Rohlfs
Thanks Jo, it works indeed, but ... ... the root of the problem was that I started assembly:assembly from the parent project and not the project itself. From the parent you may want to arbitrarily combine modules, which the moduleSet seems to be for. My experience leads me to the conclusion

Re: assemble a huge JAR

2007-06-06 Thread John Casey
in the dependencySet, try outputFileNameMapping / This is something we need to correct in 2.2-beta-2, since it's an inconsistency with 2.1. Also, just a reminder that you should definitely think about being explicit with the version of assembly plugin in your POM, since it has undergone

Re: assemble a huge JAR

2007-06-06 Thread John Casey
On Jun 6, 2007, at 8:01 AM, Ben Rohlfs wrote: Thanks Jo, it works indeed, but ... ... the root of the problem was that I started assembly:assembly from the parent project and not the project itself. From the parent you may want to arbitrarily combine modules, which the moduleSet seems to be

assemble a huge JAR

2007-06-05 Thread Ben Rohlfs
Hi, I want to build an unsual JAR with the maven-assembly-plugin und after hours of trying I cannot figure out how to do it. I have a Maven project myproject which is dependent on a library mylibrary. I want to build a JAR file containing both the class files of the project and the class files

Re: assemble a huge JAR

2007-06-05 Thread Kalle Korhonen
Try outputDirectory/../outputDirectory inside dependencySet. Kalle On 6/5/07, Ben Rohlfs [EMAIL PROTECTED] wrote: Hi, I want to build an unsual JAR with the maven-assembly-plugin und after hours of trying I cannot figure out how to do it. I have a Maven project myproject which is dependent