sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arv...@apache.org
Subject svn commit: r1186918 - /incubator/sqoop/trunk/pom.xml
Date Thu, 20 Oct 2011 16:49:56 GMT
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>
 



Mime
View raw message