You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Willem van Engen <wv...@nikhef.nl> on 2011/04/21 17:21:40 UTC

shade plugin doesn't create dependency reduced pom

Hello,

When using maven-shade-plugin to create an uberjar I'm missing the
dependency reduced pom, even when createDependencyReducedPom is set to
true. I want to use this to create a java web start project it.
Is this a bug or am I missing something?

https://github.com/wvengen/jGridstart/blob/master/jgridstart-small/pom.xml

Regards,
- Willem

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: shade plugin doesn't create dependency reduced pom

Posted by Willem van Engen <wv...@nikhef.nl>.
After more investigation it appears that the dependency-reduced pom is
only created when shadedArtifactAttached is false. This can also be seen
in its sourcecode:
http://mojo.codehaus.org/shade-maven-plugin/xref/org/codehaus/mojo/shade/mojo/ShadeMojo.html#186
Why I don't really understand but this explains it.

- Willem

On 04/21/2011 05:21 PM, Willem van Engen wrote:
> Hello,
> 
> When using maven-shade-plugin to create an uberjar I'm missing the
> dependency reduced pom, even when createDependencyReducedPom is set to
> true. I want to use this to create a java web start project it.
> Is this a bug or am I missing something?
> 
> https://github.com/wvengen/jGridstart/blob/master/jgridstart-small/pom.xml
> 
> Regards,
> - Willem


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org