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:
parent
aaeb72e89d
commit
d58345c913
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.greeter.sample;
|
||||
package com.baeldung.greeter;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
|
@ -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>
|
Loading…
Reference in New Issue