[ https://jira.codehaus.org/browse/MSHADE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Davis closed MSHADE-131. ------------------------------ Resolution: Not A Bug Ok, after doing more playing around I discovered that not using outputFile and leaving shadedArtifactAttached does behave as one might expect. > Attaching of shaded jar does not happen > --------------------------------------- > > Key: MSHADE-131 > URL: https://jira.codehaus.org/browse/MSHADE-131 > Project: Maven 2.x Shade Plugin > Issue Type: Bug > Affects Versions: 1.5, 2.0 > Environment: Kubuntu 12.04, Oracle Java 1.6.0_26, Maven 3.0.3 > Reporter: James Davis > > With the following plugin configuration: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-shade-plugin</artifactId> > <executions> > <execution> > <phase>package</phase> > <goals> > <goal>shade</goal> > </goals> > <configuration> > > <outputFile>${project.build.directory}/${project.build.finalName}-executable.jar</outputFile> > <transformers> > <transformer > implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> > <resource>META-INF/spring.handlers</resource> > </transformer> > <transformer > implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> > <resource>META-INF/spring.schemas</resource> > </transformer> > <transformer > implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> > <mainClass>my.example.Main</mainClass> > </transformer> > </transformers> > <shadedArtifactAttached>true</shadedArtifactAttached> > <shadedClassifierName>shaded</shadedClassifierName> > </configuration> > </execution> > </executions> > </plugin> > If I use this, it builds the shaded artifact but it does not get included > when I run mvn install or mvn deploy. -- 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