Yes you want to use Assembly plugin. Here's an example:

<build><plugins>
           <plugin>
               <artifactId>maven-assembly-plugin</artifactId>
               <configuration>
                   <!--descriptorId>jar-with-dependencies</descriptorId-->
                   <descriptorRefs>
                     <descriptorRef>jar-with-dependencies</descriptorRef>
                   </descriptorRefs>
                   <archive>
                       <manifest>
                           <mainClass>ggg.MainApp</mainClass>
                       </manifest>
                   </archive>
               </configuration>
           </plugin>

Btw regarding that commented out descriptorId thing... apparently it
just recently got changed to descriptorRefs, but I haven't used it
since it changed so I'm just going on what I've seen reported here on
the user list...

HTH.
Wayne

On 4/21/06, Subhash Chandran <[EMAIL PROTECTED]> wrote:
> I don't know about Spring... but uf u meant bundle of all dependencies
> packaged as a single Jar, u may look at the Maven Assembly plugin:
>
> http://maven.apache.org/plugins/maven-assembly-plugin/
>
> Regards,
> Subhash.
>
> On 4/21/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> >
> > Is there a plugin that can create a consolidated jar?  This would be
> > like the spring.jar, which they distribute in addition to spring-core,
> > spring-jdbc, etc.
> >
> > Thanks,
> > --
> > Wendy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Regards,
> Subhash Chandran S
>
> Cross platform OpenSource Java based file encryption software:
> http://www.WizTools.org/project/WizCrypt/
>
>

Reply via email to