Skip to content

Commit 147eba2

Browse files
committed
Refactor maven POMs to put all information about the dependencies/plugins in the root POM dapr#940
1 parent 0d0d599 commit 147eba2

File tree

7 files changed

+318
-113
lines changed

7 files changed

+318
-113
lines changed

examples/pom.xml

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,116 +23,95 @@
2323
<maven.compiler.target>${java.version}</maven.compiler.target>
2424
<maven.deploy.skip>true</maven.deploy.skip>
2525
<spotbugs.fail>false</spotbugs.fail>
26-
<opentelemetry.version>0.14.0</opentelemetry.version>
2726
</properties>
2827

2928
<dependencies>
3029
<dependency>
3130
<groupId>commons-cli</groupId>
3231
<artifactId>commons-cli</artifactId>
33-
<version>1.4</version>
3432
</dependency>
3533
<dependency>
3634
<groupId>io.grpc</groupId>
3735
<artifactId>grpc-protobuf</artifactId>
38-
<version>${grpc.version}</version>
3936
</dependency>
4037
<dependency>
4138
<groupId>io.grpc</groupId>
4239
<artifactId>grpc-stub</artifactId>
43-
<version>${grpc.version}</version>
4440
</dependency>
4541
<dependency>
4642
<groupId>io.grpc</groupId>
4743
<artifactId>grpc-api</artifactId>
48-
<version>${grpc.version}</version>
4944
</dependency>
5045
<dependency>
5146
<groupId>io.grpc</groupId>
5247
<artifactId>grpc-testing</artifactId>
53-
<version>${grpc.version}</version>
5448
<scope>test</scope>
5549
</dependency>
5650
<dependency>
5751
<groupId>com.google.protobuf</groupId>
5852
<artifactId>protobuf-java-util</artifactId>
5953
<version>${protobuf.version}</version>
6054
</dependency>
61-
<dependency>
62-
<groupId>com.github.os72</groupId>
63-
<artifactId>protoc-jar-maven-plugin</artifactId>
64-
<version>3.11.4</version>
65-
</dependency>
6655
<dependency>
6756
<groupId>org.springframework.boot</groupId>
6857
<artifactId>spring-boot-starter-web</artifactId>
69-
<version>2.7.8</version>
7058
</dependency>
7159
<dependency>
7260
<groupId>org.springframework.boot</groupId>
7361
<artifactId>spring-boot-autoconfigure</artifactId>
74-
<version>2.7.8</version>
7562
</dependency>
7663
<dependency>
7764
<groupId>com.jayway.jsonpath</groupId>
7865
<artifactId>json-path</artifactId>
79-
<version>2.4.0</version>
8066
</dependency>
8167
<dependency>
8268
<groupId>io.opentelemetry</groupId>
8369
<artifactId>opentelemetry-sdk</artifactId>
84-
<version>${opentelemetry.version}</version>
8570
</dependency>
8671
<dependency>
8772
<groupId>io.opentelemetry</groupId>
8873
<artifactId>opentelemetry-exporter-logging</artifactId>
89-
<version>${opentelemetry.version}</version>
9074
</dependency>
9175
<dependency>
9276
<groupId>io.opentelemetry</groupId>
9377
<artifactId>opentelemetry-exporter-zipkin</artifactId>
94-
<version>${opentelemetry.version}</version>
9578
</dependency>
9679
<dependency>
9780
<groupId>org.junit.jupiter</groupId>
9881
<artifactId>junit-jupiter</artifactId>
9982
<scope>test</scope>
10083
</dependency>
84+
10185
<dependency>
10286
<groupId>org.mockito</groupId>
10387
<artifactId>mockito-core</artifactId>
104-
<scope>compile</scope>
10588
</dependency>
89+
90+
<dependency>
91+
<groupId>com.evanlennick</groupId>
92+
<artifactId>retry4j</artifactId>
93+
</dependency>
94+
10695
<dependency>
10796
<groupId>org.junit.platform</groupId>
10897
<artifactId>junit-platform-console-standalone</artifactId>
109-
<version>1.7.0</version>
110-
<scope>compile</scope>
11198
</dependency>
99+
112100
<dependency>
113101
<groupId>io.dapr</groupId>
114102
<artifactId>dapr-sdk-springboot</artifactId>
115-
<version>${project.version}</version>
116103
</dependency>
117104
<dependency>
118105
<groupId>io.dapr</groupId>
119106
<artifactId>dapr-sdk-actors</artifactId>
120-
<version>${project.version}</version>
121107
</dependency>
122108
<dependency>
123109
<groupId>io.dapr</groupId>
124110
<artifactId>dapr-sdk-workflows</artifactId>
125-
<version>${dapr.sdk-workflows.version}</version>
126111
</dependency>
127112
<dependency>
128113
<groupId>io.dapr</groupId>
129114
<artifactId>dapr-sdk</artifactId>
130-
<version>${project.version}</version>
131-
</dependency>
132-
<dependency>
133-
<groupId>com.evanlennick</groupId>
134-
<artifactId>retry4j</artifactId>
135-
<version>0.15.0</version>
136115
</dependency>
137116
</dependencies>
138117

@@ -141,7 +120,6 @@
141120
<plugin>
142121
<groupId>com.github.os72</groupId>
143122
<artifactId>protoc-jar-maven-plugin</artifactId>
144-
<version>3.11.4</version>
145123
<executions>
146124
<execution>
147125
<phase>generate-sources</phase>
@@ -174,31 +152,27 @@
174152
<plugin>
175153
<groupId>org.apache.maven.plugins</groupId>
176154
<artifactId>maven-compiler-plugin</artifactId>
177-
<version>3.8.1</version>
178155
<configuration>
179156
<release>11</release>
180157
</configuration>
181158
</plugin>
182159
<plugin>
183160
<groupId>org.apache.maven.plugins</groupId>
184161
<artifactId>maven-deploy-plugin</artifactId>
185-
<version>${maven-deploy-plugin.version}</version>
186162
<configuration>
187163
<skip>true</skip>
188164
</configuration>
189165
</plugin>
190166
<plugin>
191167
<groupId>org.apache.maven.plugins</groupId>
192168
<artifactId>maven-site-plugin</artifactId>
193-
<version>3.9.1</version>
194169
<configuration>
195170
<skip>true</skip>
196171
</configuration>
197172
</plugin>
198173
<plugin>
199174
<groupId>org.springframework.boot</groupId>
200175
<artifactId>spring-boot-maven-plugin</artifactId>
201-
<version>${springboot.version}</version>
202176
<executions>
203177
<execution>
204178
<goals>

0 commit comments

Comments
 (0)