Skip to content

Commit 38f112b

Browse files
committed
Update flattened POM elements
Update flattened POM rules to satisfy maven central requirements. Fixes gh-12290
1 parent 9bb39f0 commit 38f112b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

spring-boot-project/spring-boot-dependencies/pom.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
<scm>
2323
<url>https://github.com/spring-projects/spring-boot</url>
2424
</scm>
25+
<developers>
26+
<developer>
27+
<name>Pivotal</name>
28+
<email>[email protected]</email>
29+
<organization>Pivotal Software, Inc.</organization>
30+
<organizationUrl>http://www.spring.io</organizationUrl>
31+
</developer>
32+
</developers>
2533
<properties>
2634
<!-- Dependency versions -->
2735
<activemq.version>5.15.3</activemq.version>
@@ -956,7 +964,7 @@
956964
<artifactId>scala-support</artifactId>
957965
<version>${rest-assured.version}</version>
958966
</dependency>
959-
<dependency>
967+
<dependency>
960968
<groupId>io.rest-assured</groupId>
961969
<artifactId>spring-mock-mvc</artifactId>
962970
<version>${rest-assured.version}</version>

spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,13 @@
270270
<configuration>
271271
<updatePomFile>true</updatePomFile>
272272
<pomElements>
273-
<pluginManagement>keep</pluginManagement>
274273
<parent>expand</parent>
275-
<dependencyManagement>keep</dependencyManagement>
274+
<name>keep</name>
275+
<description>keep</description>
276+
<url>expand</url>
276277
<properties>keep</properties>
278+
<pluginManagement>keep</pluginManagement>
279+
<dependencyManagement>keep</dependencyManagement>
277280
<build>keep</build>
278281
</pomElements>
279282
</configuration>

spring-boot-project/spring-boot-starters/spring-boot-starter-parent/src/main/xslt/post-process-flattened-pom.xsl

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
<xsl:template match="/m:project/m:groupId" />
1919
<xsl:template match="/m:project/m:version" />
2020
<xsl:template match="/m:project/m:build/m:plugins" />
21+
<xsl:template match="/m:project/m:licenses" />
2122
</xsl:stylesheet>

0 commit comments

Comments
 (0)