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:33:35 UTC

svn commit: r1416292 - /incubator/onami/trunk/configuration/pom.xml

Author: olamy
Date: Sun Dec  2 23:33:34 2012
New Revision: 1416292

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


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

Modified: incubator/onami/trunk/configuration/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/configuration/pom.xml?rev=1416292&r1=1416291&r2=1416292&view=diff
==============================================================================
--- incubator/onami/trunk/configuration/pom.xml (original)
+++ incubator/onami/trunk/configuration/pom.xml Sun Dec  2 23:33:34 2012
@@ -64,6 +64,13 @@
     <osgi.fragment-host>com.google.inject;bundle-version="[3.0.0,4)"</osgi.fragment-host>
   </properties>
 
+  <distributionManagement>
+    <site>
+      <id>apache.website.svnpub</id>
+      <url>scm:svn:https://svn.apache.org/repos/asf/incubator/onami/site/configuration</url>
+    </site>
+  </distributionManagement>
+
   <dependencies>
     <dependency>
       <groupId>javax.inject</groupId>
@@ -82,4 +89,55 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.2</version>
+        <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 Configuration site deployment</checkinComment>
+          <checkoutDirectory>${user.home}/onami-cache-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>