Skip to content

Commit a446f57

Browse files
committed
Fix missing project information in generated POMS
This commit ensures that the project name and description are published with the generated POMs.
1 parent 545a4fa commit a446f57

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gradle/publications.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ publishing {
55
publications {
66
mavenJava(MavenPublication) {
77
pom {
8-
name = project.description
9-
description = project.description
8+
afterEvaluate {
9+
name = project.description
10+
description = project.description
11+
}
1012
url = "https://github.com/spring-projects/spring-framework"
1113
organization {
1214
name = "Spring IO"

0 commit comments

Comments
 (0)