You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/07/16 18:37:20 UTC

[jira] [Created] (MSHADE-231) Multiple shade artifacts + reduced pom from the same artifact

Romain Manni-Bucau created MSHADE-231:
-----------------------------------------

             Summary: Multiple shade artifacts + reduced pom from the same artifact
                 Key: MSHADE-231
                 URL: https://issues.apache.org/jira/browse/MSHADE-231
             Project: Maven Shade Plugin
          Issue Type: Improvement
            Reporter: Romain Manni-Bucau


Hi guys,

in tomee we create several flavors of tomee-embedded from tomee-embedded module.

We basically deploy:

- tomee-embedded normal jar
- tomee-embedded "uber" shade
- tomee-embedded "jaxws" shade
- tomee-embedded "jaxrs" shade

We would add few more flavors if we can solve this issue: we can't get reduced pom and attach it to let our users depend on the reduced pom.

Best would be to:

1- have the reduced pom created in target/
2- attach it to deploy it with another artifact (to avoid pom conflicts)

is that something mvn-shade could do?

Here is the pom: https://github.com/apache/tomee/blob/master/tomee/tomee-embedded/pom.xml#L55

Side note: the obvious fix it to define 1 pom by shade but it would make the maintenance harder for us and create inconsistencies long term.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)