You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by rg...@apache.org on 2010/01/03 19:33:29 UTC

svn commit: r895464 - /commons/proper/vfs/trunk/pom.xml

Author: rgoers
Date: Sun Jan  3 18:33:28 2010
New Revision: 895464

URL: http://svn.apache.org/viewvc?rev=895464&view=rev
Log:
Site plugin is a snapshot. Put into a profile so default build doesn't require building the plugin

Modified:
    commons/proper/vfs/trunk/pom.xml

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=895464&r1=895463&r2=895464&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Sun Jan  3 18:33:28 2010
@@ -135,11 +135,6 @@
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.2</version>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>2.2-SNAPSHOT</version>
-        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -190,21 +185,7 @@
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.1</version>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>2.2-SNAPSHOT</version>
-        <configuration>
-          <stagingDirectory>${user.home}/vfssite/tmp</stagingDirectory>
-          <stagingSiteURL>file://${user.home}/vfssite/staging</stagingSiteURL>
-          <!-- Exclude the navigation file for Maven 1 sites
-               and the changes file used by the changes-plugin,
-               as they interfere with the site generation. -->
-          <moduleExcludes>
-            <xdoc>navigation.xml,changes.xml</xdoc>
-          </moduleExcludes>
-        </configuration>
-      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
@@ -366,6 +347,59 @@
 	</dependencies>
   </dependencyManagement>
 
+  <profiles>
+    <profile>
+      <id>site</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+          <version>1.5.6</version>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-log4j12</artifactId>
+          <version>1.5.6</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-site-plugin</artifactId>
+              <version>2.2-SNAPSHOT</version>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <version>2.2-SNAPSHOT</version>
+            <configuration>
+              <stagingDirectory>${user.home}/vfssite/tmp</stagingDirectory>
+              <stagingSiteURL>file://${user.home}/vfssite/staging</stagingSiteURL>
+              <!-- Exclude the navigation file for Maven 1 sites
+                   and the changes file used by the changes-plugin,
+                   as they interfere with the site generation. -->
+              <moduleExcludes>
+                <xdoc>navigation.xml,changes.xml</xdoc>
+              </moduleExcludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
+
   <repositories>
     <repository>
       <id>apache.snapshots.https</id>