]> source.dussan.org Git - sonarqube.git/commitdiff
Remove dependency on classworlds - use only plexus-classworlds
authorEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 9 Jun 2011 15:59:33 +0000 (19:59 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Mon, 13 Jun 2011 18:48:21 +0000 (22:48 +0400)
plugins/sonar-squid-java-plugin/pom.xml
pom.xml
sonar-core/pom.xml
sonar-server/pom.xml

index 3af4a6616c3f0928c58d53875ecdaf7fd3f19d24..fe11970f8834ff5b59f11768eb5e1261201f3a30 100644 (file)
@@ -76,8 +76,8 @@
       <scope>provided</scope>
     </dependency>
     <dependency>
-      <groupId>classworlds</groupId>
-      <artifactId>classworlds</artifactId>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-classworlds</artifactId>
       <scope>provided</scope>
     </dependency>
     <!-- unit tests -->
diff --git a/pom.xml b/pom.xml
index e48661061c74c2330da68f320da252f303035f6e..96bdf120793fac73c7562f6f70a904dfc5c87eec 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
     <module>sonar-graph</module>
     <module>sonar-gwt-api</module>
     <module>sonar-java-api</module>
-    <module>sonar-markdown</module>    
+    <module>sonar-markdown</module>
     <module>sonar-maven-plugin</module>
     <module>sonar-maven3-plugin</module>
     <module>sonar-plugin-api</module>
             <configuration>
               <rules>
                 <bannedDependencies>
-                  <searchTransitive>true</searchTransitive>
-                  <message>commons-beanutils should be used instead</message>
+                  <!-- See SONAR-2512 -->
+                  <message>commons-beanutils:commons-beanutils should be used instead</message>
                   <excludes>
                     <exclude>commons-beanutils:commons-beanutils-core</exclude>
                   </excludes>
+                  <searchTransitive>true</searchTransitive>
+                </bannedDependencies>
+                <bannedDependencies>
+                  <!-- See SONAR-2455 -->
+                  <message>org.codehaus.plexus:plexus-classworlds should be used instead</message>
+                  <excludes>
+                    <exclude>classworlds:classworlds</exclude>
+                  </excludes>
+                  <searchTransitive>true</searchTransitive>
                 </bannedDependencies>
               </rules>
             </configuration>
         <version>3.2</version>
       </dependency>
       <dependency>
-        <groupId>classworlds</groupId>
-        <artifactId>classworlds</artifactId>
-        <version>1.1</version>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-classworlds</artifactId>
+        <version>2.2.3</version>
       </dependency>
       <dependency>
         <groupId>commons-collections</groupId>
         <version>${derby.version}</version>
       </dependency>
       <dependency>
-           <!-- 
-                IMPORTANT: DO NOT UPGRADE THIS LIB. Indeed v.1.0.0.1 is a dedicated branch to support Tomcat 5.x. Versions 1.0.5 and greater do not support Tomcat 5.
-                See http://jira.codehaus.org/browse/SONAR-2212
-           -->
+         <!--
+         IMPORTANT: DO NOT UPGRADE THIS LIB. Indeed v.1.0.0.1 is a dedicated branch to support Tomcat 5.x. Versions 1.0.5 and greater do not support Tomcat 5.
+         See http://jira.codehaus.org/browse/SONAR-2212
+         -->
         <groupId>org.jruby.rack</groupId>
         <artifactId>jruby-rack</artifactId>
         <version>1.0.0.1</version>
         <groupId>org.apache.maven</groupId>
         <artifactId>maven-core</artifactId>
         <version>2.0.7</version>
+        <exclusions>
+          <exclusion>
+            <!-- See SONAR-2455 -->
+            <groupId>classworlds</groupId>
+            <artifactId>classworlds</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.maven</groupId>
         <groupId>org.apache.maven</groupId>
         <artifactId>maven-project</artifactId>
         <version>2.0.7</version>
+        <exclusions>
+          <exclusion>
+            <!-- See SONAR-2455 -->
+            <groupId>classworlds</groupId>
+            <artifactId>classworlds</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.maven.shared</groupId>
         <artifactId>maven-dependency-tree</artifactId>
         <version>1.2</version>
+        <exclusions>
+          <exclusion>
+            <!-- See SONAR-2455 -->
+            <groupId>classworlds</groupId>
+            <artifactId>classworlds</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.maven.shared</groupId>
         <module>samples</module>
       </modules>
     </profile>
-    
+
     <profile>
       <id>dev</id>
       <properties>
-           <!-- used in sonar-core-gwt and sonar-design-plugin -->
+        <!-- used in sonar-core-gwt and sonar-design-plugin -->
         <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
         <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
       </properties>
index 509ab6b2ecc8f235ba05889ca56ca89315372924..f8b17f3b2ae1dfe9f38e7b1d3eb37313403c15b5 100644 (file)
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-classworlds</artifactId>
-      <!-- TODO version should be defined in parent -->
-      <version>2.2.3</version>
     </dependency>
   </dependencies>
 </project>
index 8b65aa8e98c60278dbcfaa5776c42668c2cdfea7..7d1fe84dcdc8de5c351368fc909c8078c93f7fa2 100644 (file)
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-classic</artifactId>
     </dependency>
-    <dependency>
-      <groupId>classworlds</groupId>
-      <artifactId>classworlds</artifactId>
-    </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-core</artifactId>