]> source.dussan.org Git - archiva.git/commitdiff
configure generation of source release assembly
authorOlivier Lamy <olamy@apache.org>
Sat, 7 Jul 2012 20:56:05 +0000 (20:56 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 7 Jul 2012 20:56:05 +0000 (20:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/parent@1358639 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 854eaeac3b4541e695a52fecea52ec6a3ac215fd..6afb000a859c174490cd379a215cb1e3e8e4d409 100644 (file)
--- a/pom.xml
+++ b/pom.xml
               <updateReleaseInfo>true</updateReleaseInfo>
             </configuration>
           </plugin>
+          <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>
+                  <finalName>apache-directmemory-${project.version}</finalName>
+                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                  <descriptorRefs>
+                    <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
+                  </descriptorRefs>
+                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>