From 8f942fcdcc63c5468c6a927010bf4b8377e7d9fc Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Tue, 10 Nov 2015 14:31:20 -0500 Subject: [PATCH] NIFI-1000: Fixed checkstyle violation in TestGetJSMQueue use activemq-broker with test scope and activemq-client with default scope rather than pulling in activemq-all; this reduces size of standard nar from 30 MB to 18 MB --- .../nifi-standard-bundle/nifi-standard-processors/pom.xml | 7 ++++++- .../apache/nifi/processors/standard/TestGetJMSQueue.java | 3 --- pom.xml | 8 +++++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml index cc4023b878..76f9daf323 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml @@ -152,8 +152,13 @@ language governing permissions and limitations under the License. --> org.apache.activemq - activemq-all + activemq-client + + org.apache.activemq + activemq-broker + test + com.jayway.jsonpath json-path diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestGetJMSQueue.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestGetJMSQueue.java index dde1158473..bfc56a5ed1 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestGetJMSQueue.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestGetJMSQueue.java @@ -16,7 +16,6 @@ */ package org.apache.nifi.processors.standard; -import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.List; @@ -34,8 +33,6 @@ import org.apache.nifi.processors.standard.util.JmsFactory; import org.apache.nifi.processors.standard.util.JmsProperties; import org.apache.nifi.processors.standard.util.WrappedMessageProducer; import org.apache.nifi.util.MockFlowFile; -import org.apache.nifi.util.MockProcessSession; -import org.apache.nifi.util.StandardProcessorTestRunner; import org.apache.nifi.util.TestRunner; import org.apache.nifi.util.TestRunners; import org.apache.nifi.web.Revision; diff --git a/pom.xml b/pom.xml index 2ab8c94a1f..6a5600947a 100644 --- a/pom.xml +++ b/pom.xml @@ -511,9 +511,15 @@ org.apache.activemq - activemq-all + activemq-client 5.12.1 + + org.apache.activemq + activemq-broker + 5.12.1 + tests + org.apache.lucene lucene-core