forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-43229: [Java] Update Maven project info (apache#43231)
### Rationale for this change Some Maven modules are missing project information like the website url, the mailing lists, and scm and issues url Other may have incorrect links because of the way Maven interpolates those values at build time ### What changes are included in this PR? Update/Fix Maven project information for all modules: * Add project url, mailing lists, scm and issueManagement information to bom and maven parent modules * Fix top-level parent by preventing Maven to rewrite project url, and scm connections/urls based on the module hierarchy * Change project.scm.tag to `main` and update version change script to also change the tag value to `apache-arrow-${version}` ### Are these changes tested? CI/CD only ### Are there any user-facing changes? No * GitHub Issue: apache#43229 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
- Loading branch information
Showing
5 changed files
with
134 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" 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> | ||
|
@@ -30,8 +30,51 @@ under the License. | |
<artifactId>arrow-bom</artifactId> | ||
<version>18.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>Arrow Bill of Materials</name> | ||
<description>Arrow Bill of Materials</description> | ||
<url>https://arrow.apache.org/</url> | ||
|
||
<mailingLists> | ||
<mailingList> | ||
<name>Developer List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Commits List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Issues List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>GitHub List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
</mailingLists> | ||
|
||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> | ||
<connection>scm:git:https://github.com/apache/arrow.git</connection> | ||
<developerConnection>scm:git:https://github.com/apache/arrow.git</developerConnection> | ||
<tag>main</tag> | ||
<url>https://github.com/apache/arrow/tree/${project.scm.tag}</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/apache/arrow/issues</url> | ||
</issueManagement> | ||
|
||
<properties> | ||
<arrow.vector.classifier></arrow.vector.classifier> | ||
|
@@ -169,6 +212,11 @@ under the License. | |
<artifactId>spotless-maven-plugin</artifactId> | ||
<version>2.30.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>versions-maven-plugin</artifactId> | ||
<version>2.17.0</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<plugins> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" 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> | ||
<!-- | ||
Note: Do not inherit from the Arrow parent POM as plugins can be referenced | ||
|
@@ -34,12 +34,55 @@ under the License. | |
<artifactId>arrow-maven-plugins</artifactId> | ||
<version>18.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>Arrow Maven Plugins</name> | ||
<url>https://arrow.apache.org/</url> | ||
|
||
<mailingLists> | ||
<mailingList> | ||
<name>Developer List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Commits List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Issues List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>GitHub List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
</mailingLists> | ||
|
||
<modules> | ||
<module>module-info-compiler-maven-plugin</module> | ||
</modules> | ||
|
||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> | ||
<connection>scm:git:https://github.com/apache/arrow.git</connection> | ||
<developerConnection>scm:git:https://github.com/apache/arrow.git</developerConnection> | ||
<tag>main</tag> | ||
<url>https://github.com/apache/arrow/tree/${project.scm.tag}</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/apache/arrow/issues</url> | ||
</issueManagement> | ||
|
||
<properties> | ||
<checkstyle.failOnViolation>true</checkstyle.failOnViolation> | ||
<!-- org.apache:apache overrides --> | ||
|
@@ -75,6 +118,11 @@ under the License. | |
<artifactId>cyclonedx-maven-plugin</artifactId> | ||
<version>2.8.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>versions-maven-plugin</artifactId> | ||
<version>2.17.0</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<plugins> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" 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> | ||
|
@@ -41,20 +41,26 @@ under the License. | |
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://mail-archives.apache.org/mod_mbox/arrow-dev/</archive> | ||
<archive>https://lists.apache.org/list.html?dev@arrow.apache.org</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Commits List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<post>[email protected]</post> | ||
<archive>https://mail-archives.apache.org/mod_mbox/arrow-commits/</archive> | ||
<archive>https://lists.apache.org/list.html?commits@arrow.apache.org</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>Issues List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://mail-archives.apache.org/mod_mbox/arrow-issues/</archive> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
<mailingList> | ||
<name>GitHub List</name> | ||
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://lists.apache.org/[email protected]</archive> | ||
</mailingList> | ||
</mailingLists> | ||
|
||
|
@@ -73,11 +79,11 @@ under the License. | |
<module>compression</module> | ||
</modules> | ||
|
||
<scm> | ||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> | ||
<connection>scm:git:https://github.com/apache/arrow.git</connection> | ||
<developerConnection>scm:git:https://github.com/apache/arrow.git</developerConnection> | ||
<tag>apache-arrow-2.0.0</tag> | ||
<url>https://github.com/apache/arrow</url> | ||
<tag>main</tag> | ||
<url>https://github.com/apache/arrow/tree/${project.scm.tag}</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
|
@@ -507,6 +513,11 @@ under the License. | |
<artifactId>exec-maven-plugin</artifactId> | ||
<version>3.3.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>versions-maven-plugin</artifactId> | ||
<version>2.17.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>pl.project13.maven</groupId> | ||
<artifactId>git-commit-id-plugin</artifactId> | ||
|