You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Túlio Gomes <tu...@hotmail.com> on 2016/12/08 11:11:28 UTC
maven-shade-plugin and classifiers
Hi there,
I’m having some trouble while working with maven-shade-plugin, profiles and classifiers.
I need my classified jar to be an input to the shade plugin. Currently only the main artifact is an input.
If i change the execution id of maven-jar-plugin to “default-jar”, the following error is thrown:
“Failed to create shaded artifact, project main artifact does not exist.”
Is there any option that i can use that take my classified jar in consideration?
Thanks in advance.
Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10
Re: maven-shade-plugin and classifiers
Posted by Robert Scholte <rf...@apache.org>.
Hi,
If you only have to shade an attached artifact I wonder if your project
setup is correct.
Without knowing the details I would expect that this classified jar should
be a separate module in a Maven multimodule project
Robert
On Thu, 08 Dec 2016 12:11:28 +0100, Túlio Gomes <tu...@hotmail.com>
wrote:
> Hi there,
>
> I’m having some trouble while working with maven-shade-plugin, profiles
> and classifiers.
>
> I need my classified jar to be an input to the shade plugin. Currently
> only the main artifact is an input.
>
> If i change the execution id of maven-jar-plugin to “default-jar”, the
> following error is thrown:
>
> “Failed to create shaded artifact, project main artifact does not exist.”
>
> Is there any option that i can use that take my classified jar in
> consideration?
>
> Thanks in advance.
>
> Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para
> Windows 10
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org