You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2006/03/28 03:04:42 UTC

svn commit: r389339 - /maven/components/tags/maven-2.0.3/pom.xml

Author: jdcasey
Date: Mon Mar 27 17:04:41 2006
New Revision: 389339

URL: http://svn.apache.org/viewcvs?rev=389339&view=rev
Log:
Removed mojo-project and sandbox-based plugins for the release.

Modified:
    maven/components/tags/maven-2.0.3/pom.xml

Modified: maven/components/tags/maven-2.0.3/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/tags/maven-2.0.3/pom.xml?rev=389339&r1=389338&r2=389339&view=diff
==============================================================================
--- maven/components/tags/maven-2.0.3/pom.xml (original)
+++ maven/components/tags/maven-2.0.3/pom.xml Mon Mar 27 17:04:41 2006
@@ -172,16 +172,18 @@
     </testResources>
     <directory>target</directory>
     <finalName>${artifactId}-${version}</finalName>
+    <plugins>
+       <plugin>
+         <artifactId>maven-assembly-plugin</artifactId>
+         <configuration>
+           <descriptor>src/assemble/src.xml</descriptor>
+           <finalName>maven-${version}</finalName>
+         </configuration>
+       </plugin>
+    </plugins>
     <pluginManagement>
       <plugins>
-        <plugin>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <configuration>
-            <descriptor>src/assemble/src.xml</descriptor>
-            <finalName>maven-${version}</finalName>
-          </configuration>
-        </plugin>
-        <plugin>
+       <plugin>
           <artifactId>maven-release-plugin</artifactId>
           <configuration>
             <tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
@@ -232,6 +234,34 @@
       </plugins>
     </pluginManagement>
   </build>
+  <profiles>
+    <profile>
+      <id>clean-before-source-assembly</id>
+      <activation>
+        <property>
+          <name>source-assembly</name>
+          <value>true</value>
+        </property>
+      </activation>
+
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-clean-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>clean-before-source-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>clean</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <modules>
     <module>maven-archiver</module>
     <module>maven-artifact</module>
@@ -330,18 +360,6 @@
             <link>http://jakarta.apache.org/velocity/api/</link>
           </links>
         </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>changelog-maven-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>jxr-maven-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>taglist-maven-plugin</artifactId>
       </plugin>
     </plugins>
   </reporting>