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> <version>1.2.1</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <id>compile</id>
<phase>compile</phase>
<goals> <goals>
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
</execution>
</executions>
<configuration> <configuration>
<executable>bash</executable> <executable>bash</executable>
<arguments> <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> <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> </arguments>
</configuration> </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> </plugin>
</plugins> </plugins>
</build> </build>