Skip to content

Commit

Permalink
add empty sources javadoc, per mccull's advice in #1161 (comment)
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=187334858
  • Loading branch information
sameb authored and ronshapiro committed Feb 28, 2018
1 parent 1a1787b commit 149942b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions extensions/multibindings/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@
</archive>
</configuration>
</plugin>
<plugin>
<!--
| Re-attach empty sources jar as javadoc to satisfy Maven Central requirements
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>reattach-sources-as-javadoc</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-sources.jar</file>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 149942b

Please sign in to comment.