Author: hadrian
Date: Fri Nov 12 00:42:12 2010
New Revision: 1034224

URL: http://svn.apache.org/viewvc?rev=1034224&view=rev
Log:
Added fastinstall profile for faster builds (does not run tests nor builds 
camel-manual)

Modified:
    camel/trunk/apache-camel/pom.xml
    camel/trunk/parent/pom.xml
    camel/trunk/tooling/camel-manual/pom.xml

Modified: camel/trunk/apache-camel/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/apache-camel/pom.xml?rev=1034224&r1=1034223&r2=1034224&view=diff
==============================================================================
--- camel/trunk/apache-camel/pom.xml (original)
+++ camel/trunk/apache-camel/pom.xml Fri Nov 12 00:42:12 2010
@@ -443,13 +443,6 @@
       <artifactId>camel-example-spring-xquery</artifactId>
     </dependency>
 
-    <!--
-        <dependency>
-          <groupId>org.apache.camel</groupId>
-          <artifactId>camel-manual</artifactId>
-        </dependency>
-    -->
-    
     <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging-api</artifactId>

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1034224&r1=1034223&r2=1034224&view=diff
==============================================================================
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Fri Nov 12 00:42:12 2010
@@ -1550,6 +1550,17 @@
       </activation>
     </profile>
     <profile>
+      <id>fastinstall</id>
+      <activation>
+        <property>
+          <name>fastinstall</name>
+        </property>
+      </activation>
+      <properties>
+        <maven.test.skip.exec>true</maven.test.skip.exec>
+      </properties>
+    </profile>
+    <profile>
       <id>sourcecheck</id>
       <build>
         <plugins>

Modified: camel/trunk/tooling/camel-manual/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/camel-manual/pom.xml?rev=1034224&r1=1034223&r2=1034224&view=diff
==============================================================================
--- camel/trunk/tooling/camel-manual/pom.xml (original)
+++ camel/trunk/tooling/camel-manual/pom.xml Fri Nov 12 00:42:12 2010
@@ -33,65 +33,73 @@
   <name>Camel :: Manual</name>
   <description>The Camel Manual which generates a HTML and PDF representation 
of the manual.</description>
 
-  <build>
-    <plugins>
-
-     <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>maven-html-to-pdf</artifactId>
-        <version>${project.version}</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>compile</goal>
-            </goals>
-            <phase>compile</phase>
-          </execution>
-        </executions>    
-        <configuration>
-          
<page>https://cwiki.apache.org/confluence/display/CAMEL/Book+In+One+Page</page>
-          <head><![CDATA[ 
-              <link href="file:${basedir}/src/styles/print.css" 
rel="stylesheet" type="text/css" />
-              <style type="text/css">
-                @page :left {
-                  @top-left {
-                    content: "Apache Camel ${project.version} Developer's 
Manual";
-                  }
-                }
-              </style>
-          ]]></head>
-          <replaceToken><![CDATA[
-              <h3 id="replaceme">.*</h3>
-          ]]></replaceToken>
-          <replaceValue><![CDATA[
-              <h3>Version ${project.version}</h3>
-          ]]></replaceValue>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-artifacts</id>
-            <phase>package</phase>
-            <goals>
-              <goal>attach-artifact</goal>
-            </goals>
+  <profiles>
+    <profile>
+      <id>foo</id>
+      <activation>
+        <property>
+          <name>!fastinstall</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+         <plugin>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>maven-html-to-pdf</artifactId>
+            <version>${project.version}</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>compile</goal>
+                </goals>
+                <phase>compile</phase>
+              </execution>
+            </executions>    
             <configuration>
-              <artifacts>
-                <!-- Don't need to attach PDF here because the html-to-pdf 
plugin did that already -->
-                <artifact>
-                  
<file>${project.build.directory}/site/manual/camel-manual-${project.version}.html</file>
-                  <type>html</type>
-                </artifact>
-              </artifacts>
+              
<page>https://cwiki.apache.org/confluence/display/CAMEL/Book+In+One+Page</page>
+              <head><![CDATA[ 
+                  <link href="file:${basedir}/src/styles/print.css" 
rel="stylesheet" type="text/css" />
+                  <style type="text/css">
+                    @page :left {
+                      @top-left {
+                        content: "Apache Camel ${project.version} Developer's 
Manual";
+                      }
+                    }
+                  </style>
+              ]]></head>
+              <replaceToken><![CDATA[
+                  <h3 id="replaceme">.*</h3>
+              ]]></replaceToken>
+              <replaceValue><![CDATA[
+                  <h3>Version ${project.version}</h3>
+              ]]></replaceValue>
             </configuration>
-          </execution>
-        </executions>
-      </plugin>      
-    </plugins>
-  </build>
-
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>build-helper-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-artifacts</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>attach-artifact</goal>
+                </goals>
+                <configuration>
+                  <artifacts>
+                    <!-- Don't need to attach PDF here because the html-to-pdf 
plugin did that already -->
+                    <artifact>
+                      
<file>${project.build.directory}/site/manual/camel-manual-${project.version}.html</file>
+                      <type>html</type>
+                    </artifact>
+                  </artifacts>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>      
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 
 </project>


Reply via email to