oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1462102 - /oltu/trunk/parent/pom.xml
Date Thu, 28 Mar 2013 14:07:36 GMT
Author: simonetripodi
Date: Thu Mar 28 14:07:36 2013
New Revision: 1462102

URL: http://svn.apache.org/r1462102
Log:
[OLTU-92] missed from r1462097

Modified:
    oltu/trunk/parent/pom.xml

Modified: oltu/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/oltu/trunk/parent/pom.xml?rev=1462102&r1=1462101&r2=1462102&view=diff
==============================================================================
--- oltu/trunk/parent/pom.xml (original)
+++ oltu/trunk/parent/pom.xml Thu Mar 28 14:07:36 2013
@@ -338,7 +338,6 @@
     <site.siteFilePath>${user.home}/oltu-site/</site.siteFilePath>
     <site.deploymentBaseUrl>file://${site.siteFilePath}</site.deploymentBaseUrl>
     <site.scmPubCheckoutDirectory>${user.home}/oltu-site-content/</site.scmPubCheckoutDirectory>
-    <assembly.skip>false</assembly.skip>
     <!--
      | OSGi settings
     -->
@@ -452,19 +451,15 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.3</version>
-          <executions>
-            <execution>
-              <id>assembly</id>
-              <phase>package</phase>
-              <goals>
-                <goal>single</goal>
-              </goals>
-            </execution>
-          </executions>
+          <dependencies>
+            <dependency>
+              <groupId>org.codehaus.plexus</groupId>
+              <artifactId>plexus-utils</artifactId>
+              <version>3.0.8</version>
+            </dependency>
+          </dependencies>
           <configuration>
             <attach>true</attach>
-            <appendAssemblyId>false</appendAssemblyId>
-            <skipAssembly>${assembly.skip}</skipAssembly>
             <tarLongFileMode>gnu</tarLongFileMode>
           </configuration>
         </plugin>
@@ -711,8 +706,41 @@
   <profiles>
     <profile>
       <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>
+            <groupId>org.apache.maven.plugins</groupId>
+            <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>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>



Mime
View raw message