commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r895464 - /commons/proper/vfs/trunk/pom.xml
Date Sun, 03 Jan 2010 18:33:29 GMT
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>



Mime
View raw message