Adjusted the configuration of Maven. (#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 <artursouza.ms@outlook.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
This commit is contained in:
LLLLimbo 2021-04-27 14:26:11 +08:00 committed by GitHub
parent a654861def
commit 5cc79811cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 378 additions and 253 deletions

View File

@ -1,7 +1,7 @@
<project <project
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -10,10 +10,8 @@
<version>1.1.0-SNAPSHOT</version> <version>1.1.0-SNAPSHOT</version>
</parent> </parent>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-examples</artifactId> <artifactId>dapr-sdk-examples</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>dapr-sdk-examples</name> <name>dapr-sdk-examples</name>
<properties> <properties>
@ -31,53 +29,39 @@
<dependency> <dependency>
<groupId>commons-cli</groupId> <groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId> <artifactId>commons-cli</artifactId>
<version>1.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId> <artifactId>grpc-protobuf</artifactId>
<version>${grpc.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId> <artifactId>grpc-stub</artifactId>
<version>${grpc.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId> <artifactId>grpc-api</artifactId>
<version>${grpc.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId> <artifactId>grpc-testing</artifactId>
<version>${grpc.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.protobuf</groupId> <groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId> <artifactId>protobuf-java-util</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>com.github.os72</groupId>
<artifactId>protoc-jar-maven-plugin</artifactId>
<version>3.10.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>2.3.5.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId> <artifactId>spring-boot-autoconfigure</artifactId>
<version>2.3.5.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.jayway.jsonpath</groupId> <groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId> <artifactId>json-path</artifactId>
<version>2.4.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.opentelemetry</groupId> <groupId>io.opentelemetry</groupId>
@ -97,35 +81,29 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId> <artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId> <artifactId>mockito-core</artifactId>
<version>3.6.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.platform</groupId> <groupId>org.junit.platform</groupId>
<artifactId>junit-platform-console-standalone</artifactId> <artifactId>junit-platform-console-standalone</artifactId>
<version>1.7.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk-springboot</artifactId> <artifactId>dapr-sdk-springboot</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId> <artifactId>dapr-sdk-actors</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId> <artifactId>dapr-sdk</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -167,7 +145,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration> <configuration>
<release>11</release> <release>11</release>
</configuration> </configuration>
@ -182,7 +159,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>
@ -190,6 +166,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>${springboot.version}</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>

508
pom.xml
View File

@ -1,7 +1,7 @@
<project <project
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
@ -14,17 +14,62 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<grpc.version>1.33.1</grpc.version>
<protobuf.version>3.13.0</protobuf.version>
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.1.0-rc.1/dapr/proto</dapr.proto.baseurl>
<os-maven-plugin.version>1.6.2</os-maven-plugin.version>
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip> <maven.deploy.skip>true</maven.deploy.skip>
<gpg.skip>true</gpg.skip>
<!--dependencies-->
<grpc.version>1.33.1</grpc.version>
<protobuf.version>3.13.0</protobuf.version>
<json-path.version>2.4.0</json-path.version>
<jackson-databind.version>2.11.3</jackson-databind.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<reactor-core.version>3.3.11.RELEASE</reactor-core.version>
<okhttp.version>4.9.0</okhttp.version>
<springboot.version>2.3.5.RELEASE</springboot.version>
<grpc-testing.version>1.33.1</grpc-testing.version>
<okhttp-mock.version>1.3.2</okhttp-mock.version>
<commons-cli.version>1.4</commons-cli.version>
<system-rules.version>1.19.0</system-rules.version>
<jackson-dataformat-xml.version>2.11.3</jackson-dataformat-xml.version>
<mockito-core.version>3.6.0</mockito-core.version>
<junit.version>4.13.1</junit.version>
<junit-platform-console-standalone.version>1.7.0</junit-platform-console-standalone.version>
<junit-jupiter.version>RELEASE</junit-jupiter.version>
<junit-jupiter-engine.version>5.7.0</junit-jupiter-engine.version>
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.1.0-rc.1/dapr/proto</dapr.proto.baseurl>
<!--plugins-->
<download-maven-plugin.version>1.6.0</download-maven-plugin.version>
<protoc-jar-maven-plugin.version>3.11.4</protoc-jar-maven-plugin.version>
<os-maven-plugin.version>1.6.2</os-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<failsafe-maven-plugin.version>2.4.3-alpha-1</failsafe-maven-plugin.version>
<checkstyle.version>8.37</checkstyle.version>
<spotbugs-maven-plugin.version>4.1.4</spotbugs-maven-plugin.version>
<spotbugs.version>4.0.0-RC1</spotbugs.version> <spotbugs.version>4.0.0-RC1</spotbugs.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
<maven-site-plugin.version>3.8.2</maven-site-plugin.version>
<maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-deploy-plugin.version>2.7</maven-deploy-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<gpg.skip>true</gpg.skip>
<spotbugs.fail>true</spotbugs.fail> <spotbugs.fail>true</spotbugs.fail>
</properties> </properties>
@ -46,6 +91,109 @@
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-examples</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-autogen</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-springboot</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-console-standalone</artifactId>
<version>${junit-platform-console-standalone.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId>
<version>${grpc-testing.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter-engine.version}</version>
</dependency>
<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
<version>${system-rules.version}</version>
</dependency>
<dependency>
<groupId>com.github.gmazzo</groupId>
<artifactId>okhttp-mock</artifactId>
<version>${okhttp-mock.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>${json-path.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${jackson-dataformat-xml.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>${reactor-core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-databind.version}</version>
</dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId> <artifactId>grpc-bom</artifactId>
@ -61,158 +209,211 @@
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.13.1</version> <version>${junit.version}</version>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>javax.annotation</groupId>
<artifactId>mockito-core</artifactId> <artifactId>javax.annotation-api</artifactId>
<version>3.6.0</version> <version>${javax.annotation-api.version}</version>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<build> <build>
<plugins>
<plugin> <pluginManagement>
<groupId>org.jacoco</groupId> <plugins>
<artifactId>jacoco-maven-plugin</artifactId> <plugin>
<version>0.8.6</version> <groupId>org.apache.maven.plugins</groupId>
<executions> <artifactId>maven-compiler-plugin</artifactId>
<execution> <version>${maven-compiler-plugin.version}</version>
<goals> </plugin>
<goal>prepare-agent</goal>
</goals> <plugin>
</execution> <groupId>org.apache.maven.plugins</groupId>
<execution> <artifactId>maven-source-plugin</artifactId>
<id>report</id> <version>${maven-source-plugin.version}</version>
<phase>test</phase> </plugin>
<goals>
<goal>report</goal> <plugin>
</goals> <groupId>org.apache.maven.plugins</groupId>
</execution> <artifactId>maven-deploy-plugin</artifactId>
</executions> <version>${maven-deploy-plugin.version}</version>
</plugin> <configuration>
<plugin> <skip>true</skip>
<groupId>org.apache.maven.plugins</groupId> </configuration>
<artifactId>maven-gpg-plugin</artifactId> </plugin>
<version>1.6</version>
<executions> <plugin>
<execution> <groupId>org.jacoco</groupId>
<id>sign-artifacts</id> <artifactId>jacoco-maven-plugin</artifactId>
<phase>verify</phase> <version>${jacoco-maven-plugin.version}</version>
<goals> <executions>
<goal>sign</goal> <execution>
</goals> <goals>
<configuration> <goal>prepare-agent</goal>
<gpgArguments> </goals>
<arg>--batch</arg> </execution>
<arg>--pinentry-mode</arg> <execution>
<arg>loopback</arg> <id>report</id>
</gpgArguments> <phase>test</phase>
</configuration> <goals>
</execution> <goal>report</goal>
</executions> </goals>
</plugin> </execution>
<plugin> </executions>
<groupId>org.sonatype.plugins</groupId> </plugin>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version> <plugin>
<extensions>true</extensions> <groupId>com.googlecode.maven-download-plugin</groupId>
<configuration> <artifactId>download-maven-plugin</artifactId>
<serverId>ossrh</serverId> <version>${download-maven-plugin.version}</version>
<nexusUrl>https://oss.sonatype.org/</nexusUrl> </plugin>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
<plugin> <artifactId>maven-gpg-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId> <version>${maven-gpg-plugin.version}</version>
<artifactId>failsafe-maven-plugin</artifactId> <executions>
<version>2.4.3-alpha-1</version> <execution>
<executions> <id>sign-artifacts</id>
<execution> <phase>verify</phase>
<goals> <goals>
<goal>integration-test</goal> <goal>sign</goal>
<goal>verify</goal> </goals>
</goals> <configuration>
<configuration> <gpgArguments>
<!--suppress UnresolvedMavenProperty --> <arg>--batch</arg>
<skip>${skipITs}</skip> <arg>--pinentry-mode</arg>
</configuration> <arg>loopback</arg>
</execution> </gpgArguments>
</executions> </configuration>
</plugin> </execution>
<plugin> </executions>
<groupId>org.apache.maven.plugins</groupId> </plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version> <plugin>
<configuration> <groupId>com.github.os72</groupId>
<configLocation>checkstyle.xml</configLocation> <artifactId>protoc-jar-maven-plugin</artifactId>
<encoding>UTF-8</encoding> <version>${protoc-jar-maven-plugin.version}</version>
<consoleOutput>true</consoleOutput> </plugin>
<violationSeverity>warning</violationSeverity>
<failOnViolation>true</failOnViolation> <plugin>
<failsOnError>true</failsOnError> <groupId>org.sonatype.plugins</groupId>
<linkXRef>false</linkXRef> <artifactId>nexus-staging-maven-plugin</artifactId>
</configuration> <version>${nexus-staging-maven-plugin.version}</version>
<executions> <extensions>true</extensions>
<execution> <configuration>
<id>validate</id> <serverId>ossrh</serverId>
<phase>validate</phase> <nexusUrl>https://oss.sonatype.org/</nexusUrl>
<goals> <autoReleaseAfterClose>true</autoReleaseAfterClose>
<goal>check</goal> </configuration>
</goals> </plugin>
</execution>
</executions> <plugin>
<dependencies> <groupId>org.codehaus.mojo</groupId>
<dependency> <artifactId>failsafe-maven-plugin</artifactId>
<groupId>com.puppycrawl.tools</groupId> <version>${failsafe-maven-plugin.version}</version>
<artifactId>checkstyle</artifactId> <executions>
<version>8.37</version> <execution>
</dependency> <goals>
</dependencies> <goal>integration-test</goal>
</plugin> <goal>verify</goal>
<plugin> </goals>
<groupId>com.github.spotbugs</groupId> <configuration>
<artifactId>spotbugs-maven-plugin</artifactId> <!--suppress UnresolvedMavenProperty -->
<version>4.1.4</version> <skip>${skipITs}</skip>
<dependencies> </configuration>
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> </execution>
<dependency> </executions>
<groupId>com.github.spotbugs</groupId> </plugin>
<artifactId>spotbugs</artifactId>
<version>${spotbugs.version}</version> <plugin>
</dependency> <groupId>org.apache.maven.plugins</groupId>
</dependencies> <artifactId>maven-checkstyle-plugin</artifactId>
<configuration> <version>${maven-checkstyle-plugin.version}</version>
<failOnError>${spotbugs.fail}</failOnError> <configuration>
<xmlOutput>true</xmlOutput> <configLocation>checkstyle.xml</configLocation>
</configuration> <encoding>UTF-8</encoding>
<executions> <consoleOutput>true</consoleOutput>
<execution> <violationSeverity>warning</violationSeverity>
<id>validate</id> <failOnViolation>true</failOnViolation>
<phase>validate</phase> <failsOnError>true</failsOnError>
<goals> <linkXRef>false</linkXRef>
<goal>check</goal> </configuration>
</goals> <executions>
</execution> <execution>
</executions> <id>validate</id>
</plugin> <phase>validate</phase>
<plugin> <goals>
<groupId>org.apache.maven.plugins</groupId> <goal>check</goal>
<artifactId>maven-site-plugin</artifactId> </goals>
<version>3.8.2</version> </execution>
</plugin> </executions>
</plugins> <dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
<dependencies>
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>${spotbugs.version}</version>
</dependency>
</dependencies>
<configuration>
<failOnError>${spotbugs.fail}</failOnError>
<xmlOutput>true</xmlOutput>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
<profiles>
</profiles>
<reporting> <reporting>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId> <artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version> <version>${maven-project-info-reports-plugin.version}</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<reports> <reports>
@ -223,7 +424,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<id>aggregate</id> <id>aggregate</id>
@ -237,7 +437,9 @@
<failOnWarnings>false</failOnWarnings> <failOnWarnings>false</failOnWarnings>
<failOnError>true</failOnError> <failOnError>true</failOnError>
<goal>site</goal> <goal>site</goal>
<excludePackageNames>io.dapr.examples:io.dapr.springboot:io.dapr.examples.*:io.dapr.springboot.*</excludePackageNames> <excludePackageNames>
io.dapr.examples:io.dapr.springboot:io.dapr.examples.*:io.dapr.springboot.*
</excludePackageNames>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -260,9 +462,9 @@
</developers> </developers>
<scm> <scm>
<url>https://github.com/dapr/java-sdk</url> <url>https://github.com/dapr/java-sdk</url>
<connection>scm:git:https://github.com/dapr/java-sdk.git</connection> <connection>scm:git:https://github.com/dapr/java-sdk.git</connection>
<tag>HEAD</tag> <tag>HEAD</tag>
</scm> </scm>
<modules> <modules>

View File

@ -12,7 +12,6 @@
<artifactId>dapr-sdk-actors</artifactId> <artifactId>dapr-sdk-actors</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>dapr-sdk-actors</name> <name>dapr-sdk-actors</name>
<description>SDK for Actors on Dapr</description> <description>SDK for Actors on Dapr</description>
@ -35,7 +34,6 @@
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId> <artifactId>dapr-sdk</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -47,28 +45,24 @@
<artifactId>mockito-core</artifactId> <artifactId>mockito-core</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.gmazzo</groupId> <groupId>com.github.gmazzo</groupId>
<artifactId>okhttp-mock</artifactId> <artifactId>okhttp-mock</artifactId>
<version>1.3.2</version> <scope>test</scope>
<scope>test</scope> </dependency>
</dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>5.5.2</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-cli</groupId> <groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId> <artifactId>commons-cli</artifactId>
<version>1.4</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>2.3.5.RELEASE</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -78,7 +72,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
@ -92,7 +85,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
@ -105,7 +97,6 @@
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions> <executions>
<execution> <execution>
<id>default-prepare-agent</id> <id>default-prepare-agent</id>
@ -133,7 +124,7 @@
<rule> <rule>
<element>BUNDLE</element> <element>BUNDLE</element>
<limits> <limits>
<limit> <limit>
<counter>LINE</counter> <counter>LINE</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>80%</minimum> <minimum>80%</minimum>

View File

@ -12,7 +12,6 @@
<artifactId>dapr-sdk-autogen</artifactId> <artifactId>dapr-sdk-autogen</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>dapr-sdk-autogen</name> <name>dapr-sdk-autogen</name>
<description>Auto-generated SDK for Dapr</description> <description>Auto-generated SDK for Dapr</description>
@ -26,7 +25,6 @@
<dependency> <dependency>
<groupId>javax.annotation</groupId> <groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId> <artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -47,11 +45,6 @@
<artifactId>grpc-testing</artifactId> <artifactId>grpc-testing</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>1.33.1</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -59,7 +52,6 @@
<plugin> <plugin>
<groupId>com.googlecode.maven-download-plugin</groupId> <groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId> <artifactId>download-maven-plugin</artifactId>
<version>1.6.0</version>
<executions> <executions>
<execution> <execution>
<id>getCommonProto</id> <id>getCommonProto</id>
@ -108,7 +100,6 @@
<plugin> <plugin>
<groupId>com.github.os72</groupId> <groupId>com.github.os72</groupId>
<artifactId>protoc-jar-maven-plugin</artifactId> <artifactId>protoc-jar-maven-plugin</artifactId>
<version>3.11.4</version>
<executions> <executions>
<execution> <execution>
<phase>generate-sources</phase> <phase>generate-sources</phase>
@ -142,7 +133,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
@ -155,7 +145,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>

View File

@ -12,7 +12,6 @@
<artifactId>dapr-sdk-springboot</artifactId> <artifactId>dapr-sdk-springboot</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>dapr-sdk-springboot</name> <name>dapr-sdk-springboot</name>
<description>SDK extension for Springboot</description> <description>SDK extension for Springboot</description>
@ -29,7 +28,6 @@
<properties> <properties>
<maven.deploy.skip>false</maven.deploy.skip> <maven.deploy.skip>false</maven.deploy.skip>
<springboot.version>2.3.5.RELEASE</springboot.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
@ -48,12 +46,10 @@
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId> <artifactId>dapr-sdk</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId> <artifactId>dapr-sdk-actors</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -65,42 +61,31 @@
<artifactId>mockito-core</artifactId> <artifactId>mockito-core</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.gmazzo</groupId> <groupId>com.github.gmazzo</groupId>
<artifactId>okhttp-mock</artifactId> <artifactId>okhttp-mock</artifactId>
<version>1.3.2</version> <scope>test</scope>
<scope>test</scope> </dependency>
</dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>5.5.2</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId> <artifactId>spring-beans</artifactId>
<version>5.2.10.RELEASE</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.2.10.RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId> <artifactId>spring-web</artifactId>
<version>5.2.10.RELEASE</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
<version>5.2.10.RELEASE</version> <scope>compile</scope>
<scope>compile</scope> </dependency>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId> <artifactId>spring-boot-autoconfigure</artifactId>
@ -119,7 +104,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
@ -133,7 +117,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
@ -146,7 +129,6 @@
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions> <executions>
<execution> <execution>
<id>default-prepare-agent</id> <id>default-prepare-agent</id>
@ -174,7 +156,7 @@
<rule> <rule>
<element>BUNDLE</element> <element>BUNDLE</element>
<limits> <limits>
<limit> <limit>
<counter>LINE</counter> <counter>LINE</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>80%</minimum> <minimum>80%</minimum>

View File

@ -12,10 +12,9 @@
<artifactId>dapr-sdk</artifactId> <artifactId>dapr-sdk</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>dapr-sdk</name> <name>dapr-sdk</name>
<description>SDK for Dapr</description> <description>SDK for Dapr</description>
<repositories> <repositories>
<repository> <repository>
<snapshots> <snapshots>
@ -35,22 +34,18 @@
<dependency> <dependency>
<groupId>io.dapr</groupId> <groupId>io.dapr</groupId>
<artifactId>dapr-sdk-autogen</artifactId> <artifactId>dapr-sdk-autogen</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId> <artifactId>jackson-databind</artifactId>
<version>2.11.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.projectreactor</groupId> <groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId> <artifactId>reactor-core</artifactId>
<version>3.3.11.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId> <artifactId>okhttp</artifactId>
<version>4.9.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -65,49 +60,41 @@
<dependency> <dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId> <groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId> <artifactId>jackson-dataformat-xml</artifactId>
<version>2.11.3</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-cli</groupId> <groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId> <artifactId>commons-cli</artifactId>
<version>1.4</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.gmazzo</groupId> <groupId>com.github.gmazzo</groupId>
<artifactId>okhttp-mock</artifactId> <artifactId>okhttp-mock</artifactId>
<version>1.3.2</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.stefanbirkner</groupId> <groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId> <artifactId>system-rules</artifactId>
<version>1.19.0</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>5.7.0</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>2.3.5.RELEASE</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId> <artifactId>spring-boot-autoconfigure</artifactId>
<version>2.3.5.RELEASE</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.grpc</groupId> <groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId> <artifactId>grpc-testing</artifactId>
<version>1.33.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -117,7 +104,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
@ -130,7 +116,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
@ -143,7 +128,6 @@
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions> <executions>
<execution> <execution>
<id>default-prepare-agent</id> <id>default-prepare-agent</id>
@ -171,7 +155,7 @@
<rule> <rule>
<element>BUNDLE</element> <element>BUNDLE</element>
<limits> <limits>
<limit> <limit>
<counter>LINE</counter> <counter>LINE</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>80%</minimum> <minimum>80%</minimum>