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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to