Summary: Extending API doc pom to package

Detail: Create tarball of apidocs for distribution from jenkins
% mvn -Pdeveloper package

Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351321002 +0530
This commit is contained in:
Prasanna Santhanam 2012-10-27 12:24:44 +05:30
parent 241daa53c6
commit 5b43d245a7

View File

@ -43,12 +43,11 @@
<version>1.2.1</version>
<executions>
<execution>
<phase>package</phase>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>bash</executable>
<arguments>
@ -61,6 +60,24 @@
<argument>${client.config.conf}/commands.properties, ${client.config.conf}/commands-ext.properties,${client.config.conf}/virtualrouter_commands.properties, ${client.config.conf}/nicira-nvp_commands.properties </argument>
</arguments>
</configuration>
</execution>
<execution>
<id>package</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<workingDirectory>target</workingDirectory>
<executable>tar</executable>
<arguments>
<argument>-cvjf</argument>
<argument>apidoc.tar.bz2</argument>
<argument>xmldoc</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>