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


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/8f942fcd
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/8f942fcd
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/8f942fcd

Branch: refs/heads/master
Commit: 8f942fcdcc63c5468c6a927010bf4b8377e7d9fc
Parents: 53725b5
Author: Mark Payne <[email protected]>
Authored: Tue Nov 10 14:31:20 2015 -0500
Committer: Mark Payne <[email protected]>
Committed: Tue Nov 10 14:31:20 2015 -0500

----------------------------------------------------------------------
 .../nifi-standard-bundle/nifi-standard-processors/pom.xml    | 7 ++++++-
 .../org/apache/nifi/processors/standard/TestGetJMSQueue.java | 3 ---
 pom.xml                                                      | 8 +++++++-
 3 files changed, 13 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/8f942fcd/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml
----------------------------------------------------------------------
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 cc4023b..76f9daf 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. -->
         </dependency>
         <dependency>
             <groupId>org.apache.activemq</groupId>
-            <artifactId>activemq-all</artifactId>
+            <artifactId>activemq-client</artifactId>
         </dependency>
+               <dependency>
+                       <groupId>org.apache.activemq</groupId>
+                       <artifactId>activemq-broker</artifactId>
+                       <scope>test</scope>
+               </dependency>
         <dependency>
             <groupId>com.jayway.jsonpath</groupId>
             <artifactId>json-path</artifactId>

http://git-wip-us.apache.org/repos/asf/nifi/blob/8f942fcd/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestGetJMSQueue.java
----------------------------------------------------------------------
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 dde1158..bfc56a5 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;

http://git-wip-us.apache.org/repos/asf/nifi/blob/8f942fcd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2ab8c94..6a56009 100644
--- a/pom.xml
+++ b/pom.xml
@@ -511,10 +511,16 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.activemq</groupId>
-                <artifactId>activemq-all</artifactId>
+                <artifactId>activemq-client</artifactId>
                 <version>5.12.1</version>
             </dependency>
             <dependency>
+                <groupId>org.apache.activemq</groupId>
+                               <artifactId>activemq-broker</artifactId>
+                <version>5.12.1</version>
+                <scope>tests</scope>
+            </dependency>
+            <dependency>
                 <groupId>org.apache.lucene</groupId>
                 <artifactId>lucene-core</artifactId>
                 <version>${lucene.version}</version>

Reply via email to