Commits

Sebastian Sdorra committed 935fe1e

exclude unused dependencies

  • Participants
  • Parent commits f059342
  • Branches apache-shiro

Comments (0)

Files changed (4)

File scm-clients/pom.xml

   
   <dependencies>
 
+    <!-- 
+    scm-core with excludes.
+    TODO: create a module only for data objects.
+    -->
+    
     <dependency>
+      <artifactId>scm-core</artifactId>
       <groupId>sonia.scm</groupId>
-      <artifactId>scm-core</artifactId>
+      <type>jar</type>
       <version>1.21-SNAPSHOT</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>shiro-core</artifactId>
+          <groupId>org.apache.shiro</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>aopalliance</artifactId>
+          <groupId>aopalliance</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>guice</artifactId>
+          <groupId>com.google.inject</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>guice-multibindings</artifactId>
+          <groupId>com.google.inject.extensions</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>guice-servlet</artifactId>
+          <groupId>com.google.inject.extensions</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>jersey-core</artifactId>
+          <groupId>com.sun.jersey</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>guice-throwingproviders</artifactId>
+          <groupId>com.google.inject.extensions</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>commons-lang</artifactId>
+          <groupId>commons-lang</groupId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
   </dependencies>

File scm-clients/scm-cli-client/pom.xml

     </dependency>
     
     <dependency>
-      <artifactId>scm-core</artifactId>
-      <groupId>sonia.scm</groupId>
-      <version>1.21-SNAPSHOT</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>guice</artifactId>
-          <groupId>com.google.inject</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>guice-servlet</artifactId>
-          <groupId>com.google.inject.extensions</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>guice-multibindings</artifactId>
-          <groupId>com.google.inject.extensions</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
       <groupId>sonia.scm.clients</groupId>
       <artifactId>scm-client-impl</artifactId>
       <version>1.21-SNAPSHOT</version>

File scm-clients/scm-client-api/pom.xml

       <version>1.1</version>
       <scope>provided</scope>
     </dependency>
-  
+    
   </dependencies>
   
 </project>

File scm-clients/scm-client-impl/pom.xml

     </dependency>
     
     <dependency>
-      <artifactId>scm-core</artifactId>
-      <groupId>sonia.scm</groupId>
-      <version>1.21-SNAPSHOT</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>aopalliance</artifactId>
-          <groupId>aopalliance</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>guice</artifactId>
-          <groupId>com.google.inject</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>guice-multibindings</artifactId>
-          <groupId>com.google.inject.extensions</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>guice-servlet</artifactId>
-          <groupId>com.google.inject.extensions</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-  
-    <dependency>
       <groupId>sonia.scm.clients</groupId>
       <artifactId>scm-client-api</artifactId>
       <version>1.21-SNAPSHOT</version>