onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1418490 - /incubator/onami/trunk/test/pom.xml
Date Fri, 07 Dec 2012 21:33:48 GMT
Author: olamy
Date: Fri Dec  7 21:33:48 2012
New Revision: 1418490

URL: http://svn.apache.org/viewvc?rev=1418490&view=rev
Log:
configure site deployment

Modified:
    incubator/onami/trunk/test/pom.xml

Modified: incubator/onami/trunk/test/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/pom.xml?rev=1418490&r1=1418489&r2=1418490&view=diff
==============================================================================
--- incubator/onami/trunk/test/pom.xml (original)
+++ incubator/onami/trunk/test/pom.xml Fri Dec  7 21:33:48 2012
@@ -42,8 +42,15 @@
     <url>https://svn.apache.org/viewvc/incubator/onami/trunk/test</url>
     <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/trunk/test</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/trunk/test</developerConnection>
-    <tag>HEAD</tag>
   </scm>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website.svnpub</id>
+      <url>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/site/test</url>
+    </site>
+  </distributionManagement>
+
   <ciManagement>
     <system>Jenkins</system>
     <url>https://builds.apache.org/job/Onami-Test/</url>
@@ -97,6 +104,56 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <locales>en</locales>
+          <skipDeploy>true</skipDeploy>
+        </configuration>
+        <executions>
+          <execution>
+            <id>attach-descriptor</id>
+            <goals>
+              <goal>attach-descriptor</goal>
+            </goals>
+          </execution>
+          <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>
+        <inherited>false</inherited>
+        <configuration>
+          <checkinComment>Onami Test site deployment</checkinComment>
+          <checkoutDirectory>${user.home}/onami-test-site</checkoutDirectory>
+        </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
   <repositories>
     <repository>
       <id>apache.snapshots</id>



Mime
View raw message