You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by na...@apache.org on 2026/10/08 12:34:47 UTC

(ignite) branch master updated: IGNITE-29119 Restore the ASF parent POM for Ignite modules (#13665)

This is an automated email from the ASF dual-hosted git repository.

NSAmelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 15cfe5a6348 IGNITE-29119 Restore the ASF parent POM for Ignite modules (#13665)
15cfe5a6348 is described below

commit 15cfe5a6348fb541352f0705a5d06cd6c48ccb70
Author: Nikita Amelchev <ns...@gmail.com>
AuthorDate: Thu Oct 8 15:34:36 2026 +0300

    IGNITE-29119 Restore the ASF parent POM for Ignite modules (#13665)
---
 .github/workflows/commit-check.yml |  2 +-
 modules/benchmarks/pom.xml         |  2 +-
 modules/checkstyle/pom.xml         | 30 ++++++++----------------------
 parent/pom.xml                     | 37 ++++++++++++++-----------------------
 4 files changed, 24 insertions(+), 47 deletions(-)

diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml
index 8e90eb9ba7c..275a3ea3142 100644
--- a/.github/workflows/commit-check.yml
+++ b/.github/workflows/commit-check.yml
@@ -130,7 +130,7 @@ jobs:
 
       - name: Documentation code snippets compilation check
         run: |
-          ./mvnw compile -Pdocs -pl :code-snippets -am -B -V
+          ./mvnw test-compile -Pdocs -pl :code-snippets -am -B -V
 
   check-dotnet:
     name: Сheck .NET code
diff --git a/modules/benchmarks/pom.xml b/modules/benchmarks/pom.xml
index b0040016515..c3dce9789d4 100644
--- a/modules/benchmarks/pom.xml
+++ b/modules/benchmarks/pom.xml
@@ -165,7 +165,7 @@
                 </plugin>
                 <plugin>
                     <artifactId>maven-surefire-plugin</artifactId>
-                    <version>${maven.surefire.plugin.version}</version>
+                    <version>${surefire.version}</version>
                 </plugin>
             </plugins>
         </pluginManagement>
diff --git a/modules/checkstyle/pom.xml b/modules/checkstyle/pom.xml
index 8cc346d10c4..e6e66460c48 100644
--- a/modules/checkstyle/pom.xml
+++ b/modules/checkstyle/pom.xml
@@ -25,33 +25,19 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>40</version>
+        <relativePath/>
+    </parent>
+
     <groupId>org.apache.ignite</groupId>
     <artifactId>ignite-checkstyle</artifactId>
     <version>${revision}</version>
 
-    <distributionManagement>
-        <repository>
-            <id>${distMgmtReleasesId}</id>
-            <name>${distMgmtReleasesName}</name>
-            <url>${distMgmtReleasesUrl}</url>
-        </repository>
-        <snapshotRepository>
-            <id>${distMgmtSnapshotsId}</id>
-            <name>${distMgmtSnapshotsName}</name>
-            <url>${distMgmtSnapshotsUrl}</url>
-        </snapshotRepository>
-    </distributionManagement>
-
     <properties>
-        <maven.compiler.source>17</maven.compiler.source>
-        <maven.compiler.target>17</maven.compiler.target>
-
-        <distMgmtReleasesId>apache.releases.https</distMgmtReleasesId>
-        <distMgmtReleasesName>Apache Release Distribution Repository</distMgmtReleasesName>
-        <distMgmtReleasesUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtReleasesUrl>
-        <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
-        <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
-        <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
+        <maven.compiler.release>17</maven.compiler.release>
 
         <maven.flatten.file.name>pom-installed.xml</maven.flatten.file.name>
         <revision>2.19.0-SNAPSHOT</revision>
diff --git a/parent/pom.xml b/parent/pom.xml
index 1a4418413e7..978be17545e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -23,6 +23,13 @@
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>40</version>
+        <relativePath/>
+    </parent>
+
     <!--
         NOTE:
         The ignite-parent module is used as a shared pom between the Ignite internal submodules and the Ignite Extensions.
@@ -38,29 +45,11 @@
     <version>${revision}</version>
     <packaging>pom</packaging>
 
-    <distributionManagement>
-        <repository>
-            <id>${distMgmtReleasesId}</id>
-            <name>${distMgmtReleasesName}</name>
-            <url>${distMgmtReleasesUrl}</url>
-        </repository>
-        <snapshotRepository>
-            <id>${distMgmtSnapshotsId}</id>
-            <name>${distMgmtSnapshotsName}</name>
-            <url>${distMgmtSnapshotsUrl}</url>
-        </snapshotRepository>
-    </distributionManagement>
-
     <properties>
         <maven.compiler.source>17</maven.compiler.source>
         <maven.compiler.target>17</maven.compiler.target>
-
-        <distMgmtReleasesId>apache.releases.https</distMgmtReleasesId>
-        <distMgmtReleasesName>Apache Release Distribution Repository</distMgmtReleasesName>
-        <distMgmtReleasesUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtReleasesUrl>
-        <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
-        <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
-        <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
+        <!-- IDE and jar manifest read it; javac is driven by source/target, see maven-compiler-plugin below. -->
+        <maven.compiler.release>17</maven.compiler.release>
 
         <revision>2.19.0-SNAPSHOT</revision>
         <!-- Ignite version will be substituted with the flatten-maven-plugin and used as
@@ -135,8 +124,6 @@
         <maven.javadoc.plugin.version>3.12.0</maven.javadoc.plugin.version>
         <maven.enforcer.plugin.version>3.6.2</maven.enforcer.plugin.version>
         <maven.compiler.plugin.version>3.16.0</maven.compiler.plugin.version>
-        <maven.surefire.plugin.version>3.5.4</maven.surefire.plugin.version>
-        <maven.failsafe.plugin.version>3.5.4</maven.failsafe.plugin.version>
         <maven.shade.plugin.version>3.6.2</maven.shade.plugin.version>
         <maven.clean.plugin.version>3.5.0</maven.clean.plugin.version>
         <maven.deploy.plugin.version>3.1.4</maven.deploy.plugin.version>
@@ -295,6 +282,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-jar-plugin</artifactId>
+                    <version>${maven.jar.plugin.version}</version>
                 </plugin>
 
                 <plugin>
@@ -302,6 +290,8 @@
                     <artifactId>maven-javadoc-plugin</artifactId>
                     <version>${maven.javadoc.plugin.version}</version>
                     <configuration>
+                        <!-- Same reason as for maven-compiler-plugin: "add-exports" below is incompatible with "release". -->
+                        <release combine.self="override"/>
                         <taglets>
                             <taglet>
                                 <tagletClass>org.apache.ignite.tools.javadoc.IgniteLinkTaglet</tagletClass>
@@ -315,7 +305,6 @@
                         <doctitle>Ignite ${ignite.version}</doctitle>
                         <windowtitle>Ignite ${ignite.version}</windowtitle>
                         <breakiterator>true</breakiterator>
-                        <verbose>true</verbose>
                         <show>protected</show>
                         <use>true</use>
                         <author>false</author>
@@ -564,6 +553,8 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>${maven.compiler.plugin.version}</version>
                 <configuration>
+                    <!-- Parent POM sets maven.compiler.release, but javac rejects "add-exports" with "release". -->
+                    <release combine.self="override"/>
                     <compilerArgs>
                         <arg>--add-exports</arg>
                         <arg>java.base/jdk.internal.misc=ALL-UNNAMED</arg>