diff options
| author | Robert Greig <rgreig@apache.org> | 2007-01-15 17:29:32 +0000 |
|---|---|---|
| committer | Robert Greig <rgreig@apache.org> | 2007-01-15 17:29:32 +0000 |
| commit | a83817a1f39a471272494e28d059373d6a6f77df (patch) | |
| tree | d66ba37dee96c5bbe25a41476dbc672b0e80de64 /java/pom.xml | |
| parent | 23ad76b344c064a926152a6728b0838bbf446f22 (diff) | |
| download | qpid-python-a83817a1f39a471272494e28d059373d6a6f77df.tar.gz | |
(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
Diffstat (limited to 'java/pom.xml')
| -rw-r--r-- | java/pom.xml | 37 |
1 files changed, 25 insertions, 12 deletions
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 @@ <name>Apache SNAPSHOT Repository</name> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url> </snapshotRepository> + + <!-- Qpid has a Wiki site, maven generated site not used. This is just so that it can be created locally for viewing the reports. --> + <site> + <id>Qpid_Site</id> + <name>Qpid Site</name> + <url>file:/temp</url> + </site> + </distributionManagement> <inceptionYear>2006</inceptionYear> @@ -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 @@ </plugin> </plugins> </pluginManagement> + <defaultGoal>install</defaultGoal> + </build> <dependencyManagement> @@ -360,13 +370,6 @@ <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.1</version> - <exclusions> - <!-- this seems to have a junit compile dependency --> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>commons-logging</groupId> @@ -426,6 +429,7 @@ <version>${junit.version}</version> <scope>test</scope> </dependency> + <dependency> <groupId>org.easymock</groupId> <artifactId>easymockclassextension</artifactId> @@ -433,6 +437,15 @@ <scope>test</scope> </dependency> + <!-- Will be added to maven repo soon. JUnit test runner that can add repeats/concurrenct/timing etc to tests. + <dependency> + <groupId>uk.co.thebadgerset</groupId> + <artifactId>junit-toolkit</artifactId> + <version>0.3</version> + <scope>test</scope> + </dependency> + --> + <!-- Qpid Version Dependencies --> <dependency> <groupId>org.apache.qpid</groupId> |
