You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by gr...@apache.org on 2012/12/20 06:21:18 UTC

svn commit: r1424333 - /incubator/onami/trunk/parent/pom.xml

Author: grobmeier
Date: Thu Dec 20 05:21:17 2012
New Revision: 1424333

URL: http://svn.apache.org/viewvc?rev=1424333&view=rev
Log:
reverted addition of plugin, added source package creation from asf parent

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

Modified: incubator/onami/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/parent/pom.xml?rev=1424333&r1=1424332&r2=1424333&view=diff
==============================================================================
--- incubator/onami/trunk/parent/pom.xml (original)
+++ incubator/onami/trunk/parent/pom.xml Thu Dec 20 05:21:17 2012
@@ -405,23 +405,6 @@
           </configuration>
         </plugin>
 
-        <!-- Add license and disclaimer to artifacts -->
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-remote-resources-plugin</artifactId>
-          <executions>
-            <execution>
-              <configuration>
-                <resourceBundles>
-                  <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
-                  <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
-                </resourceBundles>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-
-
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-scm-publish-plugin</artifactId>
@@ -762,6 +745,39 @@
       <id>release</id>
       <build>
         <plugins>
+
+            <!--
+                Create a source-release artifact that contains the fully buildable
+                project directory source structure. This is the artifact which is
+                the official subject of any release vote.
+            -->
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.apache.resources</groupId>
+                <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                <version>1.0.4</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                  <descriptorRefs>
+                    <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
+                  </descriptorRefs>
+                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>