Skip to content

Commit 9a1e34e

Browse files
authored
Use GitHub HTTP URL as Maven scm url (#1887)
According to https://maven.apache.org/pom.html#SCM the `url` should be "a publicly browsable repository", and the example also uses an HTTP URL.
1 parent 2b8cadd commit 9a1e34e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<japicmp.skip>false</japicmp.skip>
125125
<modulemaker.skip>false</modulemaker.skip>
126126
<javadoc.download.skip>false</javadoc.download.skip>
127-
<repository.url>git@github.com:raphw/byte-buddy.git</repository.url>
127+
<repository.git-url>git@github.com:raphw/byte-buddy.git</repository.git-url>
128128
<release.profiles>extras,gpg,gradle-release,multi-release</release.profiles>
129129
<surefire.arguments />
130130
</properties>
@@ -159,9 +159,9 @@
159159
<!-- Cannot fix artifact appending, as this requires newer Maven what breaks builds on old JDKs.
160160
https://maven.apache.org/ref/3.9.9/maven-model-builder/index.html#inheritance-assembly -->
161161
<scm>
162-
<connection>scm:git:${repository.url}</connection>
163-
<developerConnection>scm:git:${repository.url}</developerConnection>
164-
<url>${repository.url}</url>
162+
<connection>scm:git:${repository.git-url}</connection>
163+
<developerConnection>scm:git:${repository.git-url}</developerConnection>
164+
<url>https://github.com/raphw/byte-buddy</url>
165165
<tag>HEAD</tag>
166166
</scm>
167167

0 commit comments

Comments
 (0)