[ 
https://issues.apache.org/jira/browse/MSHADE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MSHADE-117.
--------------------------------------
    Resolution: Won't Fix
      Assignee: Karl Heinz Marbaise

There are enough other options. 

> Add war packaged artifact support
> ---------------------------------
>
>                 Key: MSHADE-117
>                 URL: https://issues.apache.org/jira/browse/MSHADE-117
>             Project: Maven Shade Plugin
>          Issue Type: Story
>    Affects Versions: 1.5
>            Reporter: Pierre Le Roux
>            Assignee: Karl Heinz Marbaise
>
> When shade plugin is executed on war packaged artifact, it generates a war 
> package.
> It could be interesting to add a parameter in configuration. For example : 
> <packaging> or <targetPackaging>.
> If <targetPackaging> has *war" value, some specific mecanisms could be done :
> * no jar storage in WEB-INF/lib. Same as :
>   {code}
>   <transformer 
> implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
>       <resource>.jar</resource>
> </transformer>
>   {code}
> * WEB-INF classes directory content should be stored in jar root directory. 
> Same as following code (if MSHADE-116 is done) :
>   {code}
> <filter>
>       <artifact>*:*</artifact>
>       <excludes>
>               <exclude>WEB-INF/classes/**</exclude>
>       </excludes>
> </filter>
> ...
> <transformer 
> implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
>       <resource>.</resource>
>       <directory>${project.build.directory}/classes</directory>
> </transformer>
>   {code}
> If needed, i can contribute to this feature.



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

Reply via email to