Author: veithen Date: Mon Mar 11 21:21:45 2013 New Revision: 1455337 URL: http://svn.apache.org/r1455337 Log: Eliminate the dependencies from the root/parent POM and move them to the appropriate modules.
Modified: axis/axis2/java/rampart/trunk/modules/rampart-core/pom.xml axis/axis2/java/rampart/trunk/modules/rampart-integration/pom.xml axis/axis2/java/rampart/trunk/modules/rampart-policy/pom.xml axis/axis2/java/rampart/trunk/modules/rampart-tests/pom.xml axis/axis2/java/rampart/trunk/modules/rampart-trust/pom.xml axis/axis2/java/rampart/trunk/pom.xml Modified: axis/axis2/java/rampart/trunk/modules/rampart-core/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-core/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-core/pom.xml (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-core/pom.xml Mon Mar 11 21:21:45 2013 @@ -58,6 +58,36 @@ <dependencies> <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-kernel</artifactId> + </dependency> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-mtompolicy</artifactId> + </dependency> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>mex</artifactId> + <classifier>impl</classifier> + </dependency> + <dependency> + <groupId>org.apache.ws.security</groupId> + <artifactId>wss4j</artifactId> + </dependency> + <dependency> + <groupId>bouncycastle</groupId> + <artifactId>bcprov-jdk15</artifactId> + </dependency> + <dependency> + <groupId>org.opensaml</groupId> + <artifactId>opensaml</artifactId> + </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>org.apache.rampart</groupId> <artifactId>rampart-policy</artifactId> <version>${project.version}</version> @@ -72,6 +102,11 @@ <artifactId>axiom-dom</artifactId> <scope>runtime</scope> </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> </dependencies> <reporting> Modified: axis/axis2/java/rampart/trunk/modules/rampart-integration/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-integration/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-integration/pom.xml (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-integration/pom.xml Mon Mar 11 21:21:45 2013 @@ -630,8 +630,6 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>${junit.version}</version> - <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> Modified: axis/axis2/java/rampart/trunk/modules/rampart-policy/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-policy/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-policy/pom.xml (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-policy/pom.xml Mon Mar 11 21:21:45 2013 @@ -56,6 +56,17 @@ </plugins> </build> + <dependencies> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-kernel</artifactId> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-api</artifactId> + </dependency> + </dependencies> + <reporting> <plugins> <plugin> Modified: axis/axis2/java/rampart/trunk/modules/rampart-tests/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-tests/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-tests/pom.xml (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-tests/pom.xml Mon Mar 11 21:21:45 2013 @@ -82,6 +82,11 @@ <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> </dependencies> <reporting> Modified: axis/axis2/java/rampart/trunk/modules/rampart-trust/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-trust/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-trust/pom.xml (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-trust/pom.xml Mon Mar 11 21:21:45 2013 @@ -82,6 +82,28 @@ <scope>runtime</scope> </dependency> <dependency> + <groupId>org.apache.ws.security</groupId> + <artifactId>wss4j</artifactId> + </dependency> + <dependency> + <groupId>bouncycastle</groupId> + <artifactId>bcprov-jdk15</artifactId> + </dependency> + <dependency> + <groupId>org.opensaml</groupId> + <artifactId>opensaml</artifactId> + </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <scope>test</scope> Modified: axis/axis2/java/rampart/trunk/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/pom.xml?rev=1455337&r1=1455336&r2=1455337&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/pom.xml (original) +++ axis/axis2/java/rampart/trunk/pom.xml Mon Mar 11 21:21:45 2013 @@ -286,85 +286,26 @@ </plugins> </build> - - <dependencies> - - <!-- Axis2 and Axiom Dependencies --> - <dependency> - <groupId>org.apache.axis2</groupId> - <artifactId>axis2-kernel</artifactId> - <version>${axis2.version}</version> - </dependency> - <dependency> - <groupId>org.apache.axis2</groupId> - <artifactId>mex</artifactId> - <version>${axis2.version}</version> - <classifier>impl</classifier> - </dependency> - <dependency> - <groupId>org.apache.axis2</groupId> - <artifactId>axis2-mtompolicy</artifactId> - <version>${axis2.version}</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.apache.axis2</groupId> - <artifactId>addressing</artifactId> - <type>mar</type> - <version>${axis2.version}</version> - <scope>compile</scope> - </dependency> - - <!-- Other Rampart Dependencies --> - <dependency> - <groupId>org.apache.ws.security</groupId> - <artifactId>wss4j</artifactId> - <version>${wss4j.version}</version> - </dependency> - <dependency> - <groupId>xalan</groupId> - <artifactId>xalan</artifactId> - <version>2.7.1</version> - </dependency> - <dependency> - <groupId>org.opensaml</groupId> - <artifactId>opensaml</artifactId> - <version>${opensaml.version}</version> - <exclusions> - <!-- Don't allow OpenSAML to impose a particular logging implementation --> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>jcl-over-slf4j</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>log4j-over-slf4j</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.3</version> - </dependency> - <dependency> - <groupId>bouncycastle</groupId> - <artifactId>bcprov-jdk15</artifactId> - <version>${bcprov.jdk15.version}</version> - </dependency> - - <!-- Junit Dependency --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> - <scope>test</scope> - </dependency> - - </dependencies> - <dependencyManagement> <dependencies> + <!-- Axis2 dependencies --> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-kernel</artifactId> + <version>${axis2.version}</version> + </dependency> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-mtompolicy</artifactId> + <version>${axis2.version}</version> + </dependency> + <dependency> + <groupId>org.apache.axis2</groupId> + <artifactId>mex</artifactId> + <version>${axis2.version}</version> + <classifier>impl</classifier> + </dependency> + <!-- Since Rampart depends on DOOM, but axiom-dom is not a transitive dependency, we need to manage the Axiom version. --> <dependency> @@ -383,6 +324,39 @@ <version>${axiom.version}</version> </dependency> + <!-- Other Rampart Dependencies --> + <dependency> + <groupId>org.apache.ws.security</groupId> + <artifactId>wss4j</artifactId> + <version>${wss4j.version}</version> + </dependency> + <dependency> + <groupId>bouncycastle</groupId> + <artifactId>bcprov-jdk15</artifactId> + <version>${bcprov.jdk15.version}</version> + </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <version>2.7.1</version> + </dependency> + <dependency> + <groupId>org.opensaml</groupId> + <artifactId>opensaml</artifactId> + <version>${opensaml.version}</version> + <exclusions> + <!-- Don't allow OpenSAML to impose a particular logging implementation --> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> @@ -424,6 +398,11 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + </dependency> </dependencies> </dependencyManagement> @@ -496,8 +475,6 @@ <bcprov.jdk15.version>140</bcprov.jdk15.version> - <junit.version>3.8.2</junit.version> - <!-- distribution properties --> <dist.dir>rampart-${project.version}</dist.dir> <failIfNoTests>false</failIfNoTests>