Skip to content

Commit

Permalink
Deactivate source plugin in shaded Byte Buddy module as it potentiall…
Browse files Browse the repository at this point in the history
…y overwrites source jar generated by the shade plugin.
  • Loading branch information
raphw committed Nov 28, 2019
1 parent 9abe4fa commit 9926e9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions byte-buddy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,15 @@
</activation>
<build>
<plugins>
<!-- The source jar is generated by the shade plugin and we do not want to override the shaded source jar. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.plugin.source}</version>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
<!-- The shadowed source files of this module need to be included explicitly to create a javadoc artifact.-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@
<version>${version.plugin.javadoc}</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
Expand Down

0 comments on commit 9926e9d

Please sign in to comment.