You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by ar...@apache.org on 2011/10/20 18:49:56 UTC
svn commit: r1186918 - /incubator/sqoop/trunk/pom.xml
Author: arvind
Date: Thu Oct 20 16:49:56 2011
New Revision: 1186918
URL: http://svn.apache.org/viewvc?rev=1186918&view=rev
Log:
SQOOP-356. Move documentation generation to maven build.
(Alex Newman via Arvind Prabhakar)
Modified:
incubator/sqoop/trunk/pom.xml
Modified: incubator/sqoop/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/pom.xml?rev=1186918&r1=1186917&r2=1186918&view=diff
==============================================================================
--- incubator/sqoop/trunk/pom.xml (original)
+++ incubator/sqoop/trunk/pom.xml Thu Oct 20 16:49:56 2011
@@ -317,6 +317,64 @@ limitations under the License.
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>make</executable>
+ <workingDirectory>src/docs</workingDirectory>
+ <commandlineArgs>-e</commandlineArgs>
+ <environmentVariables>
+ <BUILDROOT>../../target</BUILDROOT>
+ <VERSION>${version}</VERSION>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>javadoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <reportOutputDirectory>target/docs</reportOutputDirectory>
+ <destDir>api</destDir>
+ </configuration>
+ </plugin>
+
</plugins>
</build>