]> source.dussan.org Git - archiva.git/commitdiff
fix release profile
authorOlivier Lamy <olamy@apache.org>
Sat, 7 Jul 2012 21:25:22 +0000 (21:25 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 7 Jul 2012 21:25:22 +0000 (21:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/parent@1358645 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 54b8da0e6796d8bbfd4cabf3ce54d5fc2b7d1118..a183f8714c724ef7130d859615de1d055b879165 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <configuration>
             <tagBase>https://svn.apache.org/repos/asf/archiva/tags/</tagBase>
             <useReleaseProfile>false</useReleaseProfile>
+            <goals>deploy</goals>
             <arguments>-Prelease</arguments>
           </configuration>
         </plugin>
     <profile>
       <id>release</id>
       <build>
-        <pluginManagement>
-          <plugins>
-            <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>
-                    <tarLongFileFormat>gnu</tarLongFileFormat>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-          </plugins>
-        </pluginManagement>
         <plugins>
+          <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>
+                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
           <!-- We want to sign the artifact, the POM, and all attached artifacts -->
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>