sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1187770 - /incubator/sqoop/trunk/pom.xml
Date Sat, 22 Oct 2011 20:20:13 GMT
Author: olamy
Date: Sat Oct 22 20:20:12 2011
New Revision: 1187770

URL: http://svn.apache.org/viewvc?rev=1187770&view=rev
Log:
move documentation generation in a profile which can be desactivated in a ci server

Modified:
    incubator/sqoop/trunk/pom.xml

Modified: incubator/sqoop/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/pom.xml?rev=1187770&r1=1187769&r2=1187770&view=diff
==============================================================================
--- incubator/sqoop/trunk/pom.xml (original)
+++ incubator/sqoop/trunk/pom.xml Sat Oct 22 20:20:12 2011
@@ -361,28 +361,7 @@ limitations under the License.
           </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>${project.version}</VERSION>
-          </environmentVariables>
-        </configuration>
-      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
@@ -477,6 +456,44 @@ limitations under the License.
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>doc-generation</id>
+      <activation>
+        <property>
+          <name>skipDocumentation</name>
+          <value>!true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <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>${project.version}</VERSION>
+              </environmentVariables>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+
+    </profile>
+
     <profile>
       <id>reporting</id>
       <activation>
@@ -511,7 +528,7 @@ limitations under the License.
         </plugins>
       </reporting>
     </profile>
-
+  </profiles>
 
   <repositories>
     <repository>



Mime
View raw message