You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2008/05/09 13:53:17 UTC

svn commit: r654772 - /activemq/camel/trunk/tooling/camel-manual/pom.xml

Author: jstrachan
Date: Fri May  9 04:53:16 2008
New Revision: 654772

URL: http://svn.apache.org/viewvc?rev=654772&view=rev
Log:
only deploy the manual PDF if using the deploy profile to avoid failing the build on machines without PrinceXML

Modified:
    activemq/camel/trunk/tooling/camel-manual/pom.xml

Modified: activemq/camel/trunk/tooling/camel-manual/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/camel-manual/pom.xml?rev=654772&r1=654771&r2=654772&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/camel-manual/pom.xml (original)
+++ activemq/camel/trunk/tooling/camel-manual/pom.xml Fri May  9 04:53:16 2008
@@ -61,32 +61,41 @@
           ]]></head>
         </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>
-            <configuration>
-              <artifacts>
-                <artifact>
-                  <file>${project.build.directory}/site/manual/camel-manual-${project.version}.pdf</file>
-                  <type>pdf</type>
-                </artifact>
-                <artifact>
-                  <file>${project.build.directory}/site/manual/camel-manual-${project.version}.html</file>
-                  <type>html</type>
-                </artifact>
-              </artifacts>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>deploy</id>
+      <build>
+        <plugins>
+          <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>
+                    <artifact>
+                      <file>${project.build.directory}/site/manual/camel-manual-${project.version}.pdf</file>
+                      <type>pdf</type>
+                    </artifact>
+                    <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>