This is an automated email from the ASF dual-hosted git repository. albumenj pushed a commit to branch 3.2 in repository https://gitbox.apache.org/repos/asf/dubbo.git
commit f77da8604bd5344656daa8c9ad35f2fb32768705 Merge: 2ca55a6fad 6b4e13adf7 Author: Albumen Kevin <[email protected]> AuthorDate: Mon Nov 13 10:05:35 2023 +0800 Merge branch '3.2.8-release' into apache-3.2 # Conflicts: # dubbo-dependencies-bom/pom.xml # dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml # dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml # pom.xml dubbo-dependencies-bom/pom.xml | 2 +- dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml | 2 +- dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml | 2 +- pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --cc dubbo-dependencies-bom/pom.xml index 1cb20f3435,7dc412f7a4..8d083643bf --- a/dubbo-dependencies-bom/pom.xml +++ b/dubbo-dependencies-bom/pom.xml @@@ -15,999 -15,942 +15,999 @@@ See the License for the specific language governing permissions and limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>27</version> - <relativePath/> - </parent> - - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-dependencies-bom</artifactId> - <version>${revision}</version> - <packaging>pom</packaging> - - <name>dubbo-dependencies-bom</name> - <description>Dubbo dependencies BOM</description> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>27</version> + <relativePath /> + </parent> + + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-dependencies-bom</artifactId> + <version>${revision}</version> + <packaging>pom</packaging> + + <name>dubbo-dependencies-bom</name> + <description>Dubbo dependencies BOM</description> + <url>https://github.com/apache/dubbo</url> + <inceptionYear>2011</inceptionYear> + + <organization> + <name>The Apache Software Foundation</name> + <url>http://www.apache.org/</url> + </organization> + <licenses> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0</url> + <distribution>repo</distribution> + </license> + </licenses> + <developers> + <developer> + <id>dubbo.io</id> + <name>The Dubbo Project Contributors</name> + <email>[email protected]</email> + <url>http://dubbo.apache.org/</url> + </developer> + </developers> + <mailingLists> + <mailingList> + <name>Development List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + <mailingList> + <name>Commits List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + <mailingList> + <name>Issues List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + </mailingLists> + + <scm> + <connection>scm:git:https://github.com/apache/dubbo.git</connection> + <developerConnection>scm:git:https://github.com/apache/dubbo.git</developerConnection> + <tag>HEAD</tag> <url>https://github.com/apache/dubbo</url> - <inceptionYear>2011</inceptionYear> - <licenses> - <license> - <name>Apache License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> - <distribution>repo</distribution> - </license> - </licenses> - - <scm> - <url>https://github.com/apache/dubbo</url> - <connection>scm:git:https://github.com/apache/dubbo.git</connection> - <developerConnection>scm:git:https://github.com/apache/dubbo.git</developerConnection> - <tag>HEAD</tag> - </scm> - <mailingLists> - <mailingList> - <name>Development List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - <mailingList> - <name>Commits List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - <mailingList> - <name>Issues List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - </mailingLists> - <developers> - <developer> - <id>dubbo.io</id> - <name>The Dubbo Project Contributors</name> - <email>[email protected]</email> - <url>http://dubbo.apache.org/</url> - </developer> - </developers> - - <organization> - <name>The Apache Software Foundation</name> - <url>http://www.apache.org/</url> - </organization> - - <issueManagement> - <system>Github Issues</system> - <url>https://github.com/apache/dubbo/issues</url> - </issueManagement> - - <properties> - <!-- Common libs --> - <!-- <spring_version>4.3.30.RELEASE</spring_version> --> - <spring_version>5.3.25</spring_version> - <spring_security_version>5.8.8</spring_security_version> - <javassist_version>3.29.2-GA</javassist_version> - <bytebuddy.version>1.14.9</bytebuddy.version> - <netty_version>3.2.10.Final</netty_version> - <netty4_version>4.1.100.Final</netty4_version> - <mina_version>2.2.1</mina_version> - <grizzly_version>2.4.4</grizzly_version> - <httpclient_version>4.5.14</httpclient_version> - <httpcore_version>4.4.16</httpcore_version> - <fastjson_version>1.2.83</fastjson_version> - <fastjson2_version>2.0.41</fastjson2_version> - <zookeeper_version>3.7.0</zookeeper_version> - <curator_version>5.1.0</curator_version> - <curator_test_version>2.12.0</curator_test_version> - <jedis_version>3.10.0</jedis_version> - <consul_version>1.4.5</consul_version> - <consul_process_version>2.2.1</consul_process_version> - <consul_client_version>1.5.3</consul_client_version> - <xmemcached_version>1.4.3</xmemcached_version> - <cxf_version>3.5.5</cxf_version> - <thrift_version>0.19.0</thrift_version> - <hessian_version>4.0.66</hessian_version> - <protobuf-java_version>3.24.4</protobuf-java_version> - <javax_annotation-api_version>1.3.2</javax_annotation-api_version> - <servlet_version>3.1.0</servlet_version> - <jetty_version>9.4.53.v20231009</jetty_version> - <validation_new_version>3.0.2</validation_new_version> - <validation_version>1.1.0.Final</validation_version> - <hibernate_validator_version>5.4.3.Final</hibernate_validator_version> - <hibernate_validator_new_version>7.0.5.Final</hibernate_validator_new_version> - <jel_version>3.0.1-b12</jel_version> - <jcache_version>1.1.1</jcache_version> - <kryo_version>4.0.3</kryo_version> - <kryo_serializers_version>0.45</kryo_serializers_version> - <fst_version>2.57</fst_version> - <avro_version>1.11.1</avro_version> - <apollo_client_version>2.1.0</apollo_client_version> - <snakeyaml_version>2.2</snakeyaml_version> - <commons_lang3_version>3.12.0</commons_lang3_version> - <protostuff_version>1.8.0</protostuff_version> - <envoy_api_version>0.1.35</envoy_api_version> - <micrometer.version>1.11.5</micrometer.version> - - <micrometer-tracing.version>1.1.6</micrometer-tracing.version> - <t_digest.version>3.3</t_digest.version> - <prometheus_client.version>0.16.0</prometheus_client.version> - <reactive.version>1.0.4</reactive.version> - <reactor.version>3.5.11</reactor.version> - <rxjava.version>2.2.21</rxjava.version> - <okhttp_version>3.14.9</okhttp_version> - - <rs_api_version>2.1.1</rs_api_version> - <resteasy_version>3.15.6.Final</resteasy_version> - <codehaus-jackson_version>1.9.13</codehaus-jackson_version> - <tomcat_embed_version>8.5.87</tomcat_embed_version> - <jetcd_version>0.7.6</jetcd_version> - <nacos_version>2.2.4</nacos_version> - <grpc.version>1.59.0</grpc.version> - <grpc_contrib_verdion>0.8.1</grpc_contrib_verdion> - <jprotoc_version>1.2.2</jprotoc_version> - <!-- Log libs --> - <slf4j_version>1.7.36</slf4j_version> - <jcl_version>1.2</jcl_version> - <log4j_version>1.2.17</log4j_version> - <logback_version>1.2.11</logback_version> - <!-- Fix the bug of log4j refer:https://github.com/apache/logging-log4j2/pull/608 --> - <log4j2_version>2.20.0</log4j2_version> - <commons_io_version>2.11.0</commons_io_version> - - <embedded_redis_version>0.13.0</embedded_redis_version> - - <!-- Eureka --> - <eureka.version>1.10.18</eureka.version> - - <!-- Fabric8 for Kubernetes --> - <fabric8_kubernetes_version>6.9.0</fabric8_kubernetes_version> - - <!-- Alibaba --> - <alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version> - - <jaxb_version>2.2.7</jaxb_version> - <activation_version>1.2.0</activation_version> - <test_container_version>1.19.1</test_container_version> - <etcd_launcher_version>0.7.6</etcd_launcher_version> - <hessian_lite_version>3.2.13</hessian_lite_version> - <swagger_version>1.6.12</swagger_version> - - <snappy_java_version>1.1.10.5</snappy_java_version> - <bouncycastle-bcprov_version>1.70</bouncycastle-bcprov_version> - <metrics_version>2.0.6</metrics_version> - <sofa_registry_version>5.4.3</sofa_registry_version> - <gson_version>2.10.1</gson_version> - <jackson_version>2.15.3</jackson_version> - <mortbay_jetty_version>6.1.26</mortbay_jetty_version> - <portlet_version>2.0</portlet_version> - <maven_flatten_version>1.5.0</maven_flatten_version> - <commons_compress_version>1.23.0</commons_compress_version> - <revision>3.2.8</revision> - </properties> - - <dependencyManagement> - <dependencies> - <!-- Common libs --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-framework-bom</artifactId> - <version>${spring_version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-bom</artifactId> - <version>${spring_security_version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-bom</artifactId> - <version>${netty4_version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>io.micrometer</groupId> - <artifactId>micrometer-bom</artifactId> - <version>${micrometer.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>io.micrometer</groupId> - <artifactId>micrometer-tracing-bom</artifactId> - <version>${micrometer-tracing.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - <version>${netty4_version}</version> - </dependency> - <dependency> - <groupId>org.javassist</groupId> - <artifactId>javassist</artifactId> - <version>${javassist_version}</version> - </dependency> - <dependency> - <groupId>net.bytebuddy</groupId> - <artifactId>byte-buddy</artifactId> - <version>${bytebuddy.version}</version> - </dependency> - <dependency> - <groupId>org.jboss.netty</groupId> - <artifactId>netty</artifactId> - <version>${netty_version}</version> - </dependency> - <dependency> - <groupId>org.apache.mina</groupId> - <artifactId>mina-core</artifactId> - <version>${mina_version}</version> - </dependency> - <dependency> - <groupId>org.glassfish.grizzly</groupId> - <artifactId>grizzly-core</artifactId> - <version>${grizzly_version}</version> - </dependency> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>${httpclient_version}</version> - </dependency> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpcore</artifactId> - <version>${httpcore_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>fastjson</artifactId> - <version>${fastjson_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba.fastjson2</groupId> - <artifactId>fastjson2</artifactId> - <version>${fastjson2_version}</version> - </dependency> - <dependency> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - <version>${zookeeper_version}</version> - <exclusions> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-framework</artifactId> - <version>${curator_version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-x-discovery</artifactId> - <version>${curator_version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>redis.clients</groupId> - <artifactId>jedis</artifactId> - <version>${jedis_version}</version> - </dependency> - <dependency> - <groupId>com.ecwid.consul</groupId> - <artifactId>consul-api</artifactId> - <version>${consul_version}</version> - </dependency> - <dependency> - <groupId>com.pszymczyk.consul</groupId> - <artifactId>embedded-consul</artifactId> - <version>${consul_process_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.orbitz.consul</groupId> - <artifactId>consul-client</artifactId> - <version>${consul_client_version}</version> - </dependency> - <!-- Eureka --> - <dependency> - <groupId>com.netflix.eureka</groupId> - <artifactId>eureka-client</artifactId> - <version>${eureka.version}</version> - </dependency> - <dependency> - <groupId>com.netflix.eureka</groupId> - <artifactId>eureka-core</artifactId> - <version>${eureka.version}</version> - </dependency> - - <!-- Alibaba --> - <dependency> - <groupId>com.alibaba.spring</groupId> - <artifactId>spring-context-support</artifactId> - <version>${alibaba_spring_context_support_version}</version> - </dependency> - - <dependency> - <groupId>com.googlecode.xmemcached</groupId> - <artifactId>xmemcached</artifactId> - <version>${xmemcached_version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-frontend-simple</artifactId> - <version>${cxf_version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http</artifactId> - <version>${cxf_version}</version> - </dependency> - <dependency> - <groupId>org.apache.thrift</groupId> - <artifactId>libthrift</artifactId> - <version>${thrift_version}</version> - </dependency> - <dependency> - <groupId>com.caucho</groupId> - <artifactId>hessian</artifactId> - <version>${hessian_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>hessian-lite</artifactId> - <version>${hessian_lite_version}</version> - </dependency> - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - <version>${protobuf-java_version}</version> - </dependency> - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java-util</artifactId> - <version>${protobuf-java_version}</version> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-jdk15on</artifactId> - <version>${bouncycastle-bcprov_version}</version> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcpkix-jdk15on</artifactId> - <version>${bouncycastle-bcprov_version}</version> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-ext-jdk15on</artifactId> - <version>${bouncycastle-bcprov_version}</version> - </dependency> - - <!-- Common Annotations API --> - <dependency> - <groupId>javax.annotation</groupId> - <artifactId>javax.annotation-api</artifactId> - <version>${javax_annotation-api_version}</version> - </dependency> - <!-- Servlet API --> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>javax.servlet-api</artifactId> - <version>${servlet_version}</version> - </dependency> - - <dependency> - <groupId>com.squareup.okhttp3</groupId> - <artifactId>okhttp</artifactId> - <version>${okhttp_version}</version> - </dependency> - <dependency> - <groupId>com.squareup.okhttp3</groupId> - <artifactId>mockwebserver</artifactId> - <version>${okhttp_version}</version> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-server</artifactId> - <version>${jetty_version}</version> - </dependency> - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-servlet</artifactId> - <version>${jetty_version}</version> - </dependency> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty</artifactId> - <version>${mortbay_jetty_version}</version> - <optional>true</optional> - </dependency> - <dependency> - <groupId>javax.validation</groupId> - <artifactId>validation-api</artifactId> - <version>${validation_version}</version> - </dependency> - <dependency> - <groupId>org.hibernate</groupId> - <artifactId>hibernate-validator</artifactId> - <version>${hibernate_validator_version}</version> - </dependency> - <dependency> - <groupId>org.glassfish</groupId> - <artifactId>javax.el</artifactId> - <version>${jel_version}</version> - </dependency> - <dependency> - <groupId>jakarta.validation</groupId> - <artifactId>jakarta.validation-api</artifactId> - <version>${validation_new_version}</version> - </dependency> - <dependency> - <groupId>org.hibernate.validator</groupId> - <artifactId>hibernate-validator</artifactId> - <version>${hibernate_validator_new_version}</version> - </dependency> - <dependency> - <groupId>javax.cache</groupId> - <artifactId>cache-api</artifactId> - <version>${jcache_version}</version> - </dependency> - <dependency> - <groupId>com.esotericsoftware</groupId> - <artifactId>kryo</artifactId> - <version>${kryo_version}</version> - </dependency> - <dependency> - <groupId>de.javakaffee</groupId> - <artifactId>kryo-serializers</artifactId> - <version>${kryo_serializers_version}</version> - </dependency> - <dependency> - <groupId>de.ruedigermoeller</groupId> - <artifactId>fst</artifactId> - <version>${fst_version}</version> - </dependency> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - <version>${avro_version}</version> - </dependency> - <dependency> - <groupId>io.protostuff</groupId> - <artifactId>protostuff-core</artifactId> - <version>${protostuff_version}</version> - </dependency> - <dependency> - <groupId>io.protostuff</groupId> - <artifactId>protostuff-runtime</artifactId> - <version>${protostuff_version}</version> - </dependency> - <dependency> - <groupId>javax.ws.rs</groupId> - <artifactId>javax.ws.rs-api</artifactId> - <version>${rs_api_version}</version> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-jaxrs</artifactId> - <version>${resteasy_version}</version> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-client</artifactId> - <version>${resteasy_version}</version> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-netty4</artifactId> - <version>${resteasy_version}</version> - <exclusions> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-jdk-http</artifactId> - <version>${resteasy_version}</version> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-jackson-provider</artifactId> - <version>${resteasy_version}</version> - </dependency> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-core-asl</artifactId> - <version>${codehaus-jackson_version}</version> - </dependency> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-mapper-asl</artifactId> - <version>${codehaus-jackson_version}</version> - </dependency> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-jaxrs</artifactId> - <version>${codehaus-jackson_version}</version> - </dependency> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-xc</artifactId> - <version>${codehaus-jackson_version}</version> - </dependency> - <dependency> - <groupId>org.jboss.resteasy</groupId> - <artifactId>resteasy-jaxb-provider</artifactId> - <version>${resteasy_version}</version> - </dependency> - <dependency> - <groupId>org.apache.tomcat.embed</groupId> - <artifactId>tomcat-embed-core</artifactId> - <version>${tomcat_embed_version}</version> - </dependency> - <dependency> - <groupId>io.etcd</groupId> - <artifactId>jetcd-core</artifactId> - <version>${jetcd_version}</version> - <exclusions> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty-codec-http2</artifactId> - </exclusion> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty-handler-proxy</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- Log libs --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j_version}</version> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>${jcl_version}</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons_io_version}</version> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>${log4j_version}</version> - </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - <version>${logback_version}</version> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>${log4j2_version}</version> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>${log4j2_version}</version> - </dependency> - <dependency> - <groupId>com.ctrip.framework.apollo</groupId> - <artifactId>apollo-client</artifactId> - <version>${apollo_client_version}</version> - </dependency> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-recipes</artifactId> - <version>${curator_version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - <version>${snakeyaml_version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>${commons_lang3_version}</version> - </dependency> - <dependency> - <groupId>io.envoyproxy.controlplane</groupId> - <artifactId>api</artifactId> - <version>${envoy_api_version}</version> - </dependency> - - <!-- for dubbo-rpc-webservice --> - <dependency> - <groupId>javax.xml.bind</groupId> - <artifactId>jaxb-api</artifactId> - <version>${jaxb_version}</version> - </dependency> - <dependency> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-impl</artifactId> - <version>${jaxb_version}</version> - </dependency> - <dependency> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-core</artifactId> - <version>${jaxb_version}</version> - </dependency> - <dependency> - <groupId>javax.activation</groupId> - <artifactId>javax.activation-api</artifactId> - <version>${activation_version}</version> - </dependency> - <dependency> - <groupId>com.sun.activation</groupId> - <artifactId>javax.activation</artifactId> - <version>${activation_version}</version> - </dependency> - - <!-- swagger --> - <dependency> - <groupId>io.swagger</groupId> - <artifactId>swagger-annotations</artifactId> - <version>${swagger_version}</version> - </dependency> - <dependency> - <groupId>io.swagger</groupId> - <artifactId>swagger-jaxrs</artifactId> - <version>${swagger_version}</version> - </dependency> - - <dependency> - <groupId>com.alibaba.middleware</groupId> - <artifactId>metrics-core-api</artifactId> - <version>${metrics_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba.middleware</groupId> - <artifactId>metrics-core-impl</artifactId> - <version>${metrics_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba.middleware</groupId> - <artifactId>metrics-common</artifactId> - <version>${metrics_version}</version> - </dependency> - - <dependency> - <groupId>com.alibaba.middleware</groupId> - <artifactId>metrics-rest</artifactId> - <version>${metrics_version}</version> - </dependency> - - <!-- for dubbo-registry-sofa --> - <dependency> - <groupId>com.alipay.sofa</groupId> - <artifactId>registry-client-all</artifactId> - <version>${sofa_registry_version}</version> - </dependency> - <dependency> - <groupId>com.alipay.sofa</groupId> - <artifactId>registry-test</artifactId> - <version>${sofa_registry_version}</version> - <scope>test</scope> - </dependency> - - <!-- Test lib --> - <dependency> - <groupId>com.github.codemonstur</groupId> - <artifactId>embedded-redis</artifactId> - <version>${embedded_redis_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <version>${spring_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.google.code.gson</groupId> - <artifactId>gson</artifactId> - <version>${gson_version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - <version>${jackson_version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-annotations</artifactId> - <version>${jackson_version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - <version>${jackson_version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.datatype</groupId> - <artifactId>jackson-datatype-jsr310</artifactId> - <version>${jackson_version}</version> - </dependency> - <dependency> - <groupId>javax.portlet</groupId> - <artifactId>portlet-api</artifactId> - <version>${portlet_version}</version> - </dependency> - <!-- for dubbo-configcenter-etcd --> - <dependency> - <groupId>io.etcd</groupId> - <artifactId>jetcd-launcher</artifactId> - <version>${etcd_launcher_version}</version> - <exclusions> - <exclusion> - <groupId>com.github.spotbugs</groupId> - <artifactId>spotbugs-annotations</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.testcontainers</groupId> - <artifactId>testcontainers</artifactId> - <version>${test_container_version}</version> - </dependency> - <dependency> - <groupId>com.alibaba.nacos</groupId> - <artifactId>nacos-client</artifactId> - <version>${nacos_version}</version> - </dependency> - <!-- grpc related dependencies --> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-core</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-netty-shaded</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-netty</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-protobuf</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-stub</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-grpclb</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>io.grpc</groupId> - <artifactId>grpc-context</artifactId> - <version>${grpc.version}</version> - </dependency> - <dependency> - <groupId>com.salesforce.servicelibs</groupId> - <artifactId>grpc-contrib</artifactId> - <version>${grpc_contrib_verdion}</version> - </dependency> - <dependency> - <groupId>com.salesforce.servicelibs</groupId> - <artifactId>jprotoc</artifactId> - <version>${jprotoc_version}</version> - </dependency> - <dependency> - <groupId>io.fabric8</groupId> - <artifactId>kubernetes-client</artifactId> - <version>${fabric8_kubernetes_version}</version> - </dependency> - <dependency> - <groupId>io.fabric8</groupId> - <artifactId>kubernetes-server-mock</artifactId> - <scope>test</scope> - <version>${fabric8_kubernetes_version}</version> - </dependency> - <!-- tri compress support--> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-compress</artifactId> - <version>${commons_compress_version}</version> - </dependency> - <dependency> - <groupId>org.xerial.snappy</groupId> - <artifactId>snappy-java</artifactId> - <version>${snappy_java_version}</version> - <optional>true</optional> - </dependency> - <!-- metrics related dependencies--> - <dependency> - <groupId>com.tdunning</groupId> - <artifactId>t-digest</artifactId> - <version>${t_digest.version}</version> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient</artifactId> - <version>${prometheus_client.version}</version> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient_pushgateway</artifactId> - <version>${prometheus_client.version}</version> - </dependency> - <!-- reactive related dependencies --> - <dependency> - <groupId>org.reactivestreams</groupId> - <artifactId>reactive-streams</artifactId> - <version>${reactive.version}</version> - </dependency> - <dependency> - <groupId>io.projectreactor</groupId> - <artifactId>reactor-core</artifactId> - <version>${reactor.version}</version> - </dependency> - <dependency> - <groupId>io.reactivex.rxjava2</groupId> - <artifactId>rxjava</artifactId> - <version>${rxjava.version}</version> - </dependency> - </dependencies> - </dependencyManagement> - - <build> + </scm> + + <issueManagement> + <system>Github Issues</system> + <url>https://github.com/apache/dubbo/issues</url> + </issueManagement> + + <properties> + <!-- Common libs --> + <!-- <spring_version>4.3.30.RELEASE</spring_version> --> + <spring_version>5.3.25</spring_version> + <spring_security_version>5.8.8</spring_security_version> + <javassist_version>3.29.2-GA</javassist_version> + <bytebuddy.version>1.14.9</bytebuddy.version> + <netty_version>3.2.10.Final</netty_version> + <netty4_version>4.1.100.Final</netty4_version> + <mina_version>2.2.1</mina_version> + <grizzly_version>2.4.4</grizzly_version> + <httpclient_version>4.5.14</httpclient_version> + <httpcore_version>4.4.16</httpcore_version> + <fastjson_version>1.2.83</fastjson_version> + <fastjson2_version>2.0.42</fastjson2_version> + <zookeeper_version>3.7.0</zookeeper_version> + <curator_version>5.1.0</curator_version> + <curator_test_version>2.12.0</curator_test_version> + <jedis_version>3.10.0</jedis_version> + <consul_version>1.4.5</consul_version> + <consul_process_version>2.2.1</consul_process_version> + <consul_client_version>1.5.3</consul_client_version> + <xmemcached_version>1.4.3</xmemcached_version> + <cxf_version>3.5.5</cxf_version> + <thrift_version>0.19.0</thrift_version> + <hessian_version>4.0.66</hessian_version> + <protobuf-java_version>3.25.0</protobuf-java_version> + <javax_annotation-api_version>1.3.2</javax_annotation-api_version> + <servlet_version>3.1.0</servlet_version> + <jetty_version>9.4.53.v20231009</jetty_version> + <validation_new_version>3.0.2</validation_new_version> + <validation_version>1.1.0.Final</validation_version> + <hibernate_validator_version>5.4.3.Final</hibernate_validator_version> + <hibernate_validator_new_version>7.0.5.Final</hibernate_validator_new_version> + <jel_version>3.0.1-b12</jel_version> + <jcache_version>1.1.1</jcache_version> + <kryo_version>4.0.3</kryo_version> + <kryo_serializers_version>0.45</kryo_serializers_version> + <fst_version>2.57</fst_version> + <avro_version>1.11.1</avro_version> + <apollo_client_version>2.1.0</apollo_client_version> + <snakeyaml_version>2.2</snakeyaml_version> + <commons_lang3_version>3.12.0</commons_lang3_version> + <protostuff_version>1.8.0</protostuff_version> + <envoy_api_version>0.1.35</envoy_api_version> + <micrometer.version>1.11.5</micrometer.version> + + <micrometer-tracing.version>1.1.6</micrometer-tracing.version> + <t_digest.version>3.3</t_digest.version> + <prometheus_client.version>0.16.0</prometheus_client.version> + <reactive.version>1.0.4</reactive.version> + <reactor.version>3.5.11</reactor.version> + <rxjava.version>2.2.21</rxjava.version> + <okhttp_version>3.14.9</okhttp_version> + + <rs_api_version>2.1.1</rs_api_version> + <resteasy_version>3.15.6.Final</resteasy_version> + <codehaus-jackson_version>1.9.13</codehaus-jackson_version> + <tomcat_embed_version>8.5.87</tomcat_embed_version> + <jetcd_version>0.7.6</jetcd_version> + <nacos_version>2.2.4</nacos_version> + <grpc.version>1.59.0</grpc.version> + <grpc_contrib_verdion>0.8.1</grpc_contrib_verdion> + <jprotoc_version>1.2.2</jprotoc_version> + <!-- Log libs --> + <slf4j_version>1.7.36</slf4j_version> + <jcl_version>1.2</jcl_version> + <log4j_version>1.2.17</log4j_version> + <logback_version>1.2.11</logback_version> + <!-- Fix the bug of log4j refer:https://github.com/apache/logging-log4j2/pull/608 --> + <log4j2_version>2.20.0</log4j2_version> + <commons_io_version>2.11.0</commons_io_version> + + <embedded_redis_version>0.13.0</embedded_redis_version> + + <!-- Eureka --> + <eureka.version>1.10.18</eureka.version> + + <!-- Fabric8 for Kubernetes --> + <fabric8_kubernetes_version>6.9.2</fabric8_kubernetes_version> + + <!-- Alibaba --> + <alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version> + + <jaxb_version>2.2.7</jaxb_version> + <activation_version>1.2.0</activation_version> + <test_container_version>1.19.1</test_container_version> + <etcd_launcher_version>0.7.6</etcd_launcher_version> + <hessian_lite_version>3.2.13</hessian_lite_version> + <swagger_version>1.6.12</swagger_version> + + <snappy_java_version>1.1.10.5</snappy_java_version> + <bouncycastle-bcprov_version>1.70</bouncycastle-bcprov_version> + <metrics_version>2.0.6</metrics_version> + <sofa_registry_version>5.4.3</sofa_registry_version> + <gson_version>2.10.1</gson_version> + <jackson_version>2.15.3</jackson_version> + <mortbay_jetty_version>6.1.26</mortbay_jetty_version> + <portlet_version>2.0</portlet_version> + <maven_flatten_version>1.5.0</maven_flatten_version> + <commons_compress_version>1.23.0</commons_compress_version> + <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version> + <spotless.action>check</spotless.action> + <dubbo-shared-resources.version>1.0.0</dubbo-shared-resources.version> + <palantirJavaFormat.version>2.38.0</palantirJavaFormat.version> - <revision>3.2.8-SNAPSHOT</revision> ++ <revision>3.2.8</revision> + </properties> + + <dependencyManagement> + <dependencies> + <!-- Common libs --> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-framework-bom</artifactId> + <version>${spring_version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-bom</artifactId> + <version>${spring_security_version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-bom</artifactId> + <version>${netty4_version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>io.micrometer</groupId> + <artifactId>micrometer-bom</artifactId> + <version>${micrometer.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>io.micrometer</groupId> + <artifactId>micrometer-tracing-bom</artifactId> + <version>${micrometer-tracing.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + <version>${netty4_version}</version> + </dependency> + <dependency> + <groupId>org.javassist</groupId> + <artifactId>javassist</artifactId> + <version>${javassist_version}</version> + </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy</artifactId> + <version>${bytebuddy.version}</version> + </dependency> + <dependency> + <groupId>org.jboss.netty</groupId> + <artifactId>netty</artifactId> + <version>${netty_version}</version> + </dependency> + <dependency> + <groupId>org.apache.mina</groupId> + <artifactId>mina-core</artifactId> + <version>${mina_version}</version> + </dependency> + <dependency> + <groupId>org.glassfish.grizzly</groupId> + <artifactId>grizzly-core</artifactId> + <version>${grizzly_version}</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${httpclient_version}</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpcore</artifactId> + <version>${httpcore_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + <version>${fastjson_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba.fastjson2</groupId> + <artifactId>fastjson2</artifactId> + <version>${fastjson2_version}</version> + </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + <version>${zookeeper_version}</version> + <exclusions> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-framework</artifactId> + <version>${curator_version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-x-discovery</artifactId> + <version>${curator_version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>redis.clients</groupId> + <artifactId>jedis</artifactId> + <version>${jedis_version}</version> + </dependency> + <dependency> + <groupId>com.ecwid.consul</groupId> + <artifactId>consul-api</artifactId> + <version>${consul_version}</version> + </dependency> + <dependency> + <groupId>com.pszymczyk.consul</groupId> + <artifactId>embedded-consul</artifactId> + <version>${consul_process_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.orbitz.consul</groupId> + <artifactId>consul-client</artifactId> + <version>${consul_client_version}</version> + </dependency> + <!-- Eureka --> + <dependency> + <groupId>com.netflix.eureka</groupId> + <artifactId>eureka-client</artifactId> + <version>${eureka.version}</version> + </dependency> + <dependency> + <groupId>com.netflix.eureka</groupId> + <artifactId>eureka-core</artifactId> + <version>${eureka.version}</version> + </dependency> + + <!-- Alibaba --> + <dependency> + <groupId>com.alibaba.spring</groupId> + <artifactId>spring-context-support</artifactId> + <version>${alibaba_spring_context_support_version}</version> + </dependency> + + <dependency> + <groupId>com.googlecode.xmemcached</groupId> + <artifactId>xmemcached</artifactId> + <version>${xmemcached_version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-simple</artifactId> + <version>${cxf_version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http</artifactId> + <version>${cxf_version}</version> + </dependency> + <dependency> + <groupId>org.apache.thrift</groupId> + <artifactId>libthrift</artifactId> + <version>${thrift_version}</version> + </dependency> + <dependency> + <groupId>com.caucho</groupId> + <artifactId>hessian</artifactId> + <version>${hessian_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>hessian-lite</artifactId> + <version>${hessian_lite_version}</version> + </dependency> + <dependency> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + <version>${protobuf-java_version}</version> + </dependency> + <dependency> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java-util</artifactId> + <version>${protobuf-java_version}</version> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk15on</artifactId> + <version>${bouncycastle-bcprov_version}</version> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcpkix-jdk15on</artifactId> + <version>${bouncycastle-bcprov_version}</version> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-ext-jdk15on</artifactId> + <version>${bouncycastle-bcprov_version}</version> + </dependency> + + <!-- Common Annotations API --> + <dependency> + <groupId>javax.annotation</groupId> + <artifactId>javax.annotation-api</artifactId> + <version>${javax_annotation-api_version}</version> + </dependency> + <!-- Servlet API --> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>${servlet_version}</version> + </dependency> + + <dependency> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>okhttp</artifactId> + <version>${okhttp_version}</version> + </dependency> + <dependency> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>mockwebserver</artifactId> + <version>${okhttp_version}</version> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + <version>${jetty_version}</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> + <version>${jetty_version}</version> + </dependency> + <dependency> + <groupId>org.mortbay.jetty</groupId> + <artifactId>jetty</artifactId> + <version>${mortbay_jetty_version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>javax.validation</groupId> + <artifactId>validation-api</artifactId> + <version>${validation_version}</version> + </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-validator</artifactId> + <version>${hibernate_validator_version}</version> + </dependency> + <dependency> + <groupId>org.glassfish</groupId> + <artifactId>javax.el</artifactId> + <version>${jel_version}</version> + </dependency> + <dependency> + <groupId>jakarta.validation</groupId> + <artifactId>jakarta.validation-api</artifactId> + <version>${validation_new_version}</version> + </dependency> + <dependency> + <groupId>org.hibernate.validator</groupId> + <artifactId>hibernate-validator</artifactId> + <version>${hibernate_validator_new_version}</version> + </dependency> + <dependency> + <groupId>javax.cache</groupId> + <artifactId>cache-api</artifactId> + <version>${jcache_version}</version> + </dependency> + <dependency> + <groupId>com.esotericsoftware</groupId> + <artifactId>kryo</artifactId> + <version>${kryo_version}</version> + </dependency> + <dependency> + <groupId>de.javakaffee</groupId> + <artifactId>kryo-serializers</artifactId> + <version>${kryo_serializers_version}</version> + </dependency> + <dependency> + <groupId>de.ruedigermoeller</groupId> + <artifactId>fst</artifactId> + <version>${fst_version}</version> + </dependency> + <dependency> + <groupId>org.apache.avro</groupId> + <artifactId>avro</artifactId> + <version>${avro_version}</version> + </dependency> + <dependency> + <groupId>io.protostuff</groupId> + <artifactId>protostuff-core</artifactId> + <version>${protostuff_version}</version> + </dependency> + <dependency> + <groupId>io.protostuff</groupId> + <artifactId>protostuff-runtime</artifactId> + <version>${protostuff_version}</version> + </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>javax.ws.rs-api</artifactId> + <version>${rs_api_version}</version> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-jaxrs</artifactId> + <version>${resteasy_version}</version> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-client</artifactId> + <version>${resteasy_version}</version> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-netty4</artifactId> + <version>${resteasy_version}</version> + <exclusions> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-jdk-http</artifactId> + <version>${resteasy_version}</version> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-jackson-provider</artifactId> + <version>${resteasy_version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-core-asl</artifactId> + <version>${codehaus-jackson_version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-mapper-asl</artifactId> + <version>${codehaus-jackson_version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-jaxrs</artifactId> + <version>${codehaus-jackson_version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-xc</artifactId> + <version>${codehaus-jackson_version}</version> + </dependency> + <dependency> + <groupId>org.jboss.resteasy</groupId> + <artifactId>resteasy-jaxb-provider</artifactId> + <version>${resteasy_version}</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-core</artifactId> + <version>${tomcat_embed_version}</version> + </dependency> + <dependency> + <groupId>io.etcd</groupId> + <artifactId>jetcd-core</artifactId> + <version>${jetcd_version}</version> + <exclusions> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-codec-http2</artifactId> + </exclusion> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-handler-proxy</artifactId> + </exclusion> + </exclusions> + </dependency> + <!-- Log libs --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4j_version}</version> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${jcl_version}</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons_io_version}</version> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>${log4j_version}</version> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>${logback_version}</version> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + <version>${log4j2_version}</version> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>${log4j2_version}</version> + </dependency> + <dependency> + <groupId>com.ctrip.framework.apollo</groupId> + <artifactId>apollo-client</artifactId> + <version>${apollo_client_version}</version> + </dependency> + <dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-recipes</artifactId> + <version>${curator_version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>${snakeyaml_version}</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>${commons_lang3_version}</version> + </dependency> + <dependency> + <groupId>io.envoyproxy.controlplane</groupId> + <artifactId>api</artifactId> + <version>${envoy_api_version}</version> + </dependency> + + <!-- for dubbo-rpc-webservice --> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>${jaxb_version}</version> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>${jaxb_version}</version> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-core</artifactId> + <version>${jaxb_version}</version> + </dependency> + <dependency> + <groupId>javax.activation</groupId> + <artifactId>javax.activation-api</artifactId> + <version>${activation_version}</version> + </dependency> + <dependency> + <groupId>com.sun.activation</groupId> + <artifactId>javax.activation</artifactId> + <version>${activation_version}</version> + </dependency> + + <!-- swagger --> + <dependency> + <groupId>io.swagger</groupId> + <artifactId>swagger-annotations</artifactId> + <version>${swagger_version}</version> + </dependency> + <dependency> + <groupId>io.swagger</groupId> + <artifactId>swagger-jaxrs</artifactId> + <version>${swagger_version}</version> + </dependency> + + <dependency> + <groupId>com.alibaba.middleware</groupId> + <artifactId>metrics-core-api</artifactId> + <version>${metrics_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba.middleware</groupId> + <artifactId>metrics-core-impl</artifactId> + <version>${metrics_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba.middleware</groupId> + <artifactId>metrics-common</artifactId> + <version>${metrics_version}</version> + </dependency> + + <dependency> + <groupId>com.alibaba.middleware</groupId> + <artifactId>metrics-rest</artifactId> + <version>${metrics_version}</version> + </dependency> + + <!-- for dubbo-registry-sofa --> + <dependency> + <groupId>com.alipay.sofa</groupId> + <artifactId>registry-client-all</artifactId> + <version>${sofa_registry_version}</version> + </dependency> + <dependency> + <groupId>com.alipay.sofa</groupId> + <artifactId>registry-test</artifactId> + <version>${sofa_registry_version}</version> + <scope>test</scope> + </dependency> + + <!-- Test lib --> + <dependency> + <groupId>com.github.codemonstur</groupId> + <artifactId>embedded-redis</artifactId> + <version>${embedded_redis_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-test</artifactId> + <version>${spring_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>${gson_version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>${jackson_version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>${jackson_version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${jackson_version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-jsr310</artifactId> + <version>${jackson_version}</version> + </dependency> + <dependency> + <groupId>javax.portlet</groupId> + <artifactId>portlet-api</artifactId> + <version>${portlet_version}</version> + </dependency> + <!-- for dubbo-configcenter-etcd --> + <dependency> + <groupId>io.etcd</groupId> + <artifactId>jetcd-launcher</artifactId> + <version>${etcd_launcher_version}</version> + <exclusions> + <exclusion> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-annotations</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>testcontainers</artifactId> + <version>${test_container_version}</version> + </dependency> + <dependency> + <groupId>com.alibaba.nacos</groupId> + <artifactId>nacos-client</artifactId> + <version>${nacos_version}</version> + </dependency> + <!-- grpc related dependencies --> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-core</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-netty-shaded</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-netty</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-protobuf</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-stub</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-grpclb</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>io.grpc</groupId> + <artifactId>grpc-context</artifactId> + <version>${grpc.version}</version> + </dependency> + <dependency> + <groupId>com.salesforce.servicelibs</groupId> + <artifactId>grpc-contrib</artifactId> + <version>${grpc_contrib_verdion}</version> + </dependency> + <dependency> + <groupId>com.salesforce.servicelibs</groupId> + <artifactId>jprotoc</artifactId> + <version>${jprotoc_version}</version> + </dependency> + <dependency> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-client</artifactId> + <version>${fabric8_kubernetes_version}</version> + </dependency> + <dependency> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-server-mock</artifactId> + <version>${fabric8_kubernetes_version}</version> + <scope>test</scope> + </dependency> + <!-- tri compress support--> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-compress</artifactId> + <version>${commons_compress_version}</version> + </dependency> + <dependency> + <groupId>org.xerial.snappy</groupId> + <artifactId>snappy-java</artifactId> + <version>${snappy_java_version}</version> + <optional>true</optional> + </dependency> + <!-- metrics related dependencies--> + <dependency> + <groupId>com.tdunning</groupId> + <artifactId>t-digest</artifactId> + <version>${t_digest.version}</version> + </dependency> + <dependency> + <groupId>io.prometheus</groupId> + <artifactId>simpleclient</artifactId> + <version>${prometheus_client.version}</version> + </dependency> + <dependency> + <groupId>io.prometheus</groupId> + <artifactId>simpleclient_pushgateway</artifactId> + <version>${prometheus_client.version}</version> + </dependency> + <!-- reactive related dependencies --> + <dependency> + <groupId>org.reactivestreams</groupId> + <artifactId>reactive-streams</artifactId> + <version>${reactive.version}</version> + </dependency> + <dependency> + <groupId>io.projectreactor</groupId> + <artifactId>reactor-core</artifactId> + <version>${reactor.version}</version> + </dependency> + <dependency> + <groupId>io.reactivex.rxjava2</groupId> + <artifactId>rxjava</artifactId> + <version>${rxjava.version}</version> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${maven_flatten_version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>bom</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>release</id> + <build> <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>flatten-maven-plugin</artifactId> - <version>${maven_flatten_version}</version> - <configuration> - <updatePomFile>true</updatePomFile> - <flattenMode>bom</flattenMode> - </configuration> - <executions> - <execution> - <id>flatten</id> - <phase>process-resources</phase> - <goals> - <goal>flatten</goal> - </goals> - </execution> - <execution> - <id>flatten.clean</id> - <phase>clean</phase> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>sign</goal> + </goals> + <phase>verify</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>java11+</id> + <activation> + <jdk>[11,)</jdk> + </activation> + <build> + <!--- newer versions of plugins requires JDK 11 --> + <plugins> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>${spotless-maven-plugin.version}</version> + <configuration> + <java> + <palantirJavaFormat> + <version>${palantirJavaFormat.version}</version> + </palantirJavaFormat> + <removeUnusedImports /> + <importOrder> + <file>dubbo-importorder.txt</file> + </importOrder> + <licenseHeader> + <file>checkstyle-header.txt</file> + </licenseHeader> + </java> + <pom> + <sortPom> + <expandEmptyElements>false</expandEmptyElements> + <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> + </sortPom> + </pom> + <upToDateChecking> + <enabled>true</enabled> + </upToDateChecking> + </configuration> + <dependencies> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>dubbo-shared-resources</artifactId> + <version>${dubbo-shared-resources.version}</version> + </dependency> + </dependencies> + <executions> + <execution> + <goals> + <goal>${spotless.action}</goal> + </goals> + <phase>process-sources</phase> + </execution> + </executions> + </plugin> </plugins> - </build> - - <profiles> - <profile> - <id>release</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + </build> + </profile> + </profiles> </project> diff --cc dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml index a2e9c4950e,c022050999..702cb6b767 --- a/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml +++ b/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml @@@ -15,211 -15,154 +15,211 @@@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>27</version> - <relativePath /> - </parent> - - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-dependencies-zookeeper-curator5</artifactId> - <version>${revision}</version> - <packaging>pom</packaging> - - <properties> - <revision>3.2.8</revision> - <maven_flatten_version>1.5.0</maven_flatten_version> - <curator5_version>5.1.0</curator5_version> - <zookeeper_version>3.8.1</zookeeper_version> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.zookeeper</groupId> - <artifactId>parent</artifactId> - <version>${zookeeper_version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>27</version> + <relativePath /> + </parent> + + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-dependencies-zookeeper-curator5</artifactId> + <version>${revision}</version> + <packaging>pom</packaging> + + <properties> - <revision>3.2.8-SNAPSHOT</revision> ++ <revision>3.2.8</revision> + <maven_flatten_version>1.5.0</maven_flatten_version> + <curator5_version>5.1.0</curator5_version> + <zookeeper_version>3.8.1</zookeeper_version> + <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version> + <spotless.action>check</spotless.action> + <dubbo-shared-resources.version>1.0.0</dubbo-shared-resources.version> + <palantirJavaFormat.version>2.38.0</palantirJavaFormat.version> + </properties> + + <dependencyManagement> <dependencies> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-x-discovery</artifactId> - <version>${curator5_version}</version> - </dependency> - <dependency> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - <version>${zookeeper_version}</version> - <exclusions> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty-handler</artifactId> - </exclusion> - <exclusion> - <groupId>io.netty</groupId> - <artifactId>netty-transport-native-epoll</artifactId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>com.github.spotbugs</groupId> - <artifactId>spotbugs-annotations</artifactId> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-server</artifactId> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-servlet</artifactId> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-client</artifactId> - </dependency> - - <dependency> - <groupId>jline</groupId> - <artifactId>jline</artifactId> - </dependency> - - <dependency> - <groupId>io.dropwizard.metrics</groupId> - <artifactId>metrics-core</artifactId> - </dependency> - - <dependency> - <groupId>org.xerial.snappy</groupId> - <artifactId>snappy-java</artifactId> - </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>parent</artifactId> + <version>${zookeeper_version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> </dependencies> - - <build> + </dependencyManagement> + + <dependencies> + <dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-x-discovery</artifactId> + <version>${curator5_version}</version> + </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + <version>${zookeeper_version}</version> + <exclusions> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-handler</artifactId> + </exclusion> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-transport-native-epoll</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-annotations</artifactId> + <optional>true</optional> + </dependency> + + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-client</artifactId> + </dependency> + + <dependency> + <groupId>jline</groupId> + <artifactId>jline</artifactId> + </dependency> + + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-core</artifactId> + </dependency> + + <dependency> + <groupId>org.xerial.snappy</groupId> + <artifactId>snappy-java</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${maven_flatten_version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>resolveCiFriendliesOnly</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>release</id> + <build> <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>flatten-maven-plugin</artifactId> - <version>${maven_flatten_version}</version> - <configuration> - <updatePomFile>true</updatePomFile> - <flattenMode>resolveCiFriendliesOnly</flattenMode> - </configuration> - <executions> - <execution> - <id>flatten</id> - <phase>process-resources</phase> - <goals> - <goal>flatten</goal> - </goals> - </execution> - <execution> - <id>flatten.clean</id> - <phase>clean</phase> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>sign</goal> + </goals> + <phase>verify</phase> + </execution> + </executions> + </plugin> </plugins> - </build> - - <profiles> - <profile> - <id>release</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + </build> + </profile> + <profile> + <id>java11+</id> + <activation> + <jdk>[11,)</jdk> + </activation> + <build> + <!--- newer versions of plugins requires JDK 11 --> + <plugins> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>${spotless-maven-plugin.version}</version> + <configuration> + <java> + <palantirJavaFormat> + <version>${palantirJavaFormat.version}</version> + </palantirJavaFormat> + <removeUnusedImports /> + <importOrder> + <file>dubbo-importorder.txt</file> + </importOrder> + <licenseHeader> + <file>checkstyle-header.txt</file> + </licenseHeader> + </java> + <pom> + <sortPom> + <expandEmptyElements>false</expandEmptyElements> + <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> + </sortPom> + </pom> + <upToDateChecking> + <enabled>true</enabled> + </upToDateChecking> + </configuration> + <dependencies> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>dubbo-shared-resources</artifactId> + <version>${dubbo-shared-resources.version}</version> + </dependency> + </dependencies> + <executions> + <execution> + <goals> + <goal>${spotless.action}</goal> + </goals> + <phase>process-sources</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --cc dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml index fb872eaf11,d6e9a0e813..289b86c17c --- a/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml +++ b/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml @@@ -15,148 -15,91 +15,148 @@@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>27</version> + <relativePath /> + </parent> - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>27</version> - <relativePath /> - </parent> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-dependencies-zookeeper</artifactId> + <version>${revision}</version> + <packaging>pom</packaging> - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-dependencies-zookeeper</artifactId> - <version>${revision}</version> - <packaging>pom</packaging> + <properties> - <revision>3.2.8-SNAPSHOT</revision> ++ <revision>3.2.8</revision> + <maven_flatten_version>1.5.0</maven_flatten_version> + <curator_version>4.3.0</curator_version> + <zookeeper_version>3.4.14</zookeeper_version> + <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version> + <spotless.action>check</spotless.action> + <dubbo-shared-resources.version>1.0.0</dubbo-shared-resources.version> + <palantirJavaFormat.version>2.38.0</palantirJavaFormat.version> + </properties> - <properties> - <revision>3.2.8</revision> - <maven_flatten_version>1.5.0</maven_flatten_version> - <curator_version>4.3.0</curator_version> - <zookeeper_version>3.4.14</zookeeper_version> - </properties> + <dependencies> + <dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-x-discovery</artifactId> + <version>${curator_version}</version> + </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + <version>${zookeeper_version}</version> + </dependency> + </dependencies> - <dependencies> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-x-discovery</artifactId> - <version>${curator_version}</version> - </dependency> - <dependency> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - <version>${zookeeper_version}</version> - </dependency> - </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${maven_flatten_version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>resolveCiFriendliesOnly</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> - <build> + <profiles> + <profile> + <id>release</id> + <build> <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>flatten-maven-plugin</artifactId> - <version>${maven_flatten_version}</version> - <configuration> - <updatePomFile>true</updatePomFile> - <flattenMode>resolveCiFriendliesOnly</flattenMode> - </configuration> - <executions> - <execution> - <id>flatten</id> - <phase>process-resources</phase> - <goals> - <goal>flatten</goal> - </goals> - </execution> - <execution> - <id>flatten.clean</id> - <phase>clean</phase> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>sign</goal> + </goals> + <phase>verify</phase> + </execution> + </executions> + </plugin> </plugins> - </build> - - <profiles> - <profile> - <id>release</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + </build> + </profile> + <profile> + <id>java11+</id> + <activation> + <jdk>[11,)</jdk> + </activation> + <build> + <!--- newer versions of plugins requires JDK 11 --> + <plugins> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>${spotless-maven-plugin.version}</version> + <configuration> + <java> + <palantirJavaFormat> + <version>${palantirJavaFormat.version}</version> + </palantirJavaFormat> + <removeUnusedImports /> + <importOrder> + <file>dubbo-importorder.txt</file> + </importOrder> + <licenseHeader> + <file>checkstyle-header.txt</file> + </licenseHeader> + </java> + <pom> + <sortPom> + <expandEmptyElements>false</expandEmptyElements> + <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> + </sortPom> + </pom> + <upToDateChecking> + <enabled>true</enabled> + </upToDateChecking> + </configuration> + <dependencies> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>dubbo-shared-resources</artifactId> + <version>${dubbo-shared-resources.version}</version> + </dependency> + </dependencies> + <executions> + <execution> + <goals> + <goal>${spotless.action}</goal> + </goals> + <phase>process-sources</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --cc pom.xml index 4787a1ab81,557560fa9d..0cb79dedf4 --- a/pom.xml +++ b/pom.xml @@@ -17,569 -16,315 +17,569 @@@ --> <project xmlns="http://maven.apache.org/POM/4.0.0" 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"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>23</version> - </parent> + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>23</version> + </parent> - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-parent</artifactId> - <version>${revision}</version> - <packaging>pom</packaging> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-parent</artifactId> + <version>${revision}</version> + <packaging>pom</packaging> - <name>${project.artifactId}</name> - <description>The parent project of dubbo</description> - <url>https://github.com/apache/dubbo</url> - <inceptionYear>2011</inceptionYear> - <licenses> - <license> - <name>Apache License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> - <distribution>repo</distribution> - </license> - </licenses> - - <scm> - <url>https://github.com/apache/dubbo</url> - <connection>scm:git:https://github.com/apache/dubbo.git</connection> - <developerConnection>scm:git:https://github.com/apache/dubbo.git</developerConnection> - <tag>HEAD</tag> - </scm> - <mailingLists> - <mailingList> - <name>Development List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - <mailingList> - <name>Commits List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - <mailingList> - <name>Issues List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - </mailingList> - </mailingLists> - <developers> - <developer> - <id>dubbo.io</id> - <name>The Dubbo Project Contributors</name> - <email>[email protected]</email> - <url>http://dubbo.apache.org/</url> - </developer> - </developers> + <name>${project.artifactId}</name> + <description>The parent project of dubbo</description> + <url>https://github.com/apache/dubbo</url> + <inceptionYear>2011</inceptionYear> - <organization> - <name>The Apache Software Foundation</name> - <url>http://www.apache.org/</url> - </organization> + <organization> + <name>The Apache Software Foundation</name> + <url>http://www.apache.org/</url> + </organization> + <licenses> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0</url> + <distribution>repo</distribution> + </license> + </licenses> + <developers> + <developer> + <id>dubbo.io</id> + <name>The Dubbo Project Contributors</name> + <email>[email protected]</email> + <url>http://dubbo.apache.org/</url> + </developer> + </developers> + <mailingLists> + <mailingList> + <name>Development List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + <mailingList> + <name>Commits List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + <mailingList> + <name>Issues List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + </mailingList> + </mailingLists> - <issueManagement> - <system>Github Issues</system> - <url>https://github.com/apache/dubbo/issues</url> - </issueManagement> + <modules> + <module>dubbo-common</module> + <module>dubbo-container</module> + <module>dubbo-compiler</module> + <module>dubbo-remoting</module> + <module>dubbo-rpc</module> + <module>dubbo-cluster</module> + <module>dubbo-registry</module> + <module>dubbo-monitor</module> + <module>dubbo-config</module> + <module>dubbo-filter</module> + <module>dubbo-demo</module> + <module>dubbo-plugin</module> + <module>dubbo-serialization</module> + <module>dubbo-compatible</module> + <module>dubbo-dependencies-bom</module> + <module>dubbo-distribution</module> + <module>dubbo-configcenter</module> + <module>dubbo-dependencies</module> + <module>dubbo-metadata</module> + <module>dubbo-metrics</module> + <module>dubbo-build-tools</module> + <module>dubbo-spring-boot</module> + <module>dubbo-native</module> + <module>dubbo-test</module> + <module>dubbo-kubernetes</module> + <module>dubbo-xds</module> + <module>dubbo-native-plugin</module> + <module>dubbo-maven-plugin</module> + </modules> - <properties> - <!-- Test libs --> - <junit_jupiter_version>5.9.3</junit_jupiter_version> - <awaitility_version>4.2.0</awaitility_version> - <hazelcast_version>3.12.13</hazelcast_version> - <hamcrest_version>2.2</hamcrest_version> - <hibernate_validator_version>5.2.4.Final</hibernate_validator_version> - <el_api_version>2.2.5</el_api_version> - <jaxb_api_version>2.2.7</jaxb_api_version> - <cglib_version>2.2.2</cglib_version> - <mockito_version>4.11.0</mockito_version> - <!-- Build args --> - <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8 - -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m - </argline> - <skip_maven_deploy>false</skip_maven_deploy> - <updateReleaseInfo>true</updateReleaseInfo> - <project.build.sourceEncoding>${file_encoding}</project.build.sourceEncoding> - <project.build.outputTimestamp>2020-04-01T08:04:00Z</project.build.outputTimestamp> + <scm> + <connection>scm:git:https://github.com/apache/dubbo.git</connection> + <developerConnection>scm:git:https://github.com/apache/dubbo.git</developerConnection> + <tag>HEAD</tag> + <url>https://github.com/apache/dubbo</url> + </scm> - <profile.name>oss</profile.name> - <!-- for maven compiler plugin --> - <java_source_version>1.8</java_source_version> - <java_target_version>1.8</java_target_version> - <file_encoding>UTF-8</file_encoding> - <!-- Maven plugins --> - <maven_jar_version>3.3.0</maven_jar_version> - <maven_surefire_version>3.0.0</maven_surefire_version> - <maven_failsafe_version>3.0.0</maven_failsafe_version> - <maven_deploy_version>2.8.2</maven_deploy_version> - <maven_compiler_version>3.11.0</maven_compiler_version> - <maven_source_version>3.2.1</maven_source_version> - <maven_javadoc_version>3.5.0</maven_javadoc_version> - <maven_jetty_version>9.4.53.v20231009</maven_jetty_version> - <maven_checkstyle_version>3.2.1</maven_checkstyle_version> - <maven_jacoco_version>0.8.11</maven_jacoco_version> - <maven_flatten_version>1.5.0</maven_flatten_version> - <maven_enforce_version>3.3.0</maven_enforce_version> - <maven_antrun_version>3.1.0</maven_antrun_version> - <maven_os_plugin_version>1.7.1</maven_os_plugin_version> - <maven_protobuf_plugin_version>0.6.1</maven_protobuf_plugin_version> - <arguments /> - <checkstyle.skip>true</checkstyle.skip> - <checkstyle_unix.skip>true</checkstyle_unix.skip> - <rat.skip>true</rat.skip> - <jacoco.skip>true</jacoco.skip> + <issueManagement> + <system>Github Issues</system> + <url>https://github.com/apache/dubbo/issues</url> + </issueManagement> - <jprotoc_version>1.2.2</jprotoc_version> - <protobuf-java_version>3.22.3</protobuf-java_version> - <grpc_version>1.54.0</grpc_version> - <revision>3.2.8</revision> - </properties> + <properties> + <!-- Test libs --> + <junit_jupiter_version>5.9.3</junit_jupiter_version> + <awaitility_version>4.2.0</awaitility_version> + <hazelcast_version>3.12.13</hazelcast_version> + <hamcrest_version>2.2</hamcrest_version> + <hibernate_validator_version>5.2.4.Final</hibernate_validator_version> + <el_api_version>2.2.5</el_api_version> + <jaxb_api_version>2.2.7</jaxb_api_version> + <cglib_version>2.2.2</cglib_version> + <mockito_version>4.11.0</mockito_version> + <!-- Build args --> + <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8 + -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m</argline> + <skip_maven_deploy>false</skip_maven_deploy> + <updateReleaseInfo>true</updateReleaseInfo> + <project.build.sourceEncoding>${file_encoding}</project.build.sourceEncoding> + <project.build.outputTimestamp>2020-04-01T08:04:00Z</project.build.outputTimestamp> - <modules> - <module>dubbo-common</module> - <module>dubbo-container</module> - <module>dubbo-compiler</module> - <module>dubbo-remoting</module> - <module>dubbo-rpc</module> - <module>dubbo-cluster</module> - <module>dubbo-registry</module> - <module>dubbo-monitor</module> - <module>dubbo-config</module> - <module>dubbo-filter</module> - <module>dubbo-demo</module> - <module>dubbo-plugin</module> - <module>dubbo-serialization</module> - <module>dubbo-compatible</module> - <module>dubbo-dependencies-bom</module> - <module>dubbo-distribution</module> - <module>dubbo-configcenter</module> - <module>dubbo-dependencies</module> - <module>dubbo-metadata</module> - <module>dubbo-metrics</module> - <module>dubbo-build-tools</module> - <module>dubbo-spring-boot</module> - <module>dubbo-native</module> - <module>dubbo-test</module> - <module>dubbo-kubernetes</module> - <module>dubbo-xds</module> - <module>dubbo-native-plugin</module> - <module>dubbo-maven-plugin</module> - </modules> + <profile.name>oss</profile.name> + <!-- for maven compiler plugin --> + <java_source_version>1.8</java_source_version> + <java_target_version>1.8</java_target_version> + <file_encoding>UTF-8</file_encoding> + <!-- Maven plugins --> + <maven_jar_version>3.3.0</maven_jar_version> + <maven_surefire_version>3.0.0</maven_surefire_version> + <maven_failsafe_version>3.0.0</maven_failsafe_version> + <maven_deploy_version>2.8.2</maven_deploy_version> + <maven_compiler_version>3.11.0</maven_compiler_version> + <maven_source_version>3.2.1</maven_source_version> + <maven_javadoc_version>3.5.0</maven_javadoc_version> + <maven_jetty_version>9.4.53.v20231009</maven_jetty_version> + <maven_checkstyle_version>3.2.1</maven_checkstyle_version> + <maven_jacoco_version>0.8.11</maven_jacoco_version> + <maven_flatten_version>1.5.0</maven_flatten_version> + <maven_enforce_version>3.3.0</maven_enforce_version> + <maven_antrun_version>3.1.0</maven_antrun_version> + <maven_os_plugin_version>1.7.1</maven_os_plugin_version> + <maven_protobuf_plugin_version>0.6.1</maven_protobuf_plugin_version> + <arguments /> + <checkstyle.skip>true</checkstyle.skip> + <checkstyle_unix.skip>true</checkstyle_unix.skip> + <rat.skip>true</rat.skip> + <jacoco.skip>true</jacoco.skip> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-dependencies-bom</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> + <jprotoc_version>1.2.2</jprotoc_version> + <protobuf-java_version>3.22.3</protobuf-java_version> + <grpc_version>1.54.0</grpc_version> + <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version> + <spotless.action>check</spotless.action> + <dubbo-shared-resources.version>1.0.0</dubbo-shared-resources.version> + <palantirJavaFormat.version>2.38.0</palantirJavaFormat.version> - <revision>3.2.8-SNAPSHOT</revision> ++ <revision>3.2.8</revision> + </properties> + <dependencyManagement> <dependencies> - <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API --> - <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-engine</artifactId> - <version>${junit_jupiter_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-api</artifactId> - <version>${junit_jupiter_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-params</artifactId> - <version>${junit_jupiter_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.awaitility</groupId> - <artifactId>awaitility</artifactId> - <version>${awaitility_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest</artifactId> - <version>${hamcrest_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <version>${mockito_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-inline</artifactId> - <version>${mockito_version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib-nodep</artifactId> - <version>${cglib_version}</version> - <scope>test</scope> - </dependency> + <dependency> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-dependencies-bom</artifactId> + <version>${project.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> </dependencies> + </dependencyManagement> + + <dependencies> + <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API --> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>${junit_jupiter_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>${junit_jupiter_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-params</artifactId> + <version>${junit_jupiter_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + <version>${awaitility_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + <version>${hamcrest_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>${mockito_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-inline</artifactId> + <version>${mockito_version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>cglib</groupId> + <artifactId>cglib-nodep</artifactId> + <version>${cglib_version}</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <!-- Used for packaging NOTICE & LICENSE to each sub-module jar--> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + </resource> + <resource> + <targetPath>META-INF/</targetPath> + <filtering>false</filtering> + <directory>${maven.multiModuleProjectDirectory}</directory> + <includes> + <include>NOTICE</include> + <include>LICENSE</include> + </includes> + </resource> + <resource> + <targetPath>META-INF/versions</targetPath> + <filtering>false</filtering> + <directory>${maven.multiModuleProjectDirectory}</directory> + <includes> + <include>.artifacts</include> + </includes> + </resource> + </resources> - <profiles> - <profile> - <id>snapshot-ci-deploy</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>${maven_enforce_version}</version> - <executions> - <execution> - <id>enforce-no-releases</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <requireSnapshotVersion> - <message>No Releases Allowed!</message> - <failWhenParentIsRelease>false</failWhenParentIsRelease> - </requireSnapshotVersion> - </rules> - <fail>true</fail> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>javadoc-lint</id> - <activation> - <jdk>[1.8,)</jdk> - </activation> - <properties> - <doclint>none</doclint> - </properties> - </profile> - <!-- jacoco: mvn validate -Pjacoco --> - <profile> - <id>jacoco</id> - <properties> - <jacoco.skip>false</jacoco.skip> - </properties> - </profile> + <pluginManagement> + <plugins> + <!-- keep surefire and failsafe in sync --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven_surefire_version}</version> + <configuration> + <!-- Activate the use of TCP to transmit events to the plugin to fix Corrupted STDOUT issue --> + <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" /> + </configuration> + </plugin> + <!-- keep surefire and failsafe in sync --> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <version>${maven_failsafe_version}</version> + </plugin> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>3.2.0</version> + </plugin> + <plugin> + <groupId>org.ops4j.pax.exam</groupId> + <artifactId>maven-paxexam-plugin</artifactId> + <version>1.2.4</version> + </plugin> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.5.0</version> + </plugin> + <plugin> + <!-- Do NOT upgrade --> + <artifactId>maven-jxr-plugin</artifactId> + <version>2.5</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.4.0</version> + </plugin> + <plugin> + <groupId>org.fusesource.hawtjni</groupId> + <artifactId>maven-hawtjni-plugin</artifactId> + <version>1.15</version> + </plugin> + <plugin> + <groupId>kr.motd.maven</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.0.0.Final</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>3.4.1</version> + <configuration> + <createDependencyReducedPom>false</createDependencyReducedPom> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <version>${maven_jetty_version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>${maven_antrun_version}</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>${maven_jar_version}</version> + <configuration> + <archive> + <addMavenDescriptor>true</addMavenDescriptor> + <index>true</index> + <manifest> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + </manifest> + <manifestEntries> + <Specification-Version>${project.version}</Specification-Version> + <Implementation-Version>${project.version}</Implementation-Version> + </manifestEntries> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${maven_jacoco_version}</version> + <executions> + <execution> + <id>jacoco-initialize</id> + <goals> + <goal>prepare-agent</goal> + </goals> + <configuration> + <propertyName>jacocoArgLine</propertyName> + </configuration> + </execution> + <execution> + <id>report-aggregate</id> + <goals> + <goal>report</goal> + <goal>report-aggregate</goal> + </goals> + <phase>verify</phase> + <configuration> + <includes> + <include>target/classes/**/*</include> + <include>target/classes/**</include> + <include>**/*</include> + </includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <useSystemClassLoader>true</useSystemClassLoader> + <forkMode>once</forkMode> + <argLine>${argline} ${jacocoArgLine}</argLine> + <systemProperties> + <!-- common shared --> + </systemProperties> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>${maven_deploy_version}</version> + <configuration> + <skip>${skip_maven_deploy}</skip> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven_compiler_version}</version> + <configuration> + <compilerArgs> + <compilerArg>-proc:none</compilerArg> + <compilerArg>-parameters</compilerArg> + </compilerArgs> + <fork>true</fork> + <source>${java_source_version}</source> + <target>${java_target_version}</target> + <encoding>${file_encoding}</encoding> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>get-version-infos</id> + <goals> + <goal>run</goal> + </goals> + <phase>compile</phase> + <configuration> + <failOnError>true</failOnError> + <target> + <property name="version_file" value="${project.build.outputDirectory}/META-INF/versions/${project.artifactId}" /> + <!-- get the current version of dubbo --> + <echo file="${version_file}" message="revision=${revision}${line.separator}" /> + <!-- attach the artifact id --> + <echo append="true" file="${version_file}" message="artifact.id=${project.artifactId}${line.separator}" /> + <echo append="true" file="${version_file}" message="git.commit.id=" /> + <!-- get the latest commit id --> + <exec append="true" error=".git.exec.error" executable="git" failifexecutionfails="false" output="${version_file}" timeout="3000"> + <arg line="rev-parse HEAD" /> + </exec> + </target> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>3.0.0</version> + <configuration> + <autoVersionSubmodules>true</autoVersionSubmodules> + <useReleaseProfile>false</useReleaseProfile> + <releaseProfiles>release</releaseProfiles> + <goals>deploy</goals> + <arguments>${arguments}</arguments> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${maven_flatten_version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>oss</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>snapshot-ci-deploy</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>${maven_enforce_version}</version> + <executions> + <execution> + <id>enforce-no-releases</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireSnapshotVersion> + <message>No Releases Allowed!</message> + <failWhenParentIsRelease>false</failWhenParentIsRelease> + </requireSnapshotVersion> + </rules> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>javadoc-lint</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <doclint>none</doclint> + </properties> + </profile> + <!-- jacoco: mvn validate -Pjacoco --> + <profile> + <id>jacoco</id> + <properties> + <jacoco.skip>false</jacoco.skip> + </properties> + </profile> - <!-- check code style: mvn validate -Pcheckstyle --> - <profile> - <id>checkstyle</id> - <properties> - <checkstyle.skip>false</checkstyle.skip> - <checkstyle_unix.skip>false</checkstyle_unix.skip> - </properties> - </profile> - <profile> - <id>checkstyle_def</id> - <activation> - <jdk>[1.8,)</jdk> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>${maven_checkstyle_version}</version> - <dependencies> - <dependency> - <groupId>com.puppycrawl.tools</groupId> - <artifactId>checkstyle</artifactId> - <version>8.45.1</version> - </dependency> - <dependency> - <groupId>org.apache.dubbo</groupId> - <artifactId>dubbo-build-tools</artifactId> - <version>1.0.0</version> - </dependency> - </dependencies> - <executions> - <execution> - <id>checkstyle-validation</id> - <phase>validate</phase> - <configuration> - <configLocation>codestyle/checkstyle.xml</configLocation> - <suppressionsLocation>codestyle/checkstyle-suppressions.xml</suppressionsLocation> - <encoding>UTF-8</encoding> - <consoleOutput>true</consoleOutput> - <failOnViolation>true</failOnViolation> - <skip>${checkstyle.skip}</skip> - <excludes> - **/JSONWriter.java, + <!-- check code style: mvn validate -Pcheckstyle --> + <profile> + <id>checkstyle</id> + <properties> + <checkstyle.skip>false</checkstyle.skip> + <checkstyle_unix.skip>false</checkstyle_unix.skip> + </properties> + </profile> + <profile> + <id>checkstyle_def</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${maven_checkstyle_version}</version> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.45.1</version> + </dependency> + <dependency> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo-build-tools</artifactId> + <version>1.0.0</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>checkstyle-validation</id> + <goals> + <goal>check</goal> + </goals> + <phase>validate</phase> + <configuration> + <configLocation>codestyle/checkstyle.xml</configLocation> + <suppressionsLocation>codestyle/checkstyle-suppressions.xml</suppressionsLocation> + <encoding>UTF-8</encoding> + <consoleOutput>true</consoleOutput> + <failOnViolation>true</failOnViolation> + <skip>${checkstyle.skip}</skip> + <excludes>**/JSONWriter.java, **/org/apache/dubbo/maven/plugin/aot/AbstractAotMojo.java, **/org/apache/dubbo/maven/plugin/aot/AbstractDependencyFilterMojo.java, **/org/apache/dubbo/maven/plugin/aot/CommandLineBuilder.java,
