put the configuration for the shade plugin in pluginManagement and then just reference the sade plugin in the modules you want to use shade in
On 28 June 2010 13:51, MartyMcFly <[email protected]> wrote: > > Hi, > > I have a multimodule project for which I want to use the shade plugin. All > is configured in the parent pom. > > Running on the parent with "mvn clean package" fails with > > Replacing null with > > d:\workspace-maven\assemblies\parent\target\parent-0.0.1-SNAPSHOT-shaded.pom > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating shaded jar: null > > so how do I need to configure the plugin to not shade the parent as its not > a jar but a pom ? > > Thanks > Marty > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Shade-plugin-on-Multimodule-projects-tp511665p511665.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
