You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthieu Ghilain (JIRA)" <ji...@apache.org> on 2017/01/25 13:17:26 UTC
[jira] [Commented] (MSHADE-217) Shaded sources out of sync with
shaded jar.
[ https://issues.apache.org/jira/browse/MSHADE-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15837712#comment-15837712 ]
Matthieu Ghilain commented on MSHADE-217:
-----------------------------------------
I have exactly the same problem here with version 2.4.3. Has anyone been looking into that issue?
> 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)