Skip to content

Commit 70bd79e

Browse files
bdemersandreaTP
authored andcommitted
Generate project URLs correctly from SCM
Maven's SCM inheritance assumes older style SVN style submodule paths by default, turning this off requries the use of a few XML attributes See: https://maven.apache.org/ref/3.6.1/maven-model-builder/#Inheritance_Assembly This change also updates the connection/developerConnection. When possible the 'connection' should be a public accessible URL (e.g. no-auth required https://github.com/...), and the developerConnection to the previously used ssh url See: https://maven.apache.org/pom.html#SCM Fixes: #32
1 parent d278615 commit 70bd79e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
<module>core</module>
3131
</modules>
3232

33-
<scm>
34-
<connection>scm:[email protected]:StyraInc/opa-java-wasm.git</connection>
33+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
34+
<connection>scm:git:https://github.com/StyraInc/opa-java-wasm.git</connection>
35+
<developerConnection>scm:[email protected]:StyraInc/opa-java-wasm.git</developerConnection>
3536
<url>https://github.com/StyraInc/opa-java-wasm.git</url>
3637
</scm>
3738

0 commit comments

Comments
 (0)