[ https://jira.codehaus.org/browse/MSHADE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299203#comment-299203 ]
Pierre Le Roux commented on MSHADE-117: --------------------------------------- It's not exactly the same issue. MSHADE-87 purposes to build a package according to artifact packaging type standards. I purposed to generate a "shade" package with a different packaging type. for example, my module is a war packaging artifact and i want to generate a jar shade package. MSHADE-87 and MSHADE-117 can relate each other but are different needs. > Add war packaged artifact support > --------------------------------- > > Key: MSHADE-117 > URL: https://jira.codehaus.org/browse/MSHADE-117 > Project: Maven 2.x Shade Plugin > Issue Type: Story > Affects Versions: 1.5 > Reporter: Pierre Le Roux > > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira