Re: Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-10 Thread Adam Taft
Yeah, I've been suspicious that maybe Maven 3.3.9 is too old to build
NiFi.  We say[1] that Maven 3.1.0+ is required, but that's a really old
version.  It's possible or even likely that some Maven plugins used in the
NiFi build are expecting services from newer Maven versions.

I don't have a suggestion here that doesn't involve someone's time. It
would be ideal we could narrow down and update the required minimum Java &
Maven configuration, so as to update the Quickstart guide that Joe
originally linked[1].  Is this JIRA ticket worthy? I'll file one if so.

Adam

[1] https://nifi.apache.org/quickstart.html


On Thu, Oct 10, 2019 at 7:57 AM Aram Openden  wrote:

> Adam,
>
> Thanks so much for your excellent suggestion.
>
> Probably should have checked my versions 1st (honestly didn't even think of
> it yesterday).
>
> Upgrading my Java-JDK install version to *1.8.0_222* and Maven to *3.6.2*
> did indeed *fix my build issue*!
>
> Aram S. Openden
> aram.open...@gmail.com
>
>
>
> On Thu, Oct 10, 2019 at 1:10 AM Adam Taft  wrote:
>
> > Aram,
> >
> > Just to rule out the obvious ...  Can you update your Maven and Java
> > versions, which would include:
> > - Maven 3.6.2
> > - Java 1.8.0_222
> >
> > Also, are you including a MAVEN_OPTS environment to increase your JVM
> > memory in Maven?
> >
> > $> export MAVEN_OPTS="-Xms1g -Xmx3g"
> >
> > Thanks,
> > Adam
> >
> > On Wed, Oct 9, 2019 at 1:31 PM Aram Openden 
> > wrote:
> >
> > > Hoping someone on this dev mailing list can help with the following
> maven
> > > build failures issue. I am hoping to contribute a new suggested custom
> S3
> > > Processor that I have been working on.
> > >
> > > But, I need to be able to get the build to work locally before I even
> > start
> > > adding in my changes.
> > >
> > > I am trying to run the main NiFi project build with maven locally on
> the
> > > master branch *without having made any local code changes*, with the
> > latest
> > > updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the
> identifier
> > > on the user table(in other words this is the latest code on
> master):
> > >
> > > $ git branch -v
> > > * master 9a496fe9d NIFI-6751: - Fixing the identifier on the user
> table.
> > In
> > > a previous task, this was changed to utilize the URI but that does not
> > work
> > > with other code interacting with this table.
> > >
> > > $ git status
> > > On branch master
> > > Your branch is up-to-date with 'origin/master'.
> > > nothing to commit, working tree clean
> > >
> > >
> > > My local maven env is as follows (running on Mac OS Mojave):
> > >
> > > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > > 2015-11-10T11:41:47-05:00)
> > > Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> > > Java version: 1.8.0_111, vendor: Oracle Corporation
> > > Java home:
> > > /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
> > >
> > >
> > > Looking for any help you can provide on what I should be doing to get
> the
> > > maven build to pass locally.
> > > I am getting test failures that look like this:
> > >
> > > INFO]
> > >
> 
> > > [INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
> > > [INFO]
> > >
> 
> > > [INFO]
> > > [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> > > nifi-properties-loader ---
> > > [INFO] Deleting
> > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
> > > [INFO]
> > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version)
> @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-remote-resources-plugin:1.5:process
> > > (process-resource-bundles) @ nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
> > > nifi-properties-loader ---
> > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > [INFO] skip non existing resourceDirectory
> > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
> > > [INFO] Copying 3 resources
> > > [INFO]
> > > [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
> > > nifi-properties-loader ---
> > > [INFO] Changes detected - recompiling the module!
> > > [INFO] Compiling 9 source files to
> > >
> > >
> >
> 

Re: Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-09 Thread Joe Witt
Yes I was.  And ehh yeah you're probably right.  Update maven and jdk and
see what comes out.  I've seen similar-ish problems when those settings
aren't applied but in this case it might not apply.

On Thu, Oct 10, 2019 at 1:28 AM Adam Taft  wrote:

> Joe,
>
> Are you referring to git config options "core.longpaths" and
> "core.autocrlf"?
> I wouldn't have thought these settings would be important for Mac users (as
> is Aram)?  Honestly just asking what the experience is here.
>
> I can build from master on my Mac with latest Java and Maven, without those
> git settings.  So that's why I suggested the updates.  But I don't have the
> experience to really know beyond just the guess.
>
> Adam
>
>
>
> On Wed, Oct 9, 2019 at 11:16 PM Joe Witt  wrote:
>
> > Adam, Aram,
> >
> > I'd be suspicious of your git settings relative to what we suggest here:
> > http://nifi.apache.org/quickstart.html
> >
> > It seems like it is reading material from files (test files) and they
> don't
> > contain what is expected so I wonder about git settings.
> >
> > Thanks
> > Joe
> >
> > On Thu, Oct 10, 2019 at 1:10 AM Adam Taft  wrote:
> >
> > > Aram,
> > >
> > > Just to rule out the obvious ...  Can you update your Maven and Java
> > > versions, which would include:
> > > - Maven 3.6.2
> > > - Java 1.8.0_222
> > >
> > > Also, are you including a MAVEN_OPTS environment to increase your JVM
> > > memory in Maven?
> > >
> > > $> export MAVEN_OPTS="-Xms1g -Xmx3g"
> > >
> > > Thanks,
> > > Adam
> > >
> > > On Wed, Oct 9, 2019 at 1:31 PM Aram Openden 
> > > wrote:
> > >
> > > > Hoping someone on this dev mailing list can help with the following
> > maven
> > > > build failures issue. I am hoping to contribute a new suggested
> custom
> > S3
> > > > Processor that I have been working on.
> > > >
> > > > But, I need to be able to get the build to work locally before I even
> > > start
> > > > adding in my changes.
> > > >
> > > > I am trying to run the main NiFi project build with maven locally on
> > the
> > > > master branch *without having made any local code changes*, with the
> > > latest
> > > > updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the
> > identifier
> > > > on the user table(in other words this is the latest code on
> > master):
> > > >
> > > > $ git branch -v
> > > > * master 9a496fe9d NIFI-6751: - Fixing the identifier on the user
> > table.
> > > In
> > > > a previous task, this was changed to utilize the URI but that does
> not
> > > work
> > > > with other code interacting with this table.
> > > >
> > > > $ git status
> > > > On branch master
> > > > Your branch is up-to-date with 'origin/master'.
> > > > nothing to commit, working tree clean
> > > >
> > > >
> > > > My local maven env is as follows (running on Mac OS Mojave):
> > > >
> > > > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > > > 2015-11-10T11:41:47-05:00)
> > > > Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> > > > Java version: 1.8.0_111, vendor: Oracle Corporation
> > > > Java home:
> > > > /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
> > > > Default locale: en_US, platform encoding: UTF-8
> > > > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family:
> "mac"
> > > >
> > > >
> > > > Looking for any help you can provide on what I should be doing to get
> > the
> > > > maven build to pass locally.
> > > > I am getting test failures that look like this:
> > > >
> > > > INFO]
> > > >
> > 
> > > > [INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
> > > > [INFO]
> > > >
> > 
> > > > [INFO]
> > > > [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> > > > nifi-properties-loader ---
> > > > [INFO] Deleting
> > > >
> > > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
> > > > [INFO]
> > > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce
> (enforce-maven-version)
> > @
> > > > nifi-properties-loader ---
> > > > [INFO]
> > > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> > > > nifi-properties-loader ---
> > > > [INFO]
> > > > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> > > > nifi-properties-loader ---
> > > > [INFO]
> > > > [INFO] --- maven-remote-resources-plugin:1.5:process
> > > > (process-resource-bundles) @ nifi-properties-loader ---
> > > > [INFO]
> > > > [INFO] --- maven-resources-plugin:3.1.0:resources
> (default-resources) @
> > > > nifi-properties-loader ---
> > > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > [INFO] skip non existing resourceDirectory
> > > >
> > > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
> > > > [INFO] Copying 3 resources

Re: Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-09 Thread Adam Taft
Joe,

Are you referring to git config options "core.longpaths" and "core.autocrlf"?
I wouldn't have thought these settings would be important for Mac users (as
is Aram)?  Honestly just asking what the experience is here.

I can build from master on my Mac with latest Java and Maven, without those
git settings.  So that's why I suggested the updates.  But I don't have the
experience to really know beyond just the guess.

Adam



On Wed, Oct 9, 2019 at 11:16 PM Joe Witt  wrote:

> Adam, Aram,
>
> I'd be suspicious of your git settings relative to what we suggest here:
> http://nifi.apache.org/quickstart.html
>
> It seems like it is reading material from files (test files) and they don't
> contain what is expected so I wonder about git settings.
>
> Thanks
> Joe
>
> On Thu, Oct 10, 2019 at 1:10 AM Adam Taft  wrote:
>
> > Aram,
> >
> > Just to rule out the obvious ...  Can you update your Maven and Java
> > versions, which would include:
> > - Maven 3.6.2
> > - Java 1.8.0_222
> >
> > Also, are you including a MAVEN_OPTS environment to increase your JVM
> > memory in Maven?
> >
> > $> export MAVEN_OPTS="-Xms1g -Xmx3g"
> >
> > Thanks,
> > Adam
> >
> > On Wed, Oct 9, 2019 at 1:31 PM Aram Openden 
> > wrote:
> >
> > > Hoping someone on this dev mailing list can help with the following
> maven
> > > build failures issue. I am hoping to contribute a new suggested custom
> S3
> > > Processor that I have been working on.
> > >
> > > But, I need to be able to get the build to work locally before I even
> > start
> > > adding in my changes.
> > >
> > > I am trying to run the main NiFi project build with maven locally on
> the
> > > master branch *without having made any local code changes*, with the
> > latest
> > > updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the
> identifier
> > > on the user table(in other words this is the latest code on
> master):
> > >
> > > $ git branch -v
> > > * master 9a496fe9d NIFI-6751: - Fixing the identifier on the user
> table.
> > In
> > > a previous task, this was changed to utilize the URI but that does not
> > work
> > > with other code interacting with this table.
> > >
> > > $ git status
> > > On branch master
> > > Your branch is up-to-date with 'origin/master'.
> > > nothing to commit, working tree clean
> > >
> > >
> > > My local maven env is as follows (running on Mac OS Mojave):
> > >
> > > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > > 2015-11-10T11:41:47-05:00)
> > > Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> > > Java version: 1.8.0_111, vendor: Oracle Corporation
> > > Java home:
> > > /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
> > >
> > >
> > > Looking for any help you can provide on what I should be doing to get
> the
> > > maven build to pass locally.
> > > I am getting test failures that look like this:
> > >
> > > INFO]
> > >
> 
> > > [INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
> > > [INFO]
> > >
> 
> > > [INFO]
> > > [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> > > nifi-properties-loader ---
> > > [INFO] Deleting
> > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
> > > [INFO]
> > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version)
> @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> > > nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-remote-resources-plugin:1.5:process
> > > (process-resource-bundles) @ nifi-properties-loader ---
> > > [INFO]
> > > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
> > > nifi-properties-loader ---
> > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > [INFO] skip non existing resourceDirectory
> > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
> > > [INFO] Copying 3 resources
> > > [INFO]
> > > [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
> > > nifi-properties-loader ---
> > > [INFO] Changes detected - recompiling the module!
> > > [INFO] Compiling 9 source files to
> > >
> > >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target/classes
> > > [INFO]
> > > [INFO] --- build-helper-maven-plugin:1.5:add-test-source
> > (add-test-source)
> > > @ nifi-properties-loader ---
> > > [INFO] Test 

Re: Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-09 Thread Joe Witt
Adam, Aram,

I'd be suspicious of your git settings relative to what we suggest here:
http://nifi.apache.org/quickstart.html

It seems like it is reading material from files (test files) and they don't
contain what is expected so I wonder about git settings.

Thanks
Joe

On Thu, Oct 10, 2019 at 1:10 AM Adam Taft  wrote:

> Aram,
>
> Just to rule out the obvious ...  Can you update your Maven and Java
> versions, which would include:
> - Maven 3.6.2
> - Java 1.8.0_222
>
> Also, are you including a MAVEN_OPTS environment to increase your JVM
> memory in Maven?
>
> $> export MAVEN_OPTS="-Xms1g -Xmx3g"
>
> Thanks,
> Adam
>
> On Wed, Oct 9, 2019 at 1:31 PM Aram Openden 
> wrote:
>
> > Hoping someone on this dev mailing list can help with the following maven
> > build failures issue. I am hoping to contribute a new suggested custom S3
> > Processor that I have been working on.
> >
> > But, I need to be able to get the build to work locally before I even
> start
> > adding in my changes.
> >
> > I am trying to run the main NiFi project build with maven locally on the
> > master branch *without having made any local code changes*, with the
> latest
> > updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the identifier
> > on the user table(in other words this is the latest code on master):
> >
> > $ git branch -v
> > * master 9a496fe9d NIFI-6751: - Fixing the identifier on the user table.
> In
> > a previous task, this was changed to utilize the URI but that does not
> work
> > with other code interacting with this table.
> >
> > $ git status
> > On branch master
> > Your branch is up-to-date with 'origin/master'.
> > nothing to commit, working tree clean
> >
> >
> > My local maven env is as follows (running on Mac OS Mojave):
> >
> > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > 2015-11-10T11:41:47-05:00)
> > Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> > Java version: 1.8.0_111, vendor: Oracle Corporation
> > Java home:
> > /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
> >
> >
> > Looking for any help you can provide on what I should be doing to get the
> > maven build to pass locally.
> > I am getting test failures that look like this:
> >
> > INFO]
> > 
> > [INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
> > [INFO]
> > 
> > [INFO]
> > [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> > nifi-properties-loader ---
> > [INFO] Deleting
> >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
> > [INFO]
> > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @
> > nifi-properties-loader ---
> > [INFO]
> > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> > nifi-properties-loader ---
> > [INFO]
> > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> > nifi-properties-loader ---
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> > (process-resource-bundles) @ nifi-properties-loader ---
> > [INFO]
> > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
> > nifi-properties-loader ---
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] skip non existing resourceDirectory
> >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
> > nifi-properties-loader ---
> > [INFO] Changes detected - recompiling the module!
> > [INFO] Compiling 9 source files to
> >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target/classes
> > [INFO]
> > [INFO] --- build-helper-maven-plugin:1.5:add-test-source
> (add-test-source)
> > @ nifi-properties-loader ---
> > [INFO] Test Source directory:
> >
> >
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/test/groovy
> > added.
> > [INFO]
> > [INFO] --- maven-resources-plugin:3.1.0:testResources
> > (default-testResources) @ nifi-properties-loader ---
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] Copying 24 resources
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile)
> @
> > nifi-properties-loader ---
> > [INFO] Changes detected - recompiling the module!
> > [INFO]
> > [INFO] --- maven-compiler-plugin:3.8.1:testCompile (groovy-tests) @
> > nifi-properties-loader ---
> > [INFO] 

Re: Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-09 Thread Adam Taft
Aram,

Just to rule out the obvious ...  Can you update your Maven and Java
versions, which would include:
- Maven 3.6.2
- Java 1.8.0_222

Also, are you including a MAVEN_OPTS environment to increase your JVM
memory in Maven?

$> export MAVEN_OPTS="-Xms1g -Xmx3g"

Thanks,
Adam

On Wed, Oct 9, 2019 at 1:31 PM Aram Openden  wrote:

> Hoping someone on this dev mailing list can help with the following maven
> build failures issue. I am hoping to contribute a new suggested custom S3
> Processor that I have been working on.
>
> But, I need to be able to get the build to work locally before I even start
> adding in my changes.
>
> I am trying to run the main NiFi project build with maven locally on the
> master branch *without having made any local code changes*, with the latest
> updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the identifier
> on the user table(in other words this is the latest code on master):
>
> $ git branch -v
> * master 9a496fe9d NIFI-6751: - Fixing the identifier on the user table. In
> a previous task, this was changed to utilize the URI but that does not work
> with other code interacting with this table.
>
> $ git status
> On branch master
> Your branch is up-to-date with 'origin/master'.
> nothing to commit, working tree clean
>
>
> My local maven env is as follows (running on Mac OS Mojave):
>
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T11:41:47-05:00)
> Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
>
>
> Looking for any help you can provide on what I should be doing to get the
> maven build to pass locally.
> I am getting test failures that look like this:
>
> INFO]
> 
> [INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
> [INFO]
> 
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> nifi-properties-loader ---
> [INFO] Deleting
>
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @
> nifi-properties-loader ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> nifi-properties-loader ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> nifi-properties-loader ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ nifi-properties-loader ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
> nifi-properties-loader ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
>
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
> nifi-properties-loader ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to
>
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target/classes
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.5:add-test-source (add-test-source)
> @ nifi-properties-loader ---
> [INFO] Test Source directory:
>
> /Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/test/groovy
> added.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources
> (default-testResources) @ nifi-properties-loader ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 24 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @
> nifi-properties-loader ---
> [INFO] Changes detected - recompiling the module!
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (groovy-tests) @
> nifi-properties-loader ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
> [INFO] Compiling in a forked process using
>
> /Users/aramo.penden/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/2.5.4-01/groovy-eclipse-batch-2.5.4-01.jar
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @
> nifi-properties-loader ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 

Maven Build Error - nifi-properties-loader sub-project test failures

2019-10-09 Thread Aram Openden
Hoping someone on this dev mailing list can help with the following maven
build failures issue. I am hoping to contribute a new suggested custom S3
Processor that I have been working on.

But, I need to be able to get the build to work locally before I even start
adding in my changes.

I am trying to run the main NiFi project build with maven locally on the
master branch *without having made any local code changes*, with the latest
updates (master is at commit 9a496fe9d NIFI-6751: - Fixing the identifier
on the user table(in other words this is the latest code on master):

$ git branch -v
* master 9a496fe9d NIFI-6751: - Fixing the identifier on the user table. In
a previous task, this was changed to utilize the URI but that does not work
with other code interacting with this table.

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean


My local maven env is as follows (running on Mac OS Mojave):

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_111, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"


Looking for any help you can provide on what I should be doing to get the
maven build to pass locally.
I am getting test failures that look like this:

INFO]

[INFO] Building nifi-properties-loader 1.10.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
nifi-properties-loader ---
[INFO] Deleting
/Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @
nifi-properties-loader ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
nifi-properties-loader ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @
nifi-properties-loader ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ nifi-properties-loader ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
nifi-properties-loader ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
nifi-properties-loader ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to
/Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/target/classes
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-test-source (add-test-source)
@ nifi-properties-loader ---
[INFO] Test Source directory:
/Users/aramo.penden/workspaces/WFfH/data-gov-beta/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/test/groovy
added.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources
(default-testResources) @ nifi-properties-loader ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 24 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @
nifi-properties-loader ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (groovy-tests) @
nifi-properties-loader ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO] Compiling in a forked process using
/Users/aramo.penden/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/2.5.4-01/groovy-eclipse-batch-2.5.4-01.jar
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @
nifi-properties-loader ---
[INFO]
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.nifi.properties.NiFiPropertiesLoaderGroovyTest
[ERROR] Tests run: 18, Failures: 2, Errors: 1, Skipped: 1, Time elapsed:
1.277 s <<< FAILURE! - in
org.apache.nifi.properties.NiFiPropertiesLoaderGroovyTest
[ERROR]
testShouldLoadUnprotectedPropertiesFromProtectedFile(org.apache.nifi.properties.NiFiPropertiesLoaderGroovyTest)
 Time elapsed: 0.325 s  <<< FAILURE!
org.codehaus.groovy.runtime.powerassert.PowerAssertionError:
assert plainValue == EXPECTED_PLAIN_VALUES[key]
   |  |  |||
   |  |