Hi there,

So I got past this issue by running "mvn test" from the root of the nifi
tree.  After much compiling and testing, I am now getting the attached
error.  I think I am following the contributor guide in having my local
branch track origin/main (currently "4a90334728: NIFI-9846 Implement
pagination listing for Azure List processors").

Is this some environmental issue on my machine somehow?  Or does the main
branch contain compilation errors, and I should be tracking something else
for my own branch?  As I said in my previous email, I am new to github, so
I'm not sure of the conventions there.

Thanks in advance
Phil

(PS: this occur whethers I use JDK1.8 or JDK11, the two options I have
installed)



[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile
(default-compile) on project nifi-h2-database-migrator: Compilation
failure: Compilation failure:
[ERROR]
D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[19,35]
error: package org.apache.nifi.org.h2.jdbcx does not exist
[ERROR]
D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[37,8]
error: cannot find symbol
[ERROR]   symbol:   class JdbcDataSource
[ERROR]   location: class H2DatabaseMigrator
[ERROR]
D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[37,49]
error: cannot find symbol
[ERROR]   symbol:   class JdbcDataSource
[ERROR]   location: class H2DatabaseMigrator

On Sat, Apr 2, 2022 at 10:20 PM Phil H <gippyp...@gmail.com> wrote:

> Hi there,
>
> Trying to build the nifi git repo for the first time and I'm getting the
> message below
>
> I'm used to working in offline development environments, so I'm a bit lost
> with this online dependency stuff. I note that
> https://repository.apache.org/snapshots/org/apache/nifi/ doesn't contain
> any similar subdirectories to that in the URL.
>
> Help!
>
> Regards,
> Phil
>
> [WARNING] The POM for org.apache.nifi:nifi-utils:jar:1.16.0-SNAPSHOT is
> missing, no dependency information available
> Downloading from apache.snapshots:
> https://repository.apache.org/snapshots/org/apache/nifi/nifi-utils/1.16.0-SNAPSHOT/nifi-utils-1.16.0-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for nifi-standard-bundle 1.16.0-SNAPSHOT:
> [INFO]
> [INFO] nifi-standard-bundle ............................... SUCCESS [01:07
> min]
> [INFO] nifi-standard-utils ................................ FAILURE [
>  3.218 s]
> [INFO] nifi-standard-processors ........................... SKIPPED
> [INFO] nifi-standard-reporting-tasks ...................... SKIPPED
> [INFO] nifi-standard-content-viewer ....................... SKIPPED
> [INFO] nifi-jolt-transform-json-ui ........................ SKIPPED
> [INFO] nifi-standard-nar .................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  01:43 min
> [INFO] Finished at: 2022-04-02T21:58:47+10:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project nifi-standard-utils: Could not
> resolve dependencies for project
> org.apache.nifi:nifi-standard-utils:jar:1.16.0-SNAPSHOT: Could not find
> artifact org.apache.nifi:nifi-utils:jar:1.16.0-SNAPSHOT in apache.snapshots
> (https://repository.apache.org/snapshots) -> [Help 1]
>

Reply via email to