From 5917a58bf14d1c3c04e3dfd3414b44f8024b3db4 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 21 Feb 2018 16:01:59 -0800 Subject: [PATCH] Add Automatic-Module-Name to manifest file Update build to add `Automatic-Module-Name` entry to the manifest file. Also refined a few of the other entries that appear. Fixes gh-11994 --- .../spring-boot-dependencies/pom.xml | 2 +- .../spring-boot-parent/pom.xml | 30 +++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 9b9fc4d093d..4641b600a4d 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -12,7 +12,7 @@ pom Spring Boot Dependencies Spring Boot Dependencies - https://projects.spring.io/spring-boot/ + https://projects.spring.io/spring-boot/# Apache License, Version 2.0 diff --git a/spring-boot-project/spring-boot-parent/pom.xml b/spring-boot-project/spring-boot-parent/pom.xml index 55e08b86e0c..1ad02757524 100644 --- a/spring-boot-project/spring-boot-parent/pom.xml +++ b/spring-boot-project/spring-boot-parent/pom.xml @@ -523,6 +523,25 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + regex-property + + regex-property + + + modulename + ${artifactId} + - + . + true + + + + org.codehaus.mojo flatten-maven-plugin @@ -634,10 +653,17 @@ maven-jar-plugin + false - true - true + false + false + + ${project.name} + ${modulename} + ${project.version} + Spring +