Author: bentmann
Date: Wed Jul  1 09:20:29 2009
New Revision: 790085

URL: http://svn.apache.org/viewvc?rev=790085&view=rev
Log:
o Moved PDF Plugin into a profile that can be deactivated when it feels like 
dying due to "ConnectException: Connection refused: connect"

Modified:
    maven/site/trunk/pom.xml

Modified: maven/site/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=790085&r1=790084&r2=790085&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Wed Jul  1 09:20:29 2009
@@ -302,22 +302,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pdf-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>pdf</id>
-            <phase>site</phase>
-            <goals>
-              <goal>pdf</goal>
-            </goals>
-            <configuration>
-              
<outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 
@@ -349,4 +333,35 @@
       -->
     </plugins>
   </reporting>
+
+  <profiles>
+    <profile>
+      <id>pdf</id>
+      <activation>
+        <property>
+          <name>!pdf.skip</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pdf-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>pdf</id>
+                <phase>site</phase>
+                <goals>
+                  <goal>pdf</goal>
+                </goals>
+                <configuration>
+                  
<outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>


Reply via email to