Skip to content

Commit c888121

Browse files
committed
Updated to cleanup pom.xml
1 parent ca8751e commit c888121

File tree

6 files changed

+8
-68
lines changed

6 files changed

+8
-68
lines changed

creekconsumer/pom.xml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.0.0-SNAPSHOT</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>io.spring</groupId>
@@ -18,22 +18,10 @@
1818
<spring-cloud.version>2022.0.0-SNAPSHOT</spring-cloud.version>
1919
</properties>
2020
<dependencies>
21-
<dependency>
22-
<groupId>org.springframework.boot</groupId>
23-
<artifactId>spring-boot-starter-amqp</artifactId>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.springframework.cloud</groupId>
27-
<artifactId>spring-cloud-stream</artifactId>
28-
</dependency>
2921
<dependency>
3022
<groupId>org.springframework.cloud</groupId>
3123
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
3224
</dependency>
33-
<dependency>
34-
<groupId>org.springframework.cloud</groupId>
35-
<artifactId>spring-cloud-function-context</artifactId>
36-
</dependency>
3725
<dependency>
3826
<groupId>io.spring</groupId>
3927
<artifactId>creekfunctions</artifactId>
@@ -44,18 +32,10 @@
4432
<artifactId>spring-boot-starter-test</artifactId>
4533
<scope>test</scope>
4634
</dependency>
47-
<dependency>
48-
<groupId>org.springframework.amqp</groupId>
49-
<artifactId>spring-rabbit-test</artifactId>
50-
<scope>test</scope>
51-
</dependency>
5235
<dependency>
5336
<groupId>org.springframework.cloud</groupId>
54-
<artifactId>spring-cloud-stream</artifactId>
37+
<artifactId>spring-cloud-stream-test-binder</artifactId>
5538
<scope>test</scope>
56-
<classifier>test-binder</classifier>
57-
<type>test-jar</type>
58-
<version>4.0.0-SNAPSHOT</version>
5939
</dependency>
6040
</dependencies>
6141
<dependencyManagement>

creekfunctions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.0.0-SNAPSHOT</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>io.spring</groupId>

creekfunctions/src/test/java/io/spring/creekfunctions/TransformCreekMeasurementTests.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
import java.util.List;
2020

21-
import com.fasterxml.jackson.databind.ObjectMapper;
22-
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
2321
import org.junit.jupiter.api.BeforeEach;
2422
import org.junit.jupiter.api.Test;
2523

@@ -28,13 +26,10 @@
2826
public class TransformCreekMeasurementTests {
2927

3028
TransformCreekMeasurement transformCreekMeasurement;
31-
ObjectMapper objectMapper;
3229

3330
@BeforeEach
3431
public void setup() {
3532
this.transformCreekMeasurement = new TransformCreekMeasurement();
36-
this.objectMapper = new ObjectMapper();
37-
this.objectMapper.registerModule(new JavaTimeModule());
3833
}
3934

4035
@Test

creekproducer/pom.xml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,39 +18,19 @@
1818
<spring-cloud.version>2022.0.0-SNAPSHOT</spring-cloud.version>
1919
</properties>
2020
<dependencies>
21-
<dependency>
22-
<groupId>org.springframework.boot</groupId>
23-
<artifactId>spring-boot-starter-amqp</artifactId>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.springframework.cloud</groupId>
27-
<artifactId>spring-cloud-stream</artifactId>
28-
</dependency>
2921
<dependency>
3022
<groupId>org.springframework.cloud</groupId>
3123
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
3224
</dependency>
33-
<dependency>
34-
<groupId>org.springframework.cloud</groupId>
35-
<artifactId>spring-cloud-function-context</artifactId>
36-
</dependency>
3725
<dependency>
3826
<groupId>org.springframework.boot</groupId>
3927
<artifactId>spring-boot-starter-test</artifactId>
4028
<scope>test</scope>
4129
</dependency>
42-
<dependency>
43-
<groupId>org.springframework.amqp</groupId>
44-
<artifactId>spring-rabbit-test</artifactId>
45-
<scope>test</scope>
46-
</dependency>
4730
<dependency>
4831
<groupId>org.springframework.cloud</groupId>
49-
<artifactId>spring-cloud-stream</artifactId>
32+
<artifactId>spring-cloud-stream-test-binder</artifactId>
5033
<scope>test</scope>
51-
<classifier>test-binder</classifier>
52-
<type>test-jar</type>
53-
<version>4.0.0-SNAPSHOT</version>
5434
</dependency>
5535
</dependencies>
5636
<dependencyManagement>

creekproducer/src/main/java/io/spring/creekproducer/CreekproducerApplication.java renamed to creekproducer/src/main/java/io/spring/creekproducer/CreekProducerConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import org.springframework.web.client.RestTemplate;
1111

1212
@SpringBootApplication
13-
public class CreekproducerApplication {
13+
public class CreekProducerConfiguration {
1414

1515
public static void main(String[] args) {
16-
SpringApplication.run(CreekproducerApplication.class, args);
16+
SpringApplication.run(CreekProducerConfiguration.class, args);
1717
}
1818

1919
@Bean

creektransformer/pom.xml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.0.0-SNAPSHOT</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>io.spring</groupId>
@@ -18,14 +18,6 @@
1818
<spring-cloud.version>2022.0.0-SNAPSHOT</spring-cloud.version>
1919
</properties>
2020
<dependencies>
21-
<dependency>
22-
<groupId>org.springframework.boot</groupId>
23-
<artifactId>spring-boot-starter-amqp</artifactId>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.springframework.cloud</groupId>
27-
<artifactId>spring-cloud-stream</artifactId>
28-
</dependency>
2921
<dependency>
3022
<groupId>org.springframework.cloud</groupId>
3123
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
@@ -44,17 +36,10 @@
4436
<artifactId>spring-boot-starter-test</artifactId>
4537
<scope>test</scope>
4638
</dependency>
47-
<dependency>
48-
<groupId>org.springframework.amqp</groupId>
49-
<artifactId>spring-rabbit-test</artifactId>
50-
<scope>test</scope>
51-
</dependency>
5239
<dependency>
5340
<groupId>org.springframework.cloud</groupId>
54-
<artifactId>spring-cloud-stream</artifactId>
41+
<artifactId>spring-cloud-stream-test-binder</artifactId>
5542
<scope>test</scope>
56-
<classifier>test-binder</classifier>
57-
<type>test-jar</type>
5843
</dependency>
5944
</dependencies>
6045
<dependencyManagement>

0 commit comments

Comments
 (0)