This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-extras.git
The following commit(s) were added to refs/heads/develop by this push:
new 455be270 fix(build): repair nifi NAR builds under Maven 4 and Go SDK
version
455be270 is described below
commit 455be270d978484157269980c1236e0748b5b5af
Author: Sebastian Rühl <[email protected]>
AuthorDate: Fri Jul 10 09:40:14 2026 +0200
fix(build): repair nifi NAR builds under Maven 4 and Go SDK version
Two CI failures introduced by the maven 4 migration commit:
1. nifi NARs (all platforms): 'mvnup --infer' dropped the explicit
groupId/version from the NAR modules' dependency on their sibling
processors module. The reactor handles that via 4.1.0 model
inference, but nifi-nar-maven-plugin's extension documentation step
rebuilds the NAR POM through the ProjectBuilder in repository mode,
where inference does not apply. The model build failed (debug-level
only), extension-manifest.xml was never generated, and install then
failed on the missing attached artifact. Restore explicit
coordinates, matching the migration's policy of keeping explicit
versions for anything resolved through the repository system.
2. Go workflow: go.version 1.26 yields a non-existent SDK archive name
(Go release archives are versioned 1.26.0). The path-filtered Go
workflow had not run in months and only woke up because the
migration touched plc4go/pom.xml. Align with plc4x (8ee591fe56) and
use 1.26.0.
The Windows 'assembly descriptor contains a *nix-specific
root-relative-reference' ERROR lines are pre-existing non-fatal
kafka-connect-plugin log noise, also present in green Maven 3 runs.
---
plc4go/pom.xml | 2 +-
plc4j/integrations/apache-nifi/nifi-1/nifi-plc4x-nar/pom.xml | 3 ++-
plc4j/integrations/apache-nifi/nifi-2/nifi-2-plc4x-nar/pom.xml | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/plc4go/pom.xml b/plc4go/pom.xml
index a30cafe6..6257a07d 100644
--- a/plc4go/pom.xml
+++ b/plc4go/pom.xml
@@ -53,7 +53,7 @@
<go.cover.flag>-coverprofile=target/coverage.out</go.cover.flag>
- <go.version>1.26</go.version>
+ <go.version>1.26.0</go.version>
</properties>
<build>
diff --git a/plc4j/integrations/apache-nifi/nifi-1/nifi-plc4x-nar/pom.xml
b/plc4j/integrations/apache-nifi/nifi-1/nifi-plc4x-nar/pom.xml
index def685cb..82ec59c2 100644
--- a/plc4j/integrations/apache-nifi/nifi-1/nifi-plc4x-nar/pom.xml
+++ b/plc4j/integrations/apache-nifi/nifi-1/nifi-plc4x-nar/pom.xml
@@ -18,7 +18,6 @@
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.1.0
https://maven.apache.org/xsd/maven-4.1.0.xsd">
-
<parent>
<groupId>org.apache.plc4x.extras</groupId>
@@ -42,7 +41,9 @@
<!-- PLC4X -->
<dependency>
+ <groupId>org.apache.plc4x.extras</groupId>
<artifactId>plc4j-nifi-plc4x-processors</artifactId>
+ <version>0.14.0-SNAPSHOT</version>
</dependency>
<dependency>
diff --git a/plc4j/integrations/apache-nifi/nifi-2/nifi-2-plc4x-nar/pom.xml
b/plc4j/integrations/apache-nifi/nifi-2/nifi-2-plc4x-nar/pom.xml
index c9328316..157a1a33 100644
--- a/plc4j/integrations/apache-nifi/nifi-2/nifi-2-plc4x-nar/pom.xml
+++ b/plc4j/integrations/apache-nifi/nifi-2/nifi-2-plc4x-nar/pom.xml
@@ -18,7 +18,6 @@
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.1.0
https://maven.apache.org/xsd/maven-4.1.0.xsd">
-
<parent>
<groupId>org.apache.plc4x.extras</groupId>
@@ -42,7 +41,9 @@
<!-- PLC4X -->
<dependency>
+ <groupId>org.apache.plc4x.extras</groupId>
<artifactId>plc4j-nifi-2-plc4x-processors</artifactId>
+ <version>0.14.0-SNAPSHOT</version>
</dependency>
<dependency>