From a83817a1f39a471272494e28d059373d6a6f77df Mon Sep 17 00:00:00 2001 From: Robert Greig Date: Mon, 15 Jan 2007 17:29:32 +0000 Subject: (Patch submitted by Rupert Smith) QPID-297 There were junit exclusions in the POM files that were causing junit to not be found when compiling tests. This may be a maven bug, but a better solution is to exclude stuff in assembly descriptors instead. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496414 13f79535-47bb-0310-9956-ffa450edef68 --- java/broker/pom.xml | 10 ++---- java/client/pom.xml | 8 +---- .../distribution/src/main/assembly/performance.xml | 2 +- java/perftests/pom.xml | 24 +++++++++++++- java/pom.xml | 37 +++++++++++++++------- 5 files changed, 53 insertions(+), 28 deletions(-) (limited to 'java') diff --git a/java/broker/pom.xml b/java/broker/pom.xml index 339d90ef9e..2cf8a563f0 100644 --- a/java/broker/pom.xml +++ b/java/broker/pom.xml @@ -37,6 +37,7 @@ + org.apache.qpid qpid-common @@ -45,12 +46,6 @@ commons-cli commons-cli - - - junit - junit - - @@ -63,7 +58,7 @@ commons-lang - + junit junit @@ -75,6 +70,7 @@ easymockclassextension test + diff --git a/java/client/pom.xml b/java/client/pom.xml index 35f5224a67..854428fb39 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -55,12 +55,6 @@ commons-collections commons-collections - - - log4j - log4j - - @@ -73,7 +67,7 @@ mina-filter-ssl - + org.apache.qpid qpid-broker diff --git a/java/perftests/distribution/src/main/assembly/performance.xml b/java/perftests/distribution/src/main/assembly/performance.xml index c36b7e3640..0bf7efa21e 100644 --- a/java/perftests/distribution/src/main/assembly/performance.xml +++ b/java/perftests/distribution/src/main/assembly/performance.xml @@ -93,4 +93,4 @@ -G + diff --git a/java/perftests/pom.xml b/java/perftests/pom.xml index 98d2696b80..bfa24d99a3 100644 --- a/java/perftests/pom.xml +++ b/java/perftests/pom.xml @@ -38,10 +38,32 @@ + org.apache.qpid qpid-client + + + log4j + log4j + + + + + junit + junit + compile + + + + @@ -54,7 +76,7 @@ org.apache.maven.plugins maven-surefire-plugin - true + diff --git a/java/pom.xml b/java/pom.xml index db5820c0e3..b00c36c002 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -46,6 +46,14 @@ Apache SNAPSHOT Repository scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository + + + + Qpid_Site + Qpid Site + file:/temp + + 2006 @@ -199,13 +207,13 @@ time, during the 'package' phase to capture the version of any resources added to jar files. This svnversion command is always run in the top directory to accurately reflect the svnversion range accross all modules at the time of the build. - The properties are placed into a file 'qpidversion.properties' in the target/classes directory of any child module that runs - this plugin. + The properties are placed into a file 'qpidversion.properties' in the target/classes directory of any child module + that runs this plugin. The 'qpidversion.properties' file is loaded by the org.apache.qpid.common.QpidProperties class. Be carefull of the possibility that the 'common' module may run this antrun plugin and recieve its own set of - qpidversion.properties and then the client or broker being built against an older version of the common library ending up with - the wrong version information. This is unlikely to happen because the client or broker should pick up its own properties - from the classpath first. If this happens it will be obvious because the productName property will be + qpidversion.properties and then the client or broker being built against an older version of the common library ending + up with the wrong version information. This is unlikely to happen because the client or broker should pick up its own + properties from the classpath first. If this happens it will be obvious because the productName property will be 'Qpid Common Utilities'. If this is a problem then push this ant task down into the client and broker poms and remove it from here. --> @@ -331,7 +339,9 @@ + install + @@ -360,13 +370,6 @@ commons-lang commons-lang 2.1 - - - - junit - junit - - commons-logging @@ -426,6 +429,7 @@ ${junit.version} test + org.easymock easymockclassextension @@ -433,6 +437,15 @@ test + + org.apache.qpid -- cgit v1.2.1