Skip to content

Commit d5dc893

Browse files
authored
Merge pull request #25913 from OndroMih/ondromih-2026-02-elements-in-flattened-poms
Add elements to flattened poms required by Maven Central
2 parents c9f59da + c7c21a1 commit d5dc893

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

appserver/pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-->
2020

2121
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" child.project.url.inherit.append.path="false">
2323
<modelVersion>4.0.0</modelVersion>
2424

2525
<parent>
@@ -72,7 +72,9 @@
7272
<module>ant-tasks</module>
7373
</modules>
7474

75-
<scm>
75+
<scm child.scm.connection.inherit.append.path="false"
76+
child.scm.developerConnection.inherit.append.path="false"
77+
child.scm.url.inherit.append.path="false">
7678
<connection>scm:git:git://github.com/eclipse-ee4j/glassfish.git</connection>
7779
<developerConnection>scm:git:git://github.com/eclipse-ee4j/glassfish.git</developerConnection>
7880
<url>https://github.com/eclipse-ee4j/glassfish</url>

nucleus/parent/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,13 @@
12731273
<flattenMode>ossrh</flattenMode>
12741274
<updatePomFile>true</updatePomFile>
12751275
<flattenedPomFilename>target/.flattened-pom.xml</flattenedPomFilename>
1276+
<pomElements>
1277+
<name/>
1278+
<description/>
1279+
<url/>
1280+
<scm/>
1281+
<developers/>
1282+
</pomElements>
12761283
</configuration>
12771284
</plugin>
12781285
<plugin>

0 commit comments

Comments
 (0)