Skip to content

Commit 4c9c57b

Browse files
authored
chore: Add explicit scm for each submodule to have valid urls (#6280)
1 parent c533454 commit 4c9c57b

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
<checkstyle.config.location>checkstyle.xml</checkstyle.config.location>
2323
</properties>
2424

25+
<scm>
26+
<url>https://github.com/INRIA/spoon/tree/${project.scm.tag}</url>
27+
<connection>scm:git:https://github.com/INRIA/spoon.git</connection>
28+
<developerConnection>scm:git:ssh://github.com/INRIA/spoon.git</developerConnection>
29+
<tag>v${project.version}</tag>
30+
</scm>
31+
2532
<dependencies>
2633
<dependency>
2734
<groupId>org.eclipse.jdt</groupId>

spoon-javadoc/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
<name>Spoon Javadoc</name>
1717
<description>A javadoc parser for the java source code analysis tool spoon.</description>
1818
<url>http://spoon.gforge.inria.fr/</url>
19+
<scm>
20+
<url>https://github.com/INRIA/spoon/tree/${project.scm.tag}/spoon-javadoc</url>
21+
<connection>scm:git:https://github.com/INRIA/spoon.git</connection>
22+
<developerConnection>scm:git:ssh://github.com/INRIA/spoon.git</developerConnection>
23+
<tag>v${project.version}</tag>
24+
</scm>
1925
<build>
2026
<plugins>
2127
<plugin>

spoon-pom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090
</issueManagement>
9191

9292
<scm>
93-
<url>https://github.com/INRIA/spoon</url>
93+
<url>https://github.com/INRIA/spoon/tree/${project.scm.tag}/spoon-pom</url>
9494
<connection>scm:git:https://github.com/INRIA/spoon.git</connection>
9595
<developerConnection>scm:git:ssh://github.com/INRIA/spoon.git</developerConnection>
96-
<tag>HEAD</tag>
96+
<tag>v${project.version}</tag>
9797
</scm>
9898

9999
<distributionManagement>

0 commit comments

Comments
 (0)