continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1426411 - /continuum/site/pom.xml
Date Fri, 28 Dec 2012 06:03:21 GMT
Author: brett
Date: Fri Dec 28 06:03:21 2012
New Revision: 1426411

URL: http://svn.apache.org/viewvc?rev=1426411&view=rev
Log:
moved svnpubsub configuration to parent

Modified:
    continuum/site/pom.xml

Modified: continuum/site/pom.xml
URL: http://svn.apache.org/viewvc/continuum/site/pom.xml?rev=1426411&r1=1426410&r2=1426411&view=diff
==============================================================================
--- continuum/site/pom.xml (original)
+++ continuum/site/pom.xml Fri Dec 28 06:03:21 2012
@@ -41,48 +41,18 @@
     <url>http://svn.apache.org/viewvc/continuum/site/</url>
   </scm>
   <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>3.2</version>
-        <configuration>
-          <templateDirectory>${basedir}/src/site</templateDirectory>
-          <template>continuum-site.vm</template>
-          <skipDeploy>true</skipDeploy>
-        </configuration>
-        <executions>
-          <execution>
-            <id>stage-for-scm-publish</id>
-            <phase>post-site</phase>
-            <goals>
-              <goal>stage</goal>
-            </goals>
-            <configuration>
-              <skipDeploy>false</skipDeploy>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>    
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-scm-publish-plugin</artifactId>
-        <version>1.0-beta-2</version>
-        <configuration>
-          <checkoutDirectory>${checkoutDirectory}</checkoutDirectory>
-          <tryUpdate>true</tryUpdate>
-        </configuration>
-        <executions>
-          <execution>
-            <id>scm-publish</id>
-            <phase>site-deploy</phase>
-            <goals>
-              <goal>publish-scm</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <configuration>
+            <templateDirectory>${basedir}/src/site</templateDirectory>
+            <template>continuum-site.vm</template>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
   <reporting>
     <excludeDefaults>true</excludeDefaults>
@@ -124,54 +94,6 @@
     </repository>
   </repositories>
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <svnUrl>https://svn.apache.org/repos/asf/continuum/site-publish</svnUrl>
-    <checkoutDirectory>site-publish</checkoutDirectory>
   </properties>
-  <profiles>
-    <profile>
-      <id>setup-checkout</id>
-      <activation>
-        <file>
-          <missing>site-publish</missing>
-        </file>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.7</version>
-            <executions>
-              <execution>
-                <id>prepare-checkout</id>
-                <phase>pre-site</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <exec executable="svn">
-                      <arg line="checkout --depth immediates ${svnUrl}" />
-                    </exec>
-                
-                    <exec executable="svn">
-                      <arg line="update --set-depth exclude ${checkoutDirectory}/ref ${checkoutDirectory}/docs"
/>
-                    </exec>
-                
-                    <pathconvert pathsep=" " property="dirs">
-                      <dirset dir="${checkoutDirectory}" includes="*" />
-                    </pathconvert>
-                    <exec executable="svn">
-                      <arg line="update --set-depth infinity ${dirs}" />
-                    </exec>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>



Mime
View raw message