Skip to content

Commit 5cc7981

Browse files
LLLLimboartursouzaMukundan Sundararajan
authored
Adjusted the configuration of Maven. (dapr#532)
* Adjusted the configuration of Maven. * Update pom.xml * Remove os-maven-plugin and spring-boot-maven-plugin in parent pom * Add version of spring-boot-maven-plugin in the example pom. Add spring-boot-dependencies dependency management in sdk-springboot. Add maven-compiler-plugin to the parent pom's pluginManagement Remove protoc-jar-maven-plugin in example's dependencies. * Update pom.xml Co-authored-by: Artur Souza <[email protected]> Co-authored-by: Mukundan Sundararajan <[email protected]>
1 parent a654861 commit 5cc7981

6 files changed

Lines changed: 375 additions & 250 deletions

File tree

examples/pom.xml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project
2-
xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

77
<parent>
@@ -10,10 +10,8 @@
1010
<version>1.1.0-SNAPSHOT</version>
1111
</parent>
1212

13-
<groupId>io.dapr</groupId>
1413
<artifactId>dapr-sdk-examples</artifactId>
1514
<packaging>jar</packaging>
16-
<version>1.1.0-SNAPSHOT</version>
1715
<name>dapr-sdk-examples</name>
1816

1917
<properties>
@@ -31,53 +29,39 @@
3129
<dependency>
3230
<groupId>commons-cli</groupId>
3331
<artifactId>commons-cli</artifactId>
34-
<version>1.4</version>
3532
</dependency>
3633
<dependency>
3734
<groupId>io.grpc</groupId>
3835
<artifactId>grpc-protobuf</artifactId>
39-
<version>${grpc.version}</version>
4036
</dependency>
4137
<dependency>
4238
<groupId>io.grpc</groupId>
4339
<artifactId>grpc-stub</artifactId>
44-
<version>${grpc.version}</version>
4540
</dependency>
4641
<dependency>
4742
<groupId>io.grpc</groupId>
4843
<artifactId>grpc-api</artifactId>
49-
<version>${grpc.version}</version>
5044
</dependency>
5145
<dependency>
5246
<groupId>io.grpc</groupId>
5347
<artifactId>grpc-testing</artifactId>
54-
<version>${grpc.version}</version>
5548
<scope>test</scope>
5649
</dependency>
5750
<dependency>
5851
<groupId>com.google.protobuf</groupId>
5952
<artifactId>protobuf-java-util</artifactId>
60-
<version>${protobuf.version}</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>com.github.os72</groupId>
64-
<artifactId>protoc-jar-maven-plugin</artifactId>
65-
<version>3.10.1</version>
6653
</dependency>
6754
<dependency>
6855
<groupId>org.springframework.boot</groupId>
6956
<artifactId>spring-boot-starter-web</artifactId>
70-
<version>2.3.5.RELEASE</version>
7157
</dependency>
7258
<dependency>
7359
<groupId>org.springframework.boot</groupId>
7460
<artifactId>spring-boot-autoconfigure</artifactId>
75-
<version>2.3.5.RELEASE</version>
7661
</dependency>
7762
<dependency>
7863
<groupId>com.jayway.jsonpath</groupId>
7964
<artifactId>json-path</artifactId>
80-
<version>2.4.0</version>
8165
</dependency>
8266
<dependency>
8367
<groupId>io.opentelemetry</groupId>
@@ -97,35 +81,29 @@
9781
<dependency>
9882
<groupId>org.junit.jupiter</groupId>
9983
<artifactId>junit-jupiter</artifactId>
100-
<version>RELEASE</version>
10184
<scope>compile</scope>
10285
</dependency>
10386
<dependency>
10487
<groupId>org.mockito</groupId>
10588
<artifactId>mockito-core</artifactId>
106-
<version>3.6.0</version>
10789
<scope>compile</scope>
10890
</dependency>
10991
<dependency>
11092
<groupId>org.junit.platform</groupId>
11193
<artifactId>junit-platform-console-standalone</artifactId>
112-
<version>1.7.0</version>
11394
<scope>compile</scope>
11495
</dependency>
11596
<dependency>
11697
<groupId>io.dapr</groupId>
11798
<artifactId>dapr-sdk-springboot</artifactId>
118-
<version>${project.version}</version>
11999
</dependency>
120100
<dependency>
121101
<groupId>io.dapr</groupId>
122102
<artifactId>dapr-sdk-actors</artifactId>
123-
<version>${project.version}</version>
124103
</dependency>
125104
<dependency>
126105
<groupId>io.dapr</groupId>
127106
<artifactId>dapr-sdk</artifactId>
128-
<version>${project.version}</version>
129107
</dependency>
130108
</dependencies>
131109

@@ -167,7 +145,6 @@
167145
<plugin>
168146
<groupId>org.apache.maven.plugins</groupId>
169147
<artifactId>maven-compiler-plugin</artifactId>
170-
<version>3.8.1</version>
171148
<configuration>
172149
<release>11</release>
173150
</configuration>
@@ -182,14 +159,14 @@
182159
<plugin>
183160
<groupId>org.apache.maven.plugins</groupId>
184161
<artifactId>maven-site-plugin</artifactId>
185-
<version>3.9.1</version>
186162
<configuration>
187163
<skip>true</skip>
188164
</configuration>
189165
</plugin>
190166
<plugin>
191167
<groupId>org.springframework.boot</groupId>
192168
<artifactId>spring-boot-maven-plugin</artifactId>
169+
<version>${springboot.version}</version>
193170
<executions>
194171
<execution>
195172
<goals>

0 commit comments

Comments
 (0)