Used in this way, the assembly plugin is like the m1 javaapp plugin. There is no equivalent of uberjar in m2 (because it really didn't work very well). jarjar and minijar (also in the mojo sandbox), do similar things to the assembly plugin but also cull out unused classes and rewrite the packages so they don't conflict with other dependencies.
- Brett On 3/8/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: > I use the assembly plugin like this: > > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <configuration> > <descriptorId>jar-with-dependencies</descriptorId> > <archive> > <manifest> > <mainClass>ggg.MainApp</mainClass> > </manifest> > </archive> > </configuration> > </plugin> > > > Because I have dependency on some signed jars (acegi for one), > I still need to delete /META-INF/*.SF *.RSA files with winrar > afterwards. There is an issue for that in JIRA. > > Artamonov, Juri wrote: > > Hi All, > > > > Guys, could you please give a summary of what plugin is recommended for > > using to have executable jar? > > > > As I see (per comments in IRC) the result jar that I get after using > > assembly plugin in m2 is not the same as result jar that I get after > > using uberjar plugin in m1. > > > > Also seems uberjar is available only for m1. Someone mentioned javaapp > > plugin but as I see it's available for m1 as well only. > > > > Emmanuel Venisse pointed me in IRC to jarjar-maven-plugin but according > > to him seems the plugin is in not working state. > > > > http://svn.codehaus.org/trunk/mojo/mojo-sandbox/jarjar-maven-plugin/?roo > > t=mojo > > > > So, could you please recommend the plugin for m2, which will result the > > same executable jar as get after using uberjar plugin in m1, of cource > > if it's exists? > > > > Best regards, > > Juri. > > -- > With kind regards, > Geoffrey De Smet > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
