From 59f5427b7f2b9f6959aebf257b1e6f11d237b03d Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Tue, 31 Jul 2007 09:07:57 +0000 Subject: Changes to POMs. Client pom now builds a single jar with all dependancies included in the single bundle. systests/pom.xml adjusted to include only *Test.class items. This will fix the current Error on OptOutTestCase management/eclipse-plugin/pom.xml - editied to include there required MANIFEST.MF to identify plugin to eclipse distribution/src/main/assembly/management-eclipse-plugin.xml editied to include there required MANIFEST.MF to identify the plugin distribution/pom.xml - white space Also updated log4j.xml default to create an alert.log file from the AMQQueue alerting. Added a debug.log4j.xml that gives example of debugging the broker via log4j. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@561278 13f79535-47bb-0310-9956-ffa450edef68 --- java/broker/etc/debug.log4j.xml | 114 +++++++++++++++++++++ java/broker/etc/log4j.xml | 36 +++++-- java/client/pom.xml | 28 ++++- java/distribution/pom.xml | 1 - .../main/assembly/management-eclipse-plugin.xml | 17 ++- java/management/eclipse-plugin/pom.xml | 41 ++++---- java/systests/pom.xml | 3 + 7 files changed, 209 insertions(+), 31 deletions(-) create mode 100644 java/broker/etc/debug.log4j.xml (limited to 'java') diff --git a/java/broker/etc/debug.log4j.xml b/java/broker/etc/debug.log4j.xml new file mode 100644 index 0000000000..e8fd7e119d --- /dev/null +++ b/java/broker/etc/debug.log4j.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/broker/etc/log4j.xml b/java/broker/etc/log4j.xml index 2fb7b80c96..2060246b7f 100644 --- a/java/broker/etc/log4j.xml +++ b/java/broker/etc/log4j.xml @@ -44,7 +44,7 @@ - + @@ -57,6 +57,15 @@ + + + + + + + + + @@ -64,15 +73,27 @@ - + + + + + + + + + + + + + - - + + + @@ -80,10 +101,11 @@ --> + - + diff --git a/java/client/pom.xml b/java/client/pom.xml index 02958ded6f..b51e540c2d 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -134,13 +134,39 @@ ueberjar - true + false [artifactId]-[version]-single.jar + single + true + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + target/${artifactId}-${version}-single.jar + jar + single + + + + + + + + org.apache.maven.plugins maven-antrun-plugin diff --git a/java/distribution/pom.xml b/java/distribution/pom.xml index 120475cc72..7899ef8912 100644 --- a/java/distribution/pom.xml +++ b/java/distribution/pom.xml @@ -135,7 +135,6 @@ - assembly:assembly diff --git a/java/distribution/src/main/assembly/management-eclipse-plugin.xml b/java/distribution/src/main/assembly/management-eclipse-plugin.xml index bd0d2bdd99..05df2c030b 100644 --- a/java/distribution/src/main/assembly/management-eclipse-plugin.xml +++ b/java/distribution/src/main/assembly/management-eclipse-plugin.xml @@ -30,7 +30,7 @@ ../resources - qpid-${qpid.version} + qpidmc DISCLAIMER LICENSE @@ -90,7 +90,18 @@ 0777 - + + + + + + ../management/eclipse-plugin/src/main/resources/sasl + qpidmc/eclipse/plugins/jmxremote.sasl_1.0.1/META-INF + + MANIFEST.MF + + + @@ -102,7 +113,7 @@ org.apache.qpid:qpid-common org.apache.qpid:qpid-broker org.apache.qpid:qpid-client - commons-cli:commons-cli + commons-cli:commons-cli commons-configuration:commons-configuration commons-lang:commons-lang org.apache.mina:mina-filter-ssl diff --git a/java/management/eclipse-plugin/pom.xml b/java/management/eclipse-plugin/pom.xml index 6637460822..2ec30d212a 100644 --- a/java/management/eclipse-plugin/pom.xml +++ b/java/management/eclipse-plugin/pom.xml @@ -15,7 +15,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---> + --> @@ -38,17 +38,17 @@ - + repo1.maven.org Maven eclipse Repository http://repo1.maven.org/eclipse - - + + apache.snapshots Apache SNAPSHOT Repository http://people.apache.org/repo/m2-snapshot-repository - true + true @@ -197,43 +197,46 @@ icons/ icons/ - ** + ** icons/ / - splash.bmp + splash.bmp - ${basedir} - / - - plugin.xml - plugin.properties - + ${basedir} + / + + plugin.xml + plugin.properties + - + + org.apache.maven.plugins maven-jar-plugin - - META-INF/MANIFEST.MF - - ${artifactId}_${version} + + META-INF/MANIFEST.MF + + ${artifactId}_${version} - + +