From 74f25dd6384b2a1f3154229c53cce16203a4bc72 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 20 Nov 2006 15:07:02 +0000 Subject: broker/pom.xml - removed test scope from junit to remove warning in build log. TransportConnection.java/AMQQueue.java - change log level on a print statement from warn to info log4j.properties - updated threashold to be 'all' so we can set the logging level with amqj.logging.level client/pom.xml - fixed mvn test run output. It wasn't using our log4.properties file. systests/pom.xml - added log4j.properties configuration broker/pom.xml - added log4j.properties configuration common/pom.xml - skipped tests as there are none, and it caused the build to fail Also adjusted spaceing to be 4 space per tab (and no tabs) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477214 13f79535-47bb-0310-9956-ffa450edef68 --- java/broker/pom.xml | 154 ++- java/client/pom.xml | 200 ++-- java/client/src/main/java/log4j.properties | 2 +- .../qpid/client/transport/TransportConnection.java | 4 +- java/cluster/pom.xml | 3 +- java/common/pom.xml | 135 ++- java/pom.xml | 1237 ++++++++++---------- java/systests/pom.xml | 149 +-- java/systests/src/test/java/log4j.properties | 28 + 9 files changed, 967 insertions(+), 945 deletions(-) create mode 100644 java/systests/src/test/java/log4j.properties (limited to 'java') diff --git a/java/broker/pom.xml b/java/broker/pom.xml index 85aae51217..26071f3c20 100644 --- a/java/broker/pom.xml +++ b/java/broker/pom.xml @@ -18,72 +18,100 @@ --> - 4.0.0 - org.apache.qpid - qpid-broker - jar - 1.0-incubating-M2-SNAPSHOT - Qpid Broker - http://cwiki.apache.org/confluence/display/qpid - - + 4.0.0 org.apache.qpid - qpid + qpid-broker + jar 1.0-incubating-M2-SNAPSHOT - + Qpid Broker + http://cwiki.apache.org/confluence/display/qpid + + + org.apache.qpid + qpid + 1.0-incubating-M2-SNAPSHOT + + + + .. + + + + + org.apache.qpid + qpid-common + + + + commons-cli + commons-cli + + + commons-configuration + commons-configuration + + + commons-lang + commons-lang + + + org.apache.mina + mina-filter-ssl + + + org.apache.mina + mina-java5 + + + backport-util-concurrent + backport-util-concurrent + - - .. - + + org.slf4j + slf4j-simple + + + junit + junit + + + ant + ant-junit + + + org.easymock + easymockclassextension + test + + - - - commons-cli - commons-cli - - - commons-configuration - commons-configuration - - - commons-lang - commons-lang - - - org.apache.mina - mina-filter-ssl - - - org.apache.mina - mina-java5 - - - backport-util-concurrent - backport-util-concurrent - - - org.apache.qpid - qpid-common - - - org.slf4j - slf4j-simple - - - junit - junit - test - - - ant - ant-junit - test - - - org.easymock - easymockclassextension - test - - + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + amqj.noAutoCreateVMBroker + true + + + amqj.logging.level + WARN + + + log4j.configuration + file:///${basedir}/src/main/java/log4j.properties + + + + **/test/**/*Test.java + + + + + diff --git a/java/client/pom.xml b/java/client/pom.xml index 6965a72759..cd619a824a 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -19,109 +19,109 @@ - 4.0.0 - org.apache.qpid - qpid-client - jar - 1.0-incubating-M2-SNAPSHOT - Qpid Client - http://cwiki.apache.org/confluence/display/qpid - - + 4.0.0 org.apache.qpid - qpid + qpid-client + jar 1.0-incubating-M2-SNAPSHOT - + Qpid Client + http://cwiki.apache.org/confluence/display/qpid + + + org.apache.qpid + qpid + 1.0-incubating-M2-SNAPSHOT + + + + .. + warn + + + + + + org.apache.qpid + qpid-common + + + org.apache.qpid + qpid-broker + + + + + commons-codec + commons-codec + + + + org.apache.geronimo.specs + geronimo-jms_1.1_spec + + + commons-collections + commons-collections + + + commons-lang + commons-lang + + + org.apache.mina + mina-filter-ssl + + + + + jmscts + jmscts + 0.5-b2 + + + jms + jms + + + - - .. - + + org.easymock + easymockclassextension + test + - - - commons-codec - commons-codec - - - org.apache.geronimo.specs - geronimo-jms_1.1_spec - - - commons-collections - commons-collections - - - commons-lang - commons-lang - - - org.apache.mina - mina-filter-ssl - - - org.apache.qpid - qpid-common - - - org.apache.qpid - qpid-broker - - - org.slf4j - slf4j-simple - test - - - junit - junit - test - - - org.easymock - easymockclassextension - test - - - jmscts - jmscts - 0.5-b2 - test - - - jms - jms - - - - - xml-security - xml-security - 1.0.4 - test - - + - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - amqj.noAutoCreateVMBroker - true - - - - **/test/unit/**/*Test.java - - - **/JNDIReferenceableTest.java - **/TransactedTest.java - - - - - + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + amqj.noAutoCreateVMBroker + true + + + amqj.logging.level + WARN + + + log4j.configuration + file:///${basedir}/src/main/java/log4j.properties + + + + **/test/unit/**/*Test.java + + + **/JNDIReferenceableTest.java + **/TransactedTest.java + + + + + diff --git a/java/client/src/main/java/log4j.properties b/java/client/src/main/java/log4j.properties index 371cfb6d61..6d596d1d19 100644 --- a/java/client/src/main/java/log4j.properties +++ b/java/client/src/main/java/log4j.properties @@ -23,6 +23,6 @@ log4j.logger.org.apache.qpid=${amqj.logging.level}, console log4j.additivity.org.apache.qpid=false log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.Threshold=info +log4j.appender.console.Threshold=all log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n diff --git a/java/client/src/main/java/org/apache/qpid/client/transport/TransportConnection.java b/java/client/src/main/java/org/apache/qpid/client/transport/TransportConnection.java index ead8308143..58507a75ca 100644 --- a/java/client/src/main/java/org/apache/qpid/client/transport/TransportConnection.java +++ b/java/client/src/main/java/org/apache/qpid/client/transport/TransportConnection.java @@ -120,12 +120,12 @@ public class TransportConnection //FIXME - this needs to be sorted to use the new Mina MultiThread SA. if (Boolean.getBoolean("qpidnio")) { - _logger.warn("Using Qpid NIO - DISABLED"); + _logger.fatal("Using Qpid NIO - sysproperty 'qpidnio' is set."); // result = new org.apache.qpid.nio.SocketConnector(); // non-blocking connector } // else { - _logger.warn("Using Mina NIO"); + _logger.info("Using Mina NIO"); result = new SocketConnector(); // non-blocking connector } diff --git a/java/cluster/pom.xml b/java/cluster/pom.xml index a7c38e923b..7b198a70d3 100644 --- a/java/cluster/pom.xml +++ b/java/cluster/pom.xml @@ -51,8 +51,7 @@ junit - junit - test + junit ant diff --git a/java/common/pom.xml b/java/common/pom.xml index b69e1e1ec3..c40f773ade 100644 --- a/java/common/pom.xml +++ b/java/common/pom.xml @@ -19,72 +19,81 @@ - 4.0.0 - org.apache.qpid - qpid-common - jar - 1.0-incubating-M2-SNAPSHOT - Qpid Common Utilities - http://cwiki.apache.org/confluence/display/qpid - - + 4.0.0 org.apache.qpid - qpid + qpid-common + jar 1.0-incubating-M2-SNAPSHOT - + Qpid Common Utilities + http://cwiki.apache.org/confluence/display/qpid + + + org.apache.qpid + qpid + 1.0-incubating-M2-SNAPSHOT + + + + .. + ${basedir}/src/main/xsl/cluster.asl + ${basedir}/src/main/xsl/framing.xsl + ${basedir}/src/main/xsl/registry.xsl + ${basedir}/src/main/xsl/registry.template + ${project.build.directory}/generated/xsl + org/apache/qpid/framing + ${generated.path}/${generated.package} + ${topDirectoryLocation}/../specs + - - .. - ${basedir}/src/main/xsl/cluster.asl - ${basedir}/src/main/xsl/framing.xsl - ${basedir}/src/main/xsl/registry.xsl - ${basedir}/src/main/xsl/registry.template - ${project.build.directory}/generated/xsl - org/apache/qpid/framing - ${generated.path}/${generated.package} - ${topDirectoryLocation}/../specs - + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + - - - - org.apache.maven.plugins - maven-antrun-plugin - - - protocol-version - generate-sources - - - - - - - - - - - - - ${generated.path} - - - run - - - - - - + + org.apache.maven.plugins + maven-antrun-plugin + + + protocol-version + generate-sources + + + + + + + + + + + + + ${generated.path} + + + run + + + + + + - - - log4j - log4j - - - org.apache.mina - mina-core - - + + + log4j + log4j + + + org.apache.mina + mina-core + + diff --git a/java/pom.xml b/java/pom.xml index de44ee5c16..0afe4b3edd 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -21,668 +21,615 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - 4.0.0 - org.apache.qpid - qpid - 1.0-incubating-M2-SNAPSHOT - Qpid - http://cwiki.apache.org/confluence/display/qpid - - pom - - - scm:svn:http://svn.apache.org/repos/asf/incubator/qpid/trunk - scm:svn:http://svn.apache.org/repos/asf/incubator/qpid/trunk - http://svn.apache.org/viewvc/incubator/qpid/trunk/ - - - - 2.0.4 - - - 2006 - - - Qpid Developer List - qpid-dev-subscribe@incubator.apache.org - qpid-dev-unsubscribe@incubator.apache.org - qpid-dev@incubator.apache.org - http://mail-archives.apache.org/mod_mbox/incubator-qpid-dev - - - Qpid Commits List - qpid-commits-subscribe@incubator.apache.org - qpid-commits-unsubscribe@incubator.apache.org - qpid-commits@incubator.apache.org - http://mail-archives.apache.org/mod_mbox/incubator-qpid-commits - - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - Apache Software Foundation - http://www.apache.org/ - - - . - - once - brief - false - false - 1.5 - -Xlint:fallthrough,finally - - - 1.2-SNAPSHOT - 2.1 - 2.0 - 2.0.1 - 1.0 - 2.2 - 2.0 - 2.0 - 2.0 - 2.0 - 2.2 - 2.0-beta-5 - 2.1-SNAPSHOT - 2.3-SNAPSHOT - - ${basedir}/${topDirectoryLocation}/../workspace - - - - common - broker - client - cluster - systests - - - - - - src/main/java - - **/*.java - - - - src/main/resources - - ** - - - - src/main/resources-filtered - - ** - - true - - - target/generated/src/main/resources - - ** - - - - - - src/test/java - - **/*.java - - - - src/test/resources - - ** - - - - src/test/java - - **/*.xml - - true - - - - - - org.apache.maven.plugins - maven-antrun-plugin - ${antrun.version} - + 4.0.0 + org.apache.qpid + qpid + 1.0-incubating-M2-SNAPSHOT + Qpid + http://cwiki.apache.org/confluence/display/qpid + + pom + + + scm:svn:http://svn.apache.org/repos/asf/incubator/qpid/trunk + scm:svn:http://svn.apache.org/repos/asf/incubator/qpid/trunk + http://svn.apache.org/viewvc/incubator/qpid/trunk/ + + + + 2.0.4 + + + 2006 + + + Qpid Developer List + qpid-dev-subscribe@incubator.apache.org + qpid-dev-unsubscribe@incubator.apache.org + qpid-dev@incubator.apache.org + http://mail-archives.apache.org/mod_mbox/incubator-qpid-dev + + + Qpid Commits List + qpid-commits-subscribe@incubator.apache.org + qpid-commits-unsubscribe@incubator.apache.org + qpid-commits@incubator.apache.org + http://mail-archives.apache.org/mod_mbox/incubator-qpid-commits + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + Apache Software Foundation + http://www.apache.org/ + + + . + + once + brief + false + false + 1.5 + -Xlint:fallthrough,finally + + + 1.2-SNAPSHOT + 2.1 + 2.0 + 2.0.1 + 1.0 + 2.2 + 2.0 + 2.0 + 2.0 + 2.0 + 2.2 + 2.0-beta-5 + 2.1-SNAPSHOT + 2.3-SNAPSHOT + + debug + + ${basedir}/${topDirectoryLocation}/../workspace + + + + common + broker + client + cluster + systests + + + + + + src/main/java + + **/*.java + + + + src/main/resources + + ** + + + + src/main/resources-filtered + + ** + + true + + + target/generated/src/main/resources + + ** + + + + + + src/test/java + + **/*.java + + + + src/test/resources + + ** + + + + src/test/java + + **/*.xml + + true + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + ${antrun.version} + + + ant + ant-nodeps + 1.6.5 + + + + + + org.apache.maven.plugins + maven-jar-plugin + ${jar.version} + + + org.apache.maven.plugins + maven-resources-plugin + ${resources.version} + + + org.apache.maven.plugins + maven-compiler-plugin + ${compiler.version} + + ${java.source.version} + ${java.source.version} + ${compile.forked} + + + + org.apache.maven.plugins + maven-surefire-plugin + ${surefire.version} + + + **/*$* + + ${surefire.format} + ${surefire.usefile} + ${surefire.fork.mode} + false + -ea + + + amqj.logging.level + ${amqj.logging.level} + + + + + + org.apache.maven.plugins + maven-site-plugin + ${site.version} + + + org.apache.maven.plugins + maven-eclipse-plugin + ${eclipse.plugin.version} + + + + org.eclipse.jdt.core.javabuilder + com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder + net.sourceforge.pmd.runtime.pmdBuilder + + + org.eclipse.jdt.core.javanature + com.atlassw.tools.eclipse.checkstyle.CheckstyleNature + net.sourceforge.pmd.runtime.pmdNature + + + + + org.apache.maven.plugins + maven-idea-plugin + + true + true + + + + + + + install + + + + + - xmlbeans - xbean - 2.0.0 + commons-cli + commons-cli + 1.0 + - xmlbeans - xbean_xpath - 2.1.0 + commons-codec + commons-codec + 1.3 - xmlbeans - xmlpublic - 2.1.0 + commons-collections + commons-collections + 3.1 + - javax.xml.bind - jsr173_api - 1.0 + commons-configuration + commons-configuration + 1.2 + - ant - ant-nodeps - 1.6.5 + + commons-lang + commons-lang + 2.1 - ant - ant-trax - 1.6.5 + commons-logging + commons-logging + 1.0.4 + + + + org.apache.geronimo.specs + geronimo-jms_1.1_spec + 1.0 + + + xml-resolver + xml-resolver + 1.1 + + + net.sf.saxon + saxon + 8.7 + + + + jython + jython + 2.1 + + + log4j + log4j + 1.2.12 + + + org.slf4j + slf4j-simple + 1.0 + + + org.apache.mina + mina-core + 1.0.0 + + + org.apache.mina + mina-filter-ssl + 1.0.0 + + + org.apache.mina + mina-java5 + 1.0.0 + + + backport-util-concurrent + backport-util-concurrent + 2.2 + + + junit + junit + 3.8.2 + + + ant + ant-junit + 1.6.5 - - - - org.apache.maven.plugins - maven-jar-plugin - ${jar.version} - - - org.apache.maven.plugins - maven-resources-plugin - ${resources.version} - - - org.apache.maven.plugins - maven-compiler-plugin - ${compiler.version} - - ${java.source.version} - ${java.source.version} - ${compile.forked} - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.version} - - - **/*$* - - ${surefire.format} - ${surefire.usefile} - ${surefire.fork.mode} - false - -ea - - - - org.apache.maven.plugins - maven-site-plugin - ${site.version} - - - org.apache.maven.plugins - maven-eclipse-plugin - ${eclipse.plugin.version} - - - - org.eclipse.jdt.core.javabuilder - com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder - net.sourceforge.pmd.runtime.pmdBuilder - - - org.eclipse.jdt.core.javanature - com.atlassw.tools.eclipse.checkstyle.CheckstyleNature - net.sourceforge.pmd.runtime.pmdNature - - - - - - install - - - - - - commons-attributes - commons-attributes-api - 2.1 - - - commons-attributes - commons-attributes-compiler - 2.1 - - - commons-beanutils - commons-beanutils - 1.6 - - - commons-cli - commons-cli - 1.0 - - - commons-codec - commons-codec - 1.3 - - - commons-collections - commons-collections - 3.1 - - - commons-configuration - commons-configuration - 1.2 - - - commons-dbcp - commons-dbcp - 1.2.1 - - - commons-digester - commons-digester - 1.6 - - - commons-discovery - commons-discovery - 0.2 - - - commons-fileupload - commons-fileupload - 1.0 - - - commons-httpclient - commons-httpclient - 3.0 - - - commons-lang - commons-lang - 2.1 - - - commons-logging - commons-logging - 1.0.4 - - - commons-pool - commons-pool - 1.2 - - - commons-validator - commons-validator - 1.1.4 - - - org.apache.geronimo.specs - geronimo-jms_1.1_spec - 1.0 - - - javax.xml.bind - jsr173_api - 1.0 - - - xml-resolver - xml-resolver - 1.1 - - - net.sf.saxon - saxon - 8.7 - - - xmlbeans - xbean - 2.0.0 - - - xmlbeans - xbean_xpath - 2.1.0 - - - xmlbeans - xmlpublic - 2.1.0 - - - jython - jython - 2.1 - - - log4j - log4j - 1.2.12 - - - org.slf4j - slf4j-simple - 1.0 - - - org.apache.mina - mina-core - 1.0.0 - - - org.apache.mina - mina-filter-ssl - 1.0.0 - - - org.apache.mina - mina-java5 - 1.0.0 - - - backport-util-concurrent - backport-util-concurrent - 2.2 - - - junit - junit - 3.8.2 - test - - - ant - ant-junit - 1.6.5 - test - - - org.easymock - easymockclassextension - 2.2 - test - - - org.apache.qpid - qpid-common - ${project.version} - - - org.apache.qpid - qpid-client - ${project.version} - - - org.apache.qpid - qpid-broker - ${project.version} - - - org.apache.qpid - qpid-mgmt-core - ${project.version} - - - org.apache.qpid - qpid-mgmt-client - ${project.version} - - - org.apache.qpid - qpid-cluster - ${project.version} - - - - - - - - org.codehaus.mojo - cobertura-maven-plugin - ${cobertura.version} - - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${mprojectinfo.version} - - - org.apache.maven.plugins - maven-surefire-report-plugin - ${surefire-report.version} - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.version} - - - org.apache.maven.plugins - maven-checkstyle-plugin - - ${basedir}/${topDirectoryLocation}/checkstyle.xml - - - - org.apache.maven.plugins - maven-pmd-plugin - - ${java.source.version} - - ${basedir}/.ruleset - - - - - - - - - - - - - apache.snapshots - Apache SNAPSHOT Repository - http://people.apache.org/repo/m2-snapshot-repository - - true - - - - - - - fastinstall - - true - - - - nochecks - - - - - sourcecheck - - true - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - false - ${compile.flags} - - - - org.apache.maven.plugins - maven-pmd-plugin - - - - - - setup.eclipse - - process-test-sources + + org.easymock + easymockclassextension + 2.2 + test + + + org.apache.qpid + qpid-common + ${project.version} + + + org.apache.qpid + qpid-client + ${project.version} + + + org.apache.qpid + qpid-broker + ${project.version} + + + org.apache.qpid + qpid-mgmt-core + ${project.version} + + + org.apache.qpid + qpid-mgmt-client + ${project.version} + + + org.apache.qpid + qpid-cluster + ${project.version} + + + + + - - org.apache.maven.plugins - maven-eclipse-plugin - - - setup.eclipse.project - process-test-sources - - eclipse - - - - setup.eclipse.workspace - process-test-sources - - add-maven-repo - + + org.codehaus.mojo + cobertura-maven-plugin + ${cobertura.version} + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${mprojectinfo.version} + + + org.apache.maven.plugins + maven-surefire-report-plugin + ${surefire-report.version} + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.version} + + + org.apache.maven.plugins + maven-checkstyle-plugin - ${eclipse.workspace.dir} + ${basedir}/${topDirectoryLocation}/checkstyle.xml - - - - - org.apache.maven.plugins - maven-antrun-plugin - ${antrun.version} - - - ant - ant-nodeps - 1.6.5 - - - ant - ant-trax - 1.6.5 - - - - - setup.workspace - validate + + + org.apache.maven.plugins + maven-pmd-plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ${java.source.version} + + ${basedir}/.ruleset + - - run - - - - + - - - + + + + + + + + + apache.snapshots + Apache SNAPSHOT Repository + http://people.apache.org/repo/m2-snapshot-repository + + true + + + + + + + fastinstall + + true + + + + nochecks + + + + + sourcecheck + + true + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + false + ${compile.flags} + + + + org.apache.maven.plugins + maven-pmd-plugin + + + + + + + setup.eclipse + + process-test-sources + + + org.apache.maven.plugins + maven-eclipse-plugin + + + setup.eclipse.project + process-test-sources + + eclipse + + + + setup.eclipse.workspace + process-test-sources + + add-maven-repo + + + ${eclipse.workspace.dir} + + + + + + org.apache.maven.plugins + maven-antrun-plugin + ${antrun.version} + + + ant + ant-nodeps + 1.6.5 + + + ant + ant-trax + 1.6.5 + + + + + setup.workspace + validate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + + + + + diff --git a/java/systests/pom.xml b/java/systests/pom.xml index 3df69ce4ac..ae6558340f 100644 --- a/java/systests/pom.xml +++ b/java/systests/pom.xml @@ -18,78 +18,89 @@ --> - 4.0.0 - org.apache.qpid - qpid-systests - jar - 1.0-incubating-M2-SNAPSHOT - Qpid System Tests - http://cwiki.apache.org/confluence/display/qpid - - + 4.0.0 org.apache.qpid - qpid + qpid-systests + jar 1.0-incubating-M2-SNAPSHOT - + Qpid System Tests + http://cwiki.apache.org/confluence/display/qpid + + + org.apache.qpid + qpid + 1.0-incubating-M2-SNAPSHOT + - - .. - + + .. + warn + - - - org.apache.qpid - qpid-common - - - org.apache.qpid - qpid-client - - - org.apache.qpid - qpid-broker - - - org.slf4j - slf4j-simple - test - - - junit - junit - test - - - ant - ant-junit - test - - + + + org.apache.qpid + qpid-common + + + org.apache.qpid + qpid-client + + + org.apache.qpid + qpid-broker + + + org.slf4j + slf4j-simple + + + junit + junit + + + ant + ant-junit + test + + - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - amqj.noAutoCreateVMBroker - true - - - - **/server/**/*Test.java - **/test/unit/ack/DisconnectAndRedeliver.java - - - **/Abstract*Test* - **/*PerfTest* - **/*PerformanceTest* - **/server/util/ConcurrentTest.java - - - - - + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + amqj.noAutoCreateVMBroker + true + + + amqj.logging.level + ${amqj.logging.level} + + + log4j.debug + true + + + log4j.configuration + file:///${basedir}/src/test/java/log4j.properties + + + + **/server/**/*Test.java + **/test/unit/ack/DisconnectAndRedeliver.java + + + **/Abstract*Test* + **/*PerfTest* + **/*PerformanceTest* + **/server/util/ConcurrentTest.java + + + + + diff --git a/java/systests/src/test/java/log4j.properties b/java/systests/src/test/java/log4j.properties new file mode 100644 index 0000000000..6d596d1d19 --- /dev/null +++ b/java/systests/src/test/java/log4j.properties @@ -0,0 +1,28 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +log4j.rootLogger=${root.logging.level} + + +log4j.logger.org.apache.qpid=${amqj.logging.level}, console +log4j.additivity.org.apache.qpid=false + +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.Threshold=all +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n -- cgit v1.2.1