aboutsummaryrefslogtreecommitdiff
path: root/java/pom.xml
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2016-07-18 15:56:33 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2016-07-18 15:59:09 -0700
commitfa527024088bd3d8f3deb04aef47b4d0e2c84793 (patch)
treea5c08bd6ede06b1a8bdeee611b81204145ce3e7e /java/pom.xml
parent2078f614e46e78ed425da255fe0c12ced58e3c15 (diff)
downloadprotobuf-fa527024088bd3d8f3deb04aef47b4d0e2c84793.tar.gz
protobuf-fa527024088bd3d8f3deb04aef47b4d0e2c84793.tar.bz2
protobuf-fa527024088bd3d8f3deb04aef47b4d0e2c84793.zip
Include javadoc/source in Java release packages.
Also fixed javadoc errors. [ci skip]
Diffstat (limited to 'java/pom.xml')
-rw-r--r--java/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml
index 2d7161b2..2d8e9a13 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -152,6 +152,32 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9.1</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>