JAVA-9511: Fix spring-cloud-dapr module (#11726)

This commit is contained in:
kwoyke 2022-01-22 10:00:31 +01:00 committed by GitHub
parent 2cb4efdfd7
commit 92f7844844
6 changed files with 9 additions and 16 deletions

View File

@ -47,6 +47,7 @@
<module>spring-cloud-eureka-self-preservation</module>
<!--<module>spring-cloud-openfeign</module> --> <!-- Fixing in JAVA-2820 -->
<module>spring-cloud-sentinel</module>
<module>spring-cloud-dapr</module>
</modules>
<build>

View File

@ -7,12 +7,10 @@
<artifactId>gateway</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- Spring Boot [2.6] is not compatible with this Spring Cloud release train, hence kept at 2.5 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.2</version>
<relativePath />
<groupId>com.baeldung.spring.cloud</groupId>
<artifactId>spring-cloud-dapr</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencyManagement>
@ -20,7 +18,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.3</version>
<version>${spring-cloud-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@ -44,8 +42,7 @@
</build>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<spring-cloud-dependencies.version>2021.0.0</spring-cloud-dependencies.version>
</properties>
</project>

View File

@ -1,4 +1,4 @@
package org.example.gateway;
package com.baeldung.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -29,9 +29,4 @@
</plugins>
</build>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project>

View File

@ -1,4 +1,4 @@
package org.example.hello;
package com.baeldung.hello;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package org.example.hello;
package com.baeldung.hello;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;