[ 
https://issues.apache.org/jira/browse/MSHADE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999185#comment-16999185
 ] 

Romain Manni-Bucau commented on MSHADE-231:
-------------------------------------------

[~elharo] MavenProjectHelper.attach ;), or "added to installed/deployed 
artifacts"

> 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
>            Priority: Major
>
> 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
(v8.3.4#803005)

Reply via email to