Skip to content

Commit de25962

Browse files
authored
[LANG-1776] Use GitHub URL in project.scm.url (#1405)
* [LANG-1776] Use GitHub URL in `project.scm.url` This PR updates the `project.scm.url` field in the Maven POM to point to the GitHub repository URL (`https://github.com/apache/commons-lang`). While this field is not used directly by Maven during builds, it is increasingly leveraged by tools like *Dependabot* to: * Associate the Maven artifact with its GitHub repository * Automatically include release notes, changelogs, and commit history in pull requests for new versions By using the GitHub URL, we improve the quality and completeness of metadata shown in automated upgrade PRs and make it easier for users to trace changes between releases. * fix: Add `ciManagement` to point at GitHub This adds a `ciManagement` property that points to the GitHub Actions URL. This is a valid alternative to `project.scm.url` to allow Dependabot and other tooling to associate an artifact with the GitHub repo.
1 parent 780d34e commit de25962

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,18 @@
4141
Please ensure your build environment is up-to-date and kindly report any build issues.
4242
</description>
4343
<url>https://commons.apache.org/proper/commons-lang/</url>
44+
<ciManagement>
45+
<system>github</system>
46+
<url>https://github.com/apache/commons-lang/actions</url>
47+
</ciManagement>
4448
<issueManagement>
4549
<system>jira</system>
4650
<url>https://issues.apache.org/jira/browse/LANG</url>
4751
</issueManagement>
4852
<scm>
49-
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-lang.git</connection>
53+
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-lang.git</connection>
5054
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-lang.git</developerConnection>
51-
<url>https://gitbox.apache.org/repos/asf?p=commons-lang.git</url>
55+
<url>https://gitbox.apache.org/repos/asf/commons-lang.git</url>
5256
<tag>rel/commons-lang-3.18.0</tag>
5357
</scm>
5458
<!-- Lang should depend on very little -->

src/changes/changes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ The <action> type attribute can be add,update,fix,remove.
156156
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 73 to 85 #1267, #1277, #1283, #1288, #1302, #1377.</action>
157157
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[site] Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 #1300.</action>
158158
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[test] Bump org.easymock:easymock from 5.4.0 to 5.6.0 #1317, #1387.</action>
159-
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[test] Bump org.apache.commons:commons-text from 1.12.0 to 1.13.1 #1336.</action>
159+
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[test] Bump org.apache.commons:commons-text from 1.12.0 to 1.13.1 #1336.</action>
160+
<action issue="LANG-1776" type="update" dev="pkarwasz">Use GitHub URL in POM for improved automation support.</action>
160161
</release>
161162
<release version="3.17.0" date="2024-08-24" description="This is a feature and maintenance release. Java 8 or later is required.">
162163
<!-- FIX -->

0 commit comments

Comments
 (0)