I use configs
<!--<plugin>-->
<!--<artifactId>maven-assembly-plugin</artifactId>-->
<!--<configuration>-->
<!--<descriptorRefs>-->
<!--<descriptorRef>jar-with-dependencies</descriptorRef>-->
<!--</descriptorRefs>-->
<!--<archive>-->
<!--<manifest>-->
<!--<mainClass>agost.jetty.Launcher</mainClass>-->
<!--</manifest>-->
<!--</archive>-->
<!--</configuration>-->
<!--<executions>-->
<!--<execution>-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>single</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-shade-plugin</artifactId>-->
<!--<version>1.6</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>shade</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!--<transformers>-->
<!--<transformer-->
<!--implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">-->
<!--<mainClass>agost.jetty.Launchercher</mainClass>-->
<!--</transformer>-->
<!--</transformers>-->
<!--</configuration>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
2012/8/25 Aliaksei Lahachou <[email protected]>
> Hi,
>
> take a look on maven-shade-plugin. I believe it's simpler if you only need
> to build an uber-jar.
>
>
> Regards,
> htfv (Aliaksei Lahachou)
>
>
> On Sat, Aug 25, 2012 at 7:19 AM, Barrie Treloar <[email protected]>
> wrote:
>
> > On Sat, Aug 25, 2012 at 5:44 AM, jpyork <[email protected]>
> wrote:
> > > Hello I am a bit new to Maven and have taken over a build from a
> departed
> > > employee that uses Maven. The issue is that he over complicated it
> with
> > vb
> > > scripts and other items, but I have finally got the project to build
> with
> > > just executing a parent POM file. The issue I have now is that I have
> 6
> > > internal modules that we build and they all produce jars in different
> > > locations, but I want to be able to bring them all together in one
> > location
> > > and then package them all together for one big jar file. I have been
> > adding
> > > things to the chile POM's without success.
> > >
> > > Anyone got a way to do this?
> >
> > http://lmgtfy.com/?q=one+big+jar+maven
> >
> > Look at the assembly plugin.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>