Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Commit 1148e7d

Browse files
committed
Prevent Maven from appending artifact name when inheriting
- However, keep existing behavior for 'site' publishing as it seems useful (though most projects don't use it).
1 parent 7a34610 commit 1148e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>dev.bannmann</groupId>
@@ -26,7 +26,7 @@
2626
</developer>
2727
</developers>
2828

29-
<scm>
29+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
3030
<connection>scm:git:https://github.com/bannmann/base.git</connection>
3131
<tag>HEAD</tag>
3232
<url>https://github.com/bannmann/base</url>

0 commit comments

Comments
 (0)