Skip to content

Commit 8c9ba65

Browse files
committed
Add POM project/scm/tag element
- Add POM property `commons.repo.name` as `commons-${commons.componentid}` and use in project/scm values
1 parent a71c84e commit 8c9ba65

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

pom.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
- and so on...
196196
-->
197197
<commons.packageId>${project.artifactId}</commons.packageId>
198+
<commons.repo.name>commons-${commons.componentid}</commons.repo.name>
198199
<!-- JPMS -->
199200
<commons.module.name>org.apache.commons.${commons.packageId}</commons.module.name>
200201
<!-- Configuration properties for the OSGi maven-bundle-plugin -->
@@ -323,13 +324,14 @@
323324
</mailingList>
324325
</mailingLists>
325326
<!--
326-
This section *must* be overwritten by subprojects. It is only to allow
327+
This section *may* be overwritten by subprojects. It is only to allow
327328
a release of the commons-parent POM.
328329
-->
329330
<scm>
330-
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-parent.git</connection>
331-
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-parent.git</developerConnection>
332-
<url>https://gitbox.apache.org/repos/asf?p=commons-parent.git</url>
331+
<connection>scm:git:https://gitbox.apache.org/repos/asf/${commons.repo.name}.git</connection>
332+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/${commons.repo.name}.git</developerConnection>
333+
<url>https://gitbox.apache.org/repos/asf?p=${commons.repo.name}.git</url>
334+
<tag>rel/${commons.repo.name}-${commons.release.version}</tag>
333335
</scm>
334336
<issueManagement>
335337
<system>jira</system>

src/changes/changes.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ The <action> type attribute can be add,update,fix,remove.
6060
<release version="92" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
6161
<!-- FIX -->
6262
<!-- ADD -->
63+
<action type="add" dev="ggregory" due-to="Gary Gregory">Add POM property `commons.repo.name` as `commons-${commons.componentid}` and use in project/scm values.</action>
64+
<action type="add" dev="ggregory" due-to="Gary Gregory">Add POM project/scm/tag element.</action>
6365
<!-- UPDATE -->
6466
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump com.puppycrawl.tools:checkstyle from 12.1.0 to 12.1.0 on Java 17 and up.</action>
6567
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump commons.pmd-impl.version from 7.17.0 to 7.18.0 #680.</action>

0 commit comments

Comments
 (0)