File 0001-Make-it-build.patch of Package mercury

From 6475e591167759d3784b9d75bdecf20bd66ce63f Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Sun, 29 Nov 2009 11:52:22 +0100
Subject: [PATCH] Make it build

Remove dependencies on maven-enforcer-plugin, maven-release-plugin,
plexus-component-metadata and subprojects with unsatisfied dependencies.
---
 pom.xml |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/pom.xml b/pom.xml
index 47a515b..cefeefc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,16 +55,16 @@ under the License.
 
   <modules>
     <module>mercury-artifact</module>
-    <module>mercury-md</module>
-    <module>mercury-repo</module>
-    <module>mercury-transport</module>
+    <!--<module>mercury-md</module> needs mercury-util -->
+    <!--module>mercury-repo</module> needs mercury-md -->
+    <!--module>mercury-transport</module> mercury-crypto -->
     <module>mercury-external</module>
-    <module>mercury-crypto</module>
-    <module>mercury-util</module>
+    <!--module>mercury-crypto</module> needs bcpg -->
+    <!--module>mercury-util</module> needs mercury-crypto -->
     <module>mercury-event</module>
     <module>mercury-logging</module>
-    <module>mercury-plexus</module>
-    <module>mercury-wagon</module>
+    <!--module>mercury-plexus</module> needs plexus-component-metadata -->
+    <!--module>mercury-wagon</module> needs plexus-component-metadata -->
 <!-- 
     <module>mercury-it</module>
 -->
@@ -270,11 +270,11 @@ under the License.
         <version>${plexus.lang.version}</version>
       </dependency>
 
-      <dependency>
+      <!--dependency>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
         <version>${plexus.component.metadata.version}</version>
-      </dependency>
+      </dependency-->
       
       <dependency>
         <groupId>org.sonatype.spice</groupId>
@@ -491,7 +491,7 @@ under the License.
     <pluginManagement>
 
       <plugins>
-        <plugin>
+        <!--plugin>
           <artifactId>maven-release-plugin</artifactId>
           <version>2.0-beta-8</version>
           <configuration>
@@ -501,8 +501,8 @@ under the License.
             <goals>deploy</goals>
             <arguments>-Prelease</arguments>
           </configuration>
-        </plugin>
-        <plugin>
+        </plugin-->
+        <!--plugin>
           <groupId>org.codehaus.plexus</groupId>
           <artifactId>plexus-component-metadata</artifactId>
           <version>${plexus.component.metadata.version}</version>
@@ -513,7 +513,7 @@ under the License.
               </goals>
             </execution>
           </executions>
-        </plugin>
+        </plugin-->
         <plugin>
           <groupId>org.codehaus.modello</groupId>
           <artifactId>modello-maven-plugin</artifactId>
@@ -524,10 +524,10 @@ under the License.
 
     <plugins>
 
-      <plugin>
+      <!--plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
-      </plugin>
+      </plugin-->
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -555,7 +555,7 @@ under the License.
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
       </plugin>
-      <plugin>
+      <!--plugin>
         <artifactId>maven-enforcer-plugin</artifactId>
         <version>1.0-alpha-4</version>
         <executions>
@@ -574,15 +574,15 @@ under the License.
                       that is plexus component made
                       with older plexus container. </message>
                 </bannedDependencies>
-                <!--  <requirePluginVersions>
+                <!- - <requirePluginVersions>
                   <banSnapshots>false</banSnapshots>
-                  </requirePluginVersions>-->
+                  </requirePluginVersions>- ->
               </rules>
               <fail>true</fail>
             </configuration>
           </execution>
         </executions>
-      </plugin>
+      </plugin-->
     </plugins>
   </build>
 
-- 
1.6.5.2

openSUSE Build Service is sponsored by