Howdy, enum ExpressionLanguageScope no longer has enum constant
VARIABLE_REGISTRY in Nifi 2.0.0-M2 which stops it from being a valid
producer. I believe VARIABLE_REGISTRY can be replaced by
ExpressionLanguageScope.ENVIRONMENT.

I also tried bumping to:
    <nifi.version>2.0.0-M2</nifi.version>
    <avro.version>1.8.2</avro.version>

But my build failed. I'm no Java dev and this is where I ran out of
ideas and motivation. Any ideas? The build log complained::

[INFO] PLC4J: Integrations: Apache Nifi: Processors ....... FAILURE [  5.486 s]
[INFO] PLC4J: Integrations: Apache Nifi: NAR .............. SKIPPED
[INFO] PLC4J: Integrations: Apache Kafka .................. SKIPPED
[INFO] PLC4J: Tools: Capture Replay ....................... SKIPPED
[INFO] PLC4J: Tools: OPC-UA Server ........................ SKIPPED
[INFO] PLC4J: Tools: Plc4x Server ......................... SKIPPED
[INFO] PLC4J: Tools: Scraper (NG) ......................... SKIPPED
[INFO] PLC4J: Tools: UI ................................... SKIPPED
[INFO] plc4j-tools-ui-backend ............................. SKIPPED
[INFO] plc4j-tools-ui-frontend ............................ SKIPPED
[INFO] plc4j-tools-ui-application ......................... SKIPPED
[INFO] PLC4J: Utils: PLC-Simulator ........................ SKIPPED
[INFO] PLC4J: OSGi ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:31 min
[INFO] Finished at: 2024-05-06T23:51:58+01:00
[INFO] ------------------------------------------------------------------------
[INFO] 2420 goals, 2420 executed
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce
(enforce-java-compatability) on project plc4j-nifi-plc4x-processors:
[ERROR] Rule 0:
org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion
failed with message:
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-avro-record-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-mock:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-site-to-site-client:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-security-cert:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-framework-nar-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-security-socket-ssl:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-framework-core-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-python-framework-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-stateless-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-record-serialization-service-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-yaml-record-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-syslog-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-uuid5:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-json-schema-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-extension-manifest-model:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-json-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-schema-inference-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-extension-manifest-parser:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-json-record-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-record-serialization-services:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-client-dto:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-parameter:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-framework-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-runtime-manifest-core:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-security-ssl:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-schema-registry-service-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-data-provenance-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-standard-record-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:c2-protocol-component-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-record-serialization-services-shared:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-record:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-xml-processing:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-expression-language:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-api:jar:2.0.0-M2
[ERROR] Found Banned Dependency: org.apache.nifi:nifi-utils:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-framework-authorization:jar:2.0.0-M2
[ERROR] Found Banned Dependency:
org.apache.nifi:nifi-mock-record-utils:jar:2.0.0-M2
[ERROR] Use 'mvn dependency:tree' to locate the source of the banned
dependencies.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :plc4j-nifi-plc4x-processors

Reply via email to