This is an automated email from the ASF dual-hosted git repository.
kbowers-ibm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie.git
The following commit(s) were added to refs/heads/main by this push:
new be0ac32d3bd [incubator-kie-6876] CI :: Build failure : NPE in
maven-artifact-plug… (#6877)
be0ac32d3bd is described below
commit be0ac32d3bd037fa8ab09fef382b451dbd8c2d5f
Author: Toshiya Kobayashi <[email protected]>
AuthorDate: Fri Aug 7 00:44:35 2026 +0900
[incubator-kie-6876] CI :: Build failure : NPE in maven-artifact-plug…
(#6877)
* [incubator-kie-6876] CI :: Build failure : NPE in
maven-artifact-plugin:compare with `-pl` builds
* bump maven-shade-plugin version for reproducible output
* fix maven-shade-plugin version
* disable compare for snapshot
---
.../kie-dmn-ruleset2dmn-cli/pom.xml | 1 -
kie-parent/pom.xml | 3 ++-
kogito-build/kogito-build-no-bom-parent/pom.xml | 2 +-
pom.xml | 28 +++++++++++++++++++---
4 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
index fc5ff03ccef..722e7d993fa 100644
--- a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
+++ b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
@@ -63,7 +63,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>3.5.2</version>
<executions>
<execution>
<phase>package</phase>
diff --git a/kie-parent/pom.xml b/kie-parent/pom.xml
index 8bda366f695..c97d64b44c1 100644
--- a/kie-parent/pom.xml
+++ b/kie-parent/pom.xml
@@ -314,7 +314,7 @@
<!-- OpenRewrite plugin -->
<version.rewrite.maven.plugin>4.42.0</version.rewrite.maven.plugin>
<version.rewrite.testing.frameworks>1.22.0</version.rewrite.testing.frameworks>
- <version.shade.plugin>3.3.0</version.shade.plugin>
+ <version.maven-shade-plugin>3.5.3</version.maven-shade-plugin>
<version.shared.utils>3.4.2</version.shared.utils>
<!-- simple-jndi is a small library that helps us avoid JNDI error
messages during testing -->
<version.simple-jndi>0.11.4.1</version.simple-jndi>
@@ -2873,6 +2873,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
+ <version>${version.maven-shade-plugin}</version>
</plugin>
<!-- This plugin's configuration is used to store Eclipse m2e settings
only.
It has no influence on the Maven build itself. -->
diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml
b/kogito-build/kogito-build-no-bom-parent/pom.xml
index 3898f46e013..e433cd790df 100644
--- a/kogito-build/kogito-build-no-bom-parent/pom.xml
+++ b/kogito-build/kogito-build-no-bom-parent/pom.xml
@@ -109,7 +109,7 @@
<version.rpkgtests.maven.plugin>1.0.0</version.rpkgtests.maven.plugin>
<version.resources.plugin>3.1.0</version.resources.plugin>
<version.site.plugin>3.7.1</version.site.plugin>
- <version.shade.plugin>3.3.0</version.shade.plugin>
+ <version.maven-shade-plugin>3.5.3</version.maven-shade-plugin>
<version.sonar.plugin>3.6.1.1688</version.sonar.plugin>
<version.source.plugin>3.2.1</version.source.plugin>
<version.surefire.plugin>3.3.1</version.surefire.plugin> <!-- minimum
required by JUnit 5 -->
diff --git a/pom.xml b/pom.xml
index 217732dca9f..a8ce6fe4256 100644
--- a/pom.xml
+++ b/pom.xml
@@ -114,7 +114,8 @@
<properties>
<project.build.outputTimestamp>2024-01-12T00:00:00Z</project.build.outputTimestamp>
- <version.maven.artifact.plugin>3.5.1</version.maven.artifact.plugin>
+
<version.maven-remote-resources-plugin>3.3.0</version.maven-remote-resources-plugin>
+ <version.maven.artifact.plugin>3.6.1</version.maven.artifact.plugin>
</properties>
<!-- Block apache.snapshots inherited from org.apache:apache parent -->
@@ -293,13 +294,34 @@
execution is enabled (by specifying a phase) for full
profile builds. -->
<phase>validate</phase>
</execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <!-- Compares built artifacts against reference artifacts from a remote
repository.
+ Separated from reproducible-build because compare requires
published reference artifacts,
+ which are unavailable for SNAPSHOT builds (no daily snapshot
deploys).
+ Activate with -Dreproducible.compare during release builds, e.g.:
+ mvn install -Dreproducible -Dreproducible.compare -->
+ <id>reproducible-build-compare</id>
+ <activation>
+ <property>
+ <name>reproducible.compare</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-artifact-plugin</artifactId>
+ <executions>
<execution>
<id>compare</id>
<goals>
<goal>compare</goal>
</goals>
- <!-- The execution's configuration is part of the
pluginManagement. This piece here only makes sure the
- execution is enabled (by specifying a phase) for full
profile builds. -->
<phase>install</phase>
</execution>
</executions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]