You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by ol...@apache.org on 2012/12/03 00:47:15 UTC

svn commit: r1416306 - /incubator/onami/trunk/lifecycle/pom.xml

Author: olamy
Date: Sun Dec  2 23:47:15 2012
New Revision: 1416306

URL: http://svn.apache.org/viewvc?rev=1416306&view=rev
Log:
[ONAMI-14] configuration for lifecycle module


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

Modified: incubator/onami/trunk/lifecycle/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/lifecycle/pom.xml?rev=1416306&r1=1416305&r2=1416306&view=diff
==============================================================================
--- incubator/onami/trunk/lifecycle/pom.xml (original)
+++ incubator/onami/trunk/lifecycle/pom.xml Sun Dec  2 23:47:15 2012
@@ -39,6 +39,14 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/trunk/lifecycle</developerConnection>
     <tag>HEAD</tag>
   </scm>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website.svnpub</id>
+      <url>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/site/lifecycle</url>
+    </site>
+  </distributionManagement>
+
   <ciManagement>
     <system>Jenkins</system>
     <url>https://builds.apache.org/job/Onami-Lifecycle/</url>
@@ -69,4 +77,54 @@
     </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 Guava site deployment</checkinComment>
+          <checkoutDirectory>${user.home}/onami-lifecycle-site</checkoutDirectory>
+        </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>
\ No newline at end of file