JAVA-30991 :- Upgrade spring-boot-custom-starter to Boot 3. (#16140)

* JAVA-30991 :- Upgrade spring-boot-custom-starter to Boot 3.

* JAVA-30991 :- Upgrade spring-boot-custom-starter to Boot 3.

* JAVA-30991 :- Remove unnecessary imports.

* JAVA-30991 :- Used same parent pom and uncommented in the parent module.
This commit is contained in:
Amit Pandey 2024-03-17 18:12:29 +05:30 committed by GitHub
parent aaeb72e89d
commit d58345c913
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 5 deletions

View File

@ -35,7 +35,7 @@
<module>spring-boot-disable-logging</module>
<module>spring-boot-ci-cd</module>
<!-- <module>spring-boot-cli</module> --> <!-- Not a maven project -->
<!-- <module>spring-boot-custom-starter</module>--> <!-- failing after upgrading to spring boot 3.2.x -->
<module>spring-boot-custom-starter</module>
<module>spring-boot-crud</module>
<module>spring-boot-data</module>
<module>spring-boot-environment</module>

View File

@ -1,4 +1,4 @@
package com.baeldung.greeter.sample;
package com.baeldung.greeter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
@ -6,7 +6,6 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.baeldung.greeter.library.Greeter;
@SpringBootApplication
public class GreeterSampleApplication implements CommandLineRunner {

View File

@ -5,7 +5,7 @@ import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.baeldung.greeter.sample.GreeterSampleApplication;
import com.baeldung.greeter.GreeterSampleApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = GreeterSampleApplication.class)

View File

@ -23,4 +23,9 @@
<module>parent-multi-module</module>
</modules>
<properties>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip>
<spring.boot.version>3.2.2</spring.boot.version>
</properties>
</project>