I'm trying to package all of the compiled code of several modules into 1 jar 
but I can't seem to figure out the assembly plugin.  I tried including this in 
my parent pom:

<build>
..
<plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.0-beta-1</version>
</plugin>
</build>

And executing this command line that I found on the maven site somewhere:

mvn assembly:assembly -DprojectModulesOnly=true -DdescriptorId=bin

However it tells me I need a descriptorId, which I specified.  Plus "bin" isn't 
really what I want, I just want a jar file of my code only, not any config 
files or dependent jars.  

As a side note, is there any task to run to update all maven plugins?  When 
working with this and my failed attempt at aggregating javadocs for my project 
(looks like I am sticking with ant for that part) I had to specify a version so 
maven could download the latest plugin.  I guess somehow it was using a 1.0 
plugin even though I thought the latest plugins would be in the distribution I  
downloaded.

Reply via email to