dependency management in parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/branches/version-2.0-work@1151523 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/cglib/pom.xml b/cglib/pom.xml
index d2c47ab..23c6e32 100644
--- a/cglib/pom.xml
+++ b/cglib/pom.xml
@@ -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>
diff --git a/core/pom.xml b/core/pom.xml
index b3ad3cc..cb46322 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -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>
diff --git a/javassist/pom.xml b/javassist/pom.xml
index 5832507..4f455fe 100644
--- a/javassist/pom.xml
+++ b/javassist/pom.xml
@@ -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>
diff --git a/pom.xml b/pom.xml
index 871ddbf..2dac011 100644
--- a/pom.xml
+++ b/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>
diff --git a/stub/pom.xml b/stub/pom.xml
index a6af71e..0e310cd 100644
--- a/stub/pom.xml
+++ b/stub/pom.xml
@@ -32,14 +32,16 @@
</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>