]> source.dussan.org Git - archiva.git/commitdiff
MRM-1082 - Upgrade from plexus-maven-plugin to the plexus-component-metadata plugin
authorJames William Dumay <jdumay@apache.org>
Wed, 11 Feb 2009 05:45:52 +0000 (05:45 +0000)
committerJames William Dumay <jdumay@apache.org>
Wed, 11 Feb 2009 05:45:52 +0000 (05:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743238 13f79535-47bb-0310-9956-ffa450edef68

12 files changed:
archiva-modules/archiva-base/archiva-artifact-converter/pom.xml
archiva-modules/archiva-base/archiva-common/pom.xml
archiva-modules/archiva-base/archiva-consumers/pom.xml
archiva-modules/archiva-base/archiva-dependency-graph/pom.xml
archiva-modules/archiva-base/archiva-model/pom.xml
archiva-modules/archiva-base/archiva-policies/pom.xml
archiva-modules/archiva-base/archiva-repository-layer/pom.xml
archiva-modules/archiva-base/archiva-xml-tools/pom.xml
archiva-modules/archiva-database/pom.xml
archiva-modules/archiva-scheduled/pom.xml
archiva-modules/archiva-web/archiva-webapp/pom.xml
pom.xml

index f23ee3a2016e6a0d6f7a436b32f01bc48421b66a..2a3232fa4548918129c65ec63353d3f515e36097 100644 (file)
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <executions>
           <execution>
             <goals>
-              <goal>descriptor</goal>
+              <goal>generate-metadata</goal>
             </goals>
           </execution>
         </executions>
index 2be6150909259046bb603894febca5ecaee15b78..73325003c3653a57f8daa519e15054ba93893bd8 100644 (file)
@@ -71,7 +71,7 @@
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
       </plugin>
     </plugins>
   </build>
index 4d67521645a19e2bf7516a715036e0bc8773f072..eefdbc47a05e23f724b8c3665fcaefaa8168f15a 100644 (file)
@@ -41,7 +41,7 @@
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
       </plugin>
     </plugins>
   </build>
index a03cebe34f4b4282db7ff5c5e1849f9fb6b4f2be..c9506501308db06277068b98e0e01c1c8e163026 100644 (file)
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <executions>
           <execution>
             <id>descriptor</id>
             <goals>
-              <goal>descriptor</goal>
+              <goal>generate-metadata</goal>
             </goals>
           </execution>
         </executions>
index 1318d53a26fdd71ce1bfd06297ae84dc5c8221f7..fae3ca346f9baaa0b0fd3689b2038b6d49dd1b52 100755 (executable)
@@ -54,7 +54,7 @@
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
       </plugin>
       <plugin>
         <groupId>org.codehaus.modello</groupId>
index 7489f08bca5d2269e28d566e2d80bcd4995f70da..0e8c2e01e6ad45d09c2c677df6ac3766eb93751b 100644 (file)
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <executions>
+          <execution>
+            <id>descriptor</id>
+                       <phase>generate-resources</phase>
+            <goals>
+              <goal>generate-metadata</goal>
+            </goals>
+          </execution>
           <execution>
             <id>merge</id>
+                       <phase>generate-resources</phase>
             <goals>
-              <goal>merge-descriptors</goal>
+              <goal>merge-metadata</goal>
             </goals>
             <configuration>
-              <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
               <descriptors>
                 <descriptor>${basedir}/src/main/resources/META-INF/plexus/components-fragment.xml</descriptor>
-                <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
+                <descriptor>${project.build.outputDirectory}/META-INF/plexus/components.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>
index de93e0429aa749ea66231dd25faa3f8468c3f08d..67c96717384df06b2b56b1019a811aca014729d4 100644 (file)
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <executions>
           <execution>
             <id>descriptor</id>
             <goals>
-              <goal>descriptor</goal>
+              <goal>generate-metadata</goal>
             </goals>
           </execution>
           <execution>
             <id>merge</id>
             <goals>
-              <goal>merge-descriptors</goal>
+              <goal>merge-metadata</goal>
             </goals>
             <configuration>
-              <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
               <descriptors>
                 <descriptor>${basedir}/src/main/resources/META-INF/plexus/components-fragment.xml</descriptor>
-                <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
+                <descriptor>${project.build.outputDirectory}/META-INF/plexus/components.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>
index 80177618d68dd7b4553b93377506196cafec8bf5..20960eed098b3bbad8c0b7902825768eb5eb053b 100644 (file)
       <artifactId>plexus-utils</artifactId>
     </dependency>
   </dependencies>
-  <!--
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>merge</id>
-            <goals>
-              <goal>merge-descriptors</goal>
-            </goals>
-            <configuration>
-              <descriptors>
-                <descriptor>${basedir}/src/main/resources/META-INF/plexus/components.xml</descriptor>
-                <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-   -->
 </project>
index fad154168f1fefa3ca9ba29385149d4da88215eb..097c4e3c55cb780c90012ed9dd415342d6678aa9 100755 (executable)
@@ -95,7 +95,7 @@
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
       </plugin>
     </plugins>
   </build>
index f3c28988252e8ba15f883de128e8c4e8b1e5cd80..ddaa5a251d44e7023ba2302a4d7ab8d60c0189ff 100644 (file)
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <executions>
           <execution>
             <id>merge</id>
             <goals>
-              <goal>merge-descriptors</goal>
+              <goal>merge-metadata</goal>
             </goals>
             <configuration>
               <descriptors>
                 <descriptor>${basedir}/src/main/resources/META-INF/plexus/components.xml</descriptor>
-                <descriptor>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
+                <descriptor>${project.build.outputDirectory}/META-INF/plexus/components.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>
index 587810fafccc3f9f1a34a52b03fe2374368fa5dc..bf6b8c33c3f514bcee74030e7b40e21253a7a57e 100644 (file)
       </plugin>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
+        <artifactId>plexus-component-metadata</artifactId>
         <configuration>
           <roleDefaults>
             <roleDefault>
diff --git a/pom.xml b/pom.xml
index d2a342c4e758d7b0e1c577ade057946687e9c0a4..283de7dc00db73574e2997a994f4176e4ae02fdb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       </plugin>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
-        <version>1.3.5</version>
+        <artifactId>plexus-component-metadata</artifactId>
+        <version>1.0-beta-3.0.5</version>
         <executions>
           <execution>
             <id>generate</id>
             <goals>
-              <goal>descriptor</goal>
+              <goal>generate-metadata</goal>
             </goals>
           </execution>
         </executions>