James Davis created MSHADE-131: ---------------------------------- Summary: 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: 2.0, 1.5 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