Author: olamy
Date: Sat Jul  7 21:25:22 2012
New Revision: 1358645

URL: http://svn.apache.org/viewvc?rev=1358645&view=rev
Log:
fix release profile

Modified:
    archiva/parent/pom.xml

Modified: archiva/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/archiva/parent/pom.xml?rev=1358645&r1=1358644&r2=1358645&view=diff
==============================================================================
--- archiva/parent/pom.xml (original)
+++ archiva/parent/pom.xml Sat Jul  7 21:25:22 2012
@@ -579,6 +579,7 @@
           <configuration>
             <tagBase>https://svn.apache.org/repos/asf/archiva/tags/</tagBase>
             <useReleaseProfile>false</useReleaseProfile>
+            <goals>deploy</goals>
             <arguments>-Prelease</arguments>
           </configuration>
         </plugin>
@@ -628,38 +629,34 @@
     <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>


Reply via email to