Skip to content
Permalink
Browse files
dependency management in parent pom
  • Loading branch information
mbenson committed Jul 27, 2011
1 parent 9f80f3f commit a6ae2b204e0deaef6ff84d9093cdcf63c4229a2a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 10 deletions.
@@ -37,7 +37,6 @@
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.1_3</version>
<optional>true</optional>
</dependency>
<dependency>
@@ -50,13 +49,11 @@
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>commons-proxy2</artifactId>
<name>Commons Proxy</name>
<name>Commons Proxy Core</name>
<dependencies>
<dependency>
<groupId>aopalliance</groupId>
@@ -37,7 +37,6 @@
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -49,13 +48,11 @@
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
38 pom.xml
@@ -21,12 +21,12 @@
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>build-tools</module>
<module>core</module>
<module>jdk</module>
<module>javassist</module>
<module>cglib</module>
<module>stub</module>
<module>build-tools</module>
<module>test</module>
</modules>
<parent>
@@ -196,6 +196,42 @@
</site>
</distributionManagement>

<dependencyManagement>
<dependencies>
<!-- TODO remove -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.1_3</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-functor</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
</dependency>
</dependencies>
</dependencyManagement>

<properties>
<maven.compile.source>1.6</maven.compile.source>
<maven.compile.target>1.6</maven.compile.target>
@@ -30,16 +30,18 @@
<artifactId>commons-proxy2</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-functor</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0-SNAPSHOT</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>

0 comments on commit a6ae2b2

Please sign in to comment.