From abc90db32f4b35dbff6e658f2f3d4217f565fae4 Mon Sep 17 00:00:00 2001 From: Mustafa Ulu Date: Sun, 21 Feb 2021 22:57:43 +0300 Subject: [PATCH 1/2] Fix wording error in build-info goal description See gh-25382 --- buildSrc/src/test/resources/plugin.xml | 2 +- .../main/java/org/springframework/boot/maven/BuildInfoMojo.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/test/resources/plugin.xml b/buildSrc/src/test/resources/plugin.xml index f9464b5a5dd..8e21135e719 100644 --- a/buildSrc/src/test/resources/plugin.xml +++ b/buildSrc/src/test/resources/plugin.xml @@ -14,7 +14,7 @@ build-info - Generate a {@code build-info.properties} file based the content of the current + Generate a {@code build-info.properties} file based on the content of the current {@link MavenProject}. false true diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java index 32ad6f6003e..0744c0755db 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java @@ -37,7 +37,7 @@ import org.springframework.boot.loader.tools.BuildPropertiesWriter.NullAdditiona import org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails; /** - * Generate a {@code build-info.properties} file based the content of the current + * Generate a {@code build-info.properties} file based on the content of the current * {@link MavenProject}. * * @author Stephane Nicoll From 77daae1480f2abec37a20bad00d092dbfcbe53a3 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 22 Feb 2021 10:41:49 +0100 Subject: [PATCH 2/2] Update copyright year of changed file See gh-25382 --- .../main/java/org/springframework/boot/maven/BuildInfoMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java index 0744c0755db..0b88685f70a 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.