Skip to content

Commit c296ad2

Browse files
committed
chore: Added more project links to the pom.xml
According to https://maven.apache.org/pom.html#SCM the `scm.url` should be a publicly browsable repository. Replaced git URI with URL to project page on Github. Added `issueManagement` and `ciManagement` information to the scm section.
1 parent a63bba4 commit c296ad2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,18 @@ publishing {
5555
scm {
5656
connection.set("scm:git:[email protected]:open-telemetry/opentelemetry-java-contrib.git")
5757
developerConnection.set("scm:git:[email protected]:open-telemetry/opentelemetry-java-contrib.git")
58-
url.set("[email protected]:open-telemetry/opentelemetry-java-contrib.git")
58+
tag.set("${project.version}")
59+
url.set("https://github.com/open-telemetry/opentelemetry-java-contrib/tree/${project.version}")
60+
}
61+
62+
issueManagement {
63+
system.set("GitHub Issues")
64+
url.set("https://github.com/open-telemetry/opentelemetry-java-contrib/issues")
65+
}
66+
67+
ciManagement {
68+
system.set("GitHub Actions")
69+
url.set("https://github.com/open-telemetry/opentelemetry-java-contrib/actions")
5970
}
6071

6172
withXml {

0 commit comments

Comments
 (0)