summaryrefslogtreecommitdiffstats
path: root/gerrit-extension-api/pom.xml
diff options
context:
space:
mode:
authorShawn Pearce <sop@google.com>2013-10-07 14:51:55 -0700
committerShawn Pearce <sop@google.com>2013-10-07 14:51:55 -0700
commit6f2efb9b5fe632f77ca2ca654249d2b339a88543 (patch)
treea17bbe5ea44b8f6485fbe8db156dfeaa0a51fe30 /gerrit-extension-api/pom.xml
parent43aadc2520378cfdb7e48a3772db38c35afedd2c (diff)
parentb3d0cc4c2a2dcbdc1f9fecee080ab969c513990a (diff)
Merge branch 'stable-2.6' into stable-2.7
* stable-2.6: Prevent expansion when whole file isn't loaded Generate javadoc for gerrit extension and plugin API
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 4ccd59361c..33e6f397a0 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>