summaryrefslogtreecommitdiffstats
path: root/gerrit-extension-api/pom.xml
diff options
context:
space:
mode:
authorEdwin Kempin <edwin.kempin@sap.com>2013-10-05 11:24:30 +0200
committerEdwin Kempin <edwin.kempin@sap.com>2013-10-05 11:24:30 +0200
commit62f5438bdb86052bef43c59011422759f257a236 (patch)
treec32c9b4f43d2470e68cf6dfeba78e9990b22f022 /gerrit-extension-api/pom.xml
parentef48818083df6659aad02a0898826f3c404ee189 (diff)
Generate javadoc for gerrit extension and plugin API
To make the consumption of the gerrit extension and plugin API easier for plugin developers gerrit-extension-api.jar and gerrit-plugin-api.jar should be published to Maven central. For this having javadocs generated is required. Change-Id: Ibb13fbb61c94c76fe6e2f7041d5a1e269d39d788 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Diffstat (limited to 'gerrit-extension-api/pom.xml')
-rw-r--r--gerrit-extension-api/pom.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/gerrit-extension-api/pom.xml b/gerrit-extension-api/pom.xml
index d641a3be3b..4c8d8deb4b 100644
--- a/gerrit-extension-api/pom.xml
+++ b/gerrit-extension-api/pom.xml
@@ -81,6 +81,49 @@ limitations under the License.
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-artifact-sources</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>gerrit-extension-api</artifactId>
+ <version>${project.version}</version>
+ <classifier>all-sources</classifier>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/unpack_sources</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <sourcepath>${project.build.directory}/unpack_sources</sourcepath>
+ <encoding>ISO-8859-1</encoding>
+ <quiet>true</quiet>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <phase>process-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>