You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nicolas Delsaux <ni...@gmail.com> on 2013/03/08 14:36:34 UTC

maven-shade-plugin unable to create a new artifact ?

Hi,
last week, i tried to use maven-shade-plugin to produce from an
artifact A a shaded artifact that I would have liked to name B.
Unfortunatly, it seems the ShadeMojo property "shadedArtifactId" is
not used in source code, making it useless.
I didn't created an issue yet, because i wanted to ahve an inside
information before all.
So, to all devs having worked on that module (SVN history of the 2.0
version tells me they are hboutemy, bimargulies, olamy and bentman -
svn logins), can someone explain me how to fix that bug - if fixable ?
>From what i understand, it's mainly a question of using
projectHelper#attachArtifact to attach the shaded pom. Unfortunatly,
it seems projectHelper depends upon the current artifact and can't be
changed.
So, in such a context, how can I create a "new" projectHelper for my
new artifactId and use it to attach the shaded jar ?

PS  I have not yet entered the issue in bug tracker, mainly because I
want to be sure that feature ahs not been intentionally removed.

Thanks

-- 
Nicolas Delsaux

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