Zoltan Farkas created MSHADE-217: ------------------------------------ Summary: Shaded sources out of sync with shaded jar. Key: MSHADE-217 URL: https://issues.apache.org/jira/browse/MSHADE-217 Project: Maven Shade Plugin Issue Type: Bug Affects Versions: 2.4.3 Reporter: Zoltan Farkas
I am using the maven shade plugin to patch open source libraries. (fix bugs...) this is the configuration I use: {noformat} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>${project.groupId}:${project.artifactId}:${original.version}</include> </includes> </artifactSet> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <createSourcesJar>true</createSourcesJar> <shadeSourcesContent>true</shadeSourcesContent> </configuration> </execution> </executions> </plugin> {noformat} The java classes I have in my project, are correctly included in the shaded jar and overwrite the dependency classes, however the source artifact generated by the shade plugin does not include the sources from my project. Can this be improved so that source and class behaviour is consistent? is there a workarround? -- This message was sent by Atlassian JIRA (v6.3.4#6332)