You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2008/12/10 14:33:20 UTC

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

Author: janstey
Date: Wed Dec 10 05:33:20 2008
New Revision: 725277

URL: http://svn.apache.org/viewvc?rev=725277&view=rev
Log:
CAMEL-1170 - Get HTML manuals deploying again

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=725277&r1=725276&r2=725277&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/camel-manual/pom.xml (original)
+++ activemq/camel/trunk/tooling/camel-manual/pom.xml Wed Dec 10 05:33:20 2008
@@ -61,41 +61,30 @@
           ]]></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>
+                <!-- 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>
 
-  <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>