diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2007-01-12 01:03:21 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2007-01-12 01:03:21 +0000 |
| commit | 7d02021e1405afa249b3f9c6427b3a6ea7095d15 (patch) | |
| tree | 1e06e7776c7a4bb2838ad2495579ad24bc4a503f /java/pom.xml | |
| parent | 9eef1e1f7ddc4c4ace42c3edbc3fa9db1e509666 (diff) | |
| download | qpid-python-7d02021e1405afa249b3f9c6427b3a6ea7095d15.tar.gz | |
QPID-146 QPID-112 QPID-278
Summary
Reworked a lot of the distribution work done by the build system.
This ended up with me creating a reduced client distribution (hope that is ok Steve)
Each module now has has a distribution directory (except common it may need a tests build later) This will build the individual components in to a distribution binary only, binary with tests and source.
To build the binary with tests in the distribution directory use profile tests so $mvn -Ptests
In all cases the dependencies have been reduced and correctly assigned to the correct scope.
There were a couple of cases where a runtime dependency of one of our dependencies didn't make it in to the distributions so they were added explicitly. This should be looked at again.
Specifics
Broker:
Three new assembly files are located in the distribution/src directory (broker-bin taking heavily from distribution - bin) these generate the three distributions.
SimpleFilterManager.java removed slf4j reference
broker/test directory removed as it was left over from the ant system
Client:
Added intelij files to ignore list.
client/dist deleted as it was left over from the ant system
client/distribution as for the broker three assemblies matching the three distributions
Renamed log4j.properties to client.log4j to prevent issues when it is packaged into the jar.
Removed old_test ping and requestreply1 as they have been moved to perftests
Moved broker back to a test dependency. This required modifying AMQSession.java to remove reference to ExchangeBoundHandler.java
Common:
Added more common dependencies from broker and client here.
Distribution:
Reduced the assemblies to only build the full project binary, binary with tests and source.
Perftests:
Added building of perftests distribution so this can be bundled separately.
Resources:
Moved Resources from distribution project to root level this allows them to be easily incorporated in all projects.
Systests:
as with perftests now builds a separate distribution that can be used on an existing installation.
renamed log4j.properties to systests.log4j to prevent logging problems.
As systests is a module having the code under the test folder isn't accurate as it is the main code. Test code here should be testing the tests :D !!
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@495455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/pom.xml')
| -rw-r--r-- | java/pom.xml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/java/pom.xml b/java/pom.xml index 25dba411e5..db5820c0e3 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -65,6 +65,7 @@ <archive>http://mail-archives.apache.org/mod_mbox/incubator-qpid-commits</archive> </mailingList> </mailingLists> + <licenses> <license> <name>The Apache Software License, Version 2.0</name> @@ -72,10 +73,12 @@ <distribution>repo</distribution> </license> </licenses> + <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org/</url> </organization> + <properties> <topDirectoryLocation>.</topDirectoryLocation> @@ -148,6 +151,7 @@ </includes> </resource> </resources> + <testResources> <testResource> <directory>src/test/java</directory> @@ -183,7 +187,6 @@ <artifactId>ant-nodeps</artifactId> <version>1.6.5</version> </dependency> - </dependencies> <executions> @@ -232,16 +235,19 @@ </execution> </executions> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${jar.version}</version> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${resources.version}</version> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> @@ -252,6 +258,7 @@ <fork>${compile.forked}</fork> </configuration> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> @@ -273,11 +280,13 @@ </systemproperties> </configuration> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${site.version}</version> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> @@ -292,14 +301,16 @@ </projectnatures> </configuration> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> - <downloadSources>true</downloadSources> + <!--downloadSources>true</downloadSources--> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> @@ -407,6 +418,8 @@ <artifactId>backport-util-concurrent</artifactId> <version>2.2</version> </dependency> + + <!-- Test Dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> @@ -419,6 +432,8 @@ <version>2.2</version> <scope>test</scope> </dependency> + + <!-- Qpid Version Dependencies --> <dependency> <groupId>org.apache.qpid</groupId> <artifactId>qpid-common</artifactId> @@ -436,6 +451,16 @@ </dependency> <dependency> <groupId>org.apache.qpid</groupId> + <artifactId>qpid-perftests</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.qpid</groupId> + <artifactId>qpid-systests</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.qpid</groupId> <artifactId>qpid-mgmt-core</artifactId> <version>${project.version}</version> </dependency> |
