You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2018/07/11 00:40:31 UTC

nifi git commit: NIFI-5289 - Changed nifi-mock junit Dependency Scope

Repository: nifi
Updated Branches:
  refs/heads/master 0dd4a91a6 -> eaef91fab


NIFI-5289 - Changed nifi-mock junit Dependency Scope

Resolves NoClassDefFoundError for org.junit.Assert when using nifi-mock.

Signed-off-by: Matthew Burgess <ma...@apache.org>

This closes #2780


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

Branch: refs/heads/master
Commit: eaef91fabb0eb9bcead624fe60d312b47be70451
Parents: 0dd4a91
Author: Martin Payne <de...@martinpayne.me.uk>
Authored: Sun Jun 10 20:50:12 2018 +0100
Committer: Matthew Burgess <ma...@apache.org>
Committed: Tue Jul 10 20:38:16 2018 -0400

----------------------------------------------------------------------
 nifi-mock/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/eaef91fa/nifi-mock/pom.xml
----------------------------------------------------------------------
diff --git a/nifi-mock/pom.xml b/nifi-mock/pom.xml
index 6026883..5830904 100644
--- a/nifi-mock/pom.xml
+++ b/nifi-mock/pom.xml
@@ -54,11 +54,11 @@
             <version>1.8.0-SNAPSHOT</version>
         </dependency>
         <dependency>
-            <!-- Dependency marked as provided, not test, because we have assertion 
+            <!-- Dependency marked as compile, not test, because we have assertion
             methods in our MockSession & MockFlowFile -->
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <scope>provided</scope>
+            <scope>compile</scope>
         </dependency>
     </dependencies>
 </project>