You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/06/27 07:24:06 UTC
[GitHub] ATAKing1023 closed pull request #1991: [Dubbo-1765] Fix
ReferenceBean initialization issue
ATAKing1023 closed pull request #1991: [Dubbo-1765] Fix ReferenceBean initialization issue
URL: https://github.com/apache/incubator-dubbo/pull/1991
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/all/pom.xml b/all/pom.xml
index c4095a2e69..a50b9411d7 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -554,35 +554,35 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven_javadoc_version}</version>
- <executions>
- <execution>
- <id>attach-javadoc</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <doclint>none</doclint>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <includeDependencySources>true</includeDependencySources>
- <dependencySourceIncludes>
- <dependencySourceInclude>org.apache.dubbo:dubbo-*</dependencySourceInclude>
- <dependencySourceExclude>com.alibaba:hessian-*</dependencySourceExclude>
- </dependencySourceIncludes>
- <show>public</show>
- <charset>UTF-8</charset>
- <encoding>UTF-8</encoding>
- <docencoding>UTF-8</docencoding>
- <links>
- <link>http://docs.oracle.com/javase/7/docs/api</link>
- </links>
- </configuration>
- </plugin>
+ <!--<plugin>-->
+ <!--<artifactId>maven-javadoc-plugin</artifactId>-->
+ <!--<version>${maven_javadoc_version}</version>-->
+ <!--<executions>-->
+ <!--<execution>-->
+ <!--<id>attach-javadoc</id>-->
+ <!--<goals>-->
+ <!--<goal>jar</goal>-->
+ <!--</goals>-->
+ <!--<configuration>-->
+ <!--<doclint>none</doclint>-->
+ <!--</configuration>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--<configuration>-->
+ <!--<includeDependencySources>true</includeDependencySources>-->
+ <!--<dependencySourceIncludes>-->
+ <!--<dependencySourceInclude>org.apache.dubbo:dubbo-*</dependencySourceInclude>-->
+ <!--<dependencySourceExclude>com.alibaba:hessian-*</dependencySourceExclude>-->
+ <!--</dependencySourceIncludes>-->
+ <!--<show>public</show>-->
+ <!--<charset>UTF-8</charset>-->
+ <!--<encoding>UTF-8</encoding>-->
+ <!--<docencoding>UTF-8</docencoding>-->
+ <!--<links>-->
+ <!--<link>http://docs.oracle.com/javase/7/docs/api</link>-->
+ <!--</links>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/bom/pom.xml b/bom/pom.xml
index 03e2eb497f..83f8fdf624 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
+ <!--<parent>-->
+ <!--<groupId>org.sonatype.oss</groupId>-->
+ <!--<artifactId>oss-parent</artifactId>-->
+ <!--<version>7</version>-->
+ <!--</parent>-->
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-bom</artifactId>
@@ -318,4 +318,17 @@
</profile>
</profiles>
+ <distributionManagement>
+ <repository>
+ <id>nexus-releases</id>
+ <name>nexus-releases</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>nexus-snapshots</id>
+ <name>nexus-snapshots</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+
</project>
\ No newline at end of file
diff --git a/dependencies-bom/pom.xml b/dependencies-bom/pom.xml
index ddaefce8c1..01b01c2c23 100644
--- a/dependencies-bom/pom.xml
+++ b/dependencies-bom/pom.xml
@@ -2,11 +2,11 @@
<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.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
+ <!--<parent>-->
+ <!--<groupId>org.sonatype.oss</groupId>-->
+ <!--<artifactId>oss-parent</artifactId>-->
+ <!--<version>7</version>-->
+ <!--</parent>-->
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-dependencies-bom</artifactId>
@@ -116,6 +116,11 @@
<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-pool2</artifactId>
+ <version>2.4.2</version>
+ </dependency>
<!-- Common libs -->
<dependency>
<groupId>org.springframework</groupId>
@@ -404,4 +409,17 @@
</profile>
</profiles>
+ <distributionManagement>
+ <repository>
+ <id>nexus-releases</id>
+ <name>nexus-releases</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>nexus-snapshots</id>
+ <name>nexus-snapshots</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+
</project>
\ No newline at end of file
diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
index da86ea0017..d118f04349 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
@@ -422,6 +422,8 @@ private T createProxy(Map<String, String> map) {
c = true; // default true
}
if (c && !invoker.isAvailable()) {
+ // make it possible to retry when provider is available
+ initialized = false;
throw new IllegalStateException("Failed to check the status of the service " + interfaceName + ". No provider available for the service " + (group == null ? "" : group + "/") + interfaceName + (version == null ? "" : ":" + version) + " from the url " + invoker.getUrl() + " to the consumer " + NetUtils.getLocalHost() + " use dubbo version " + Version.getVersion());
}
if (logger.isInfoEnabled()) {
diff --git a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
index 1bac760c20..2042f9e939 100644
--- a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
+++ b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
@@ -60,4 +60,51 @@ public void testInjvm() throws Exception {
}
}
+ /**
+ * unit test for dubbo-1765
+ */
+ @Test
+ public void testReferenceRetry() {
+ ApplicationConfig application = new ApplicationConfig();
+ application.setName("test-reference-retry");
+ RegistryConfig registry = new RegistryConfig();
+ registry.setAddress("multicast://224.5.6.7:1234");
+ ProtocolConfig protocol = new ProtocolConfig();
+ protocol.setName("dubbo");
+
+ ReferenceConfig<DemoService> rc = new ReferenceConfig<DemoService>();
+ rc.setApplication(application);
+ rc.setRegistry(registry);
+ rc.setInterface(DemoService.class.getName());
+
+ boolean success = false;
+ DemoService demoService = null;
+ try {
+ demoService = rc.get();
+ success = true;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ Assert.assertFalse(success);
+ Assert.assertNull(demoService);
+
+ ServiceConfig<DemoService> sc = new ServiceConfig<DemoService>();
+ sc.setInterface(DemoService.class);
+ sc.setRef(new DemoServiceImpl());
+ sc.setApplication(application);
+ sc.setRegistry(registry);
+ sc.setProtocol(protocol);
+
+ try {
+ sc.export();
+ demoService = rc.get();
+ success = true;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ Assert.assertTrue(success);
+ Assert.assertNotNull(demoService);
+
+ }
+
}
\ No newline at end of file
diff --git a/dubbo-registry/dubbo-registry-redis/pom.xml b/dubbo-registry/dubbo-registry-redis/pom.xml
index 12f2aecbe6..20afb0fe45 100644
--- a/dubbo-registry/dubbo-registry-redis/pom.xml
+++ b/dubbo-registry/dubbo-registry-redis/pom.xml
@@ -29,6 +29,10 @@
<skip_maven_deploy>false</skip_maven_deploy>
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-pool2</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-registry-api</artifactId>
diff --git a/dubbo-rpc/dubbo-rpc-redis/pom.xml b/dubbo-rpc/dubbo-rpc-redis/pom.xml
index df5be04986..4f61b69204 100644
--- a/dubbo-rpc/dubbo-rpc-redis/pom.xml
+++ b/dubbo-rpc/dubbo-rpc-redis/pom.xml
@@ -29,6 +29,10 @@
<skip_maven_deploy>false</skip_maven_deploy>
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-pool2</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-rpc-api</artifactId>
diff --git a/pom.xml b/pom.xml
index 2413fe2f6f..2dfdf5f336 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,11 +18,11 @@
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
+ <!--<parent>-->
+ <!--<groupId>org.sonatype.oss</groupId>-->
+ <!--<artifactId>oss-parent</artifactId>-->
+ <!--<version>7</version>-->
+ <!--</parent>-->
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-parent</artifactId>
@@ -186,17 +186,17 @@
</dependencies>
<profiles>
- <profile>
- <id>java6</id>
- <properties>
- <maven_jar_version>3.0.2</maven_jar_version>
- <maven_surefire_version>2.19.1</maven_surefire_version>
- <maven_deploy_version>2.7</maven_deploy_version>
- <maven_compiler_version>3.1</maven_compiler_version>
- <maven_source_version>3.0.1</maven_source_version>
- <maven_javadoc_version>2.10.1</maven_javadoc_version>
- </properties>
- </profile>
+ <!--<profile>-->
+ <!--<id>java6</id>-->
+ <!--<properties>-->
+ <!--<maven_jar_version>3.0.2</maven_jar_version>-->
+ <!--<maven_surefire_version>2.19.1</maven_surefire_version>-->
+ <!--<maven_deploy_version>2.7</maven_deploy_version>-->
+ <!--<maven_compiler_version>3.1</maven_compiler_version>-->
+ <!--<maven_source_version>3.0.1</maven_source_version>-->
+ <!--<maven_javadoc_version>2.10.1</maven_javadoc_version>-->
+ <!--</properties>-->
+ <!--</profile>-->
<profile>
<id>test</id>
<activation>
@@ -208,20 +208,20 @@
<module>dubbo-test</module>
</modules>
</profile>
- <profile>
- <id>hudson</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <testFailureIgnore>true</testFailureIgnore>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <!--<profile>-->
+ <!--<id>hudson</id>-->
+ <!--<build>-->
+ <!--<plugins>-->
+ <!--<plugin>-->
+ <!--<groupId>org.apache.maven.plugins</groupId>-->
+ <!--<artifactId>maven-surefire-plugin</artifactId>-->
+ <!--<configuration>-->
+ <!--<testFailureIgnore>true</testFailureIgnore>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
+ <!--</plugins>-->
+ <!--</build>-->
+ <!--</profile>-->
<profile>
<id>java8-vm-args</id>
<activation>
@@ -235,74 +235,74 @@
</argline>
</properties>
</profile>
- <profile>
- <id>checkstyle</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.9</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>checkstyle-validation</id>
- <phase>validate</phase>
- <configuration>
- <configLocation>codestyle/checkstyle.xml</configLocation>
- <suppressionsLocation>codestyle/checkstyle-suppressions.xml</suppressionsLocation>
- <headerLocation>codestyle/checkstyle-header.txt</headerLocation>
- <linkXRef>false</linkXRef>
- <encoding>UTF-8</encoding>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>true</failOnViolation>
- </configuration>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <!--<profile>-->
+ <!--<id>checkstyle</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.9</version>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--<executions>-->
+ <!--<execution>-->
+ <!--<id>checkstyle-validation</id>-->
+ <!--<phase>validate</phase>-->
+ <!--<configuration>-->
+ <!--<configLocation>codestyle/checkstyle.xml</configLocation>-->
+ <!--<suppressionsLocation>codestyle/checkstyle-suppressions.xml</suppressionsLocation>-->
+ <!--<headerLocation>codestyle/checkstyle-header.txt</headerLocation>-->
+ <!--<linkXRef>false</linkXRef>-->
+ <!--<encoding>UTF-8</encoding>-->
+ <!--<consoleOutput>true</consoleOutput>-->
+ <!--<failOnViolation>true</failOnViolation>-->
+ <!--</configuration>-->
+ <!--<goals>-->
+ <!--<goal>check</goal>-->
+ <!--</goals>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--</plugin>-->
+ <!--</plugins>-->
+ <!--</build>-->
+ <!--</profile>-->
<profile>
<id>release</id>
<build>
<plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven_javadoc_version}</version>
- <executions>
- <execution>
- <id>attach-javadoc</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <doclint>none</doclint>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <show>public</show>
- <charset>UTF-8</charset>
- <encoding>UTF-8</encoding>
- <docencoding>UTF-8</docencoding>
- <links>
- <link>http://docs.oracle.com/javase/7/docs/api</link>
- </links>
- </configuration>
- </plugin>
+ <!--<plugin>-->
+ <!--<artifactId>maven-javadoc-plugin</artifactId>-->
+ <!--<version>${maven_javadoc_version}</version>-->
+ <!--<executions>-->
+ <!--<execution>-->
+ <!--<id>attach-javadoc</id>-->
+ <!--<goals>-->
+ <!--<goal>jar</goal>-->
+ <!--</goals>-->
+ <!--<configuration>-->
+ <!--<doclint>none</doclint>-->
+ <!--</configuration>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--<configuration>-->
+ <!--<show>public</show>-->
+ <!--<charset>UTF-8</charset>-->
+ <!--<encoding>UTF-8</encoding>-->
+ <!--<docencoding>UTF-8</docencoding>-->
+ <!--<links>-->
+ <!--<link>http://docs.oracle.com/javase/7/docs/api</link>-->
+ <!--</links>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
@@ -377,77 +377,77 @@
</archive>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven_surefire_version}</version>
- <configuration>
- <useSystemClassLoader>true</useSystemClassLoader>
- <forkMode>once</forkMode>
- <argLine>${argline} ${jacocoArgLine}</argLine>
- <systemProperties>
- <!-- common shared -->
- <property>
- <name>transporter</name>
- <value>${transporter}</value>
- </property>
- <property>
- <name>serialization</name>
- <value>${serialization}</value>
- </property>
- <!-- server side -->
- <property>
- <name>port</name>
- <value>${port}</value>
- </property>
- <property>
- <name>threadpool</name>
- <value>${threadpool}</value>
- </property>
- <property>
- <name>threads</name>
- <value>${threads}</value>
- </property>
- <property>
- <name>iothreads</name>
- <value>${iothreads}</value>
- </property>
- <!-- client side -->
- <property>
- <name>server</name>
- <value>${server}</value>
- </property>
- <property>
- <name>timeout</name>
- <value>${timeout}</value>
- </property>
- <property>
- <name>length</name>
- <value>${length}</value>
- </property>
- <property>
- <name>connections</name>
- <value>${connections}</value>
- </property>
- <property>
- <name>base</name>
- <value>${base}</value>
- </property>
- <property>
- <name>concurrent</name>
- <value>${concurrent}</value>
- </property>
- <property>
- <name>runs</name>
- <value>${runs}</value>
- </property>
- <property>
- <name>onerror</name>
- <value>${onerror}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
+ <!--<plugin>-->
+ <!--<groupId>org.apache.maven.plugins</groupId>-->
+ <!--<artifactId>maven-surefire-plugin</artifactId>-->
+ <!--<version>${maven_surefire_version}</version>-->
+ <!--<configuration>-->
+ <!--<useSystemClassLoader>true</useSystemClassLoader>-->
+ <!--<forkMode>once</forkMode>-->
+ <!--<argLine>${argline} ${jacocoArgLine}</argLine>-->
+ <!--<systemProperties>-->
+ <!--<!– common shared –>-->
+ <!--<property>-->
+ <!--<name>transporter</name>-->
+ <!--<value>${transporter}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>serialization</name>-->
+ <!--<value>${serialization}</value>-->
+ <!--</property>-->
+ <!--<!– server side –>-->
+ <!--<property>-->
+ <!--<name>port</name>-->
+ <!--<value>${port}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>threadpool</name>-->
+ <!--<value>${threadpool}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>threads</name>-->
+ <!--<value>${threads}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>iothreads</name>-->
+ <!--<value>${iothreads}</value>-->
+ <!--</property>-->
+ <!--<!– client side –>-->
+ <!--<property>-->
+ <!--<name>server</name>-->
+ <!--<value>${server}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>timeout</name>-->
+ <!--<value>${timeout}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>length</name>-->
+ <!--<value>${length}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>connections</name>-->
+ <!--<value>${connections}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>base</name>-->
+ <!--<value>${base}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>concurrent</name>-->
+ <!--<value>${concurrent}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>runs</name>-->
+ <!--<value>${runs}</value>-->
+ <!--</property>-->
+ <!--<property>-->
+ <!--<name>onerror</name>-->
+ <!--<value>${onerror}</value>-->
+ <!--</property>-->
+ <!--</systemProperties>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
@@ -468,80 +468,80 @@
<encoding>${file_encoding}</encoding>
</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>jacoco-site</id>
- <phase>package</phase>
- <goals>
- <goal>report</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>${apache-rat-plugin.version}</version>
- <executions>
- <execution>
- <id>verify.rat</id>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <excludes>
- <exclude>**/*.versionsBackup</exclude>
- <exclude>**/.idea/</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>**/*.txt</exclude>
- <exclude>**/*.load</exclude>
- <exclude>**/*.flex</exclude>
- <exclude>**/*.fc</exclude>
- <exclude>**/*.javascript</exclude>
- <exclude>**/*.properties</exclude>
- <exclude>**/*.thrift</exclude>
- <exclude>**/*.sh</exclude>
- <exclude>**/*.bat</exclude>
- <exclude>**/*.md</exclude>
- <exclude>.git/</exclude>
- <exclude>.gitignore</exclude>
- <!-- ASF jenkins box puts the Maven repo in our root directory. -->
- <exclude>.repository/</exclude>
- <exclude>**/.settings/*</exclude>
- <exclude>**/.classpath</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/target/**</exclude>
- <exclude>**/*.log</exclude>
- <exclude>CODE_OF_CONDUCT.md</exclude>
- <exclude>.codecov.yml</exclude>
- <exclude>.travis.yml</exclude>
- <exclude>PULL_REQUEST_TEMPLATE.md</exclude>
- <exclude>CONTRIBUTING.md</exclude>
- <exclude>README.md</exclude>
- <exclude>**/codestyle/*</exclude>
- <exclude>**/resources/META-INF/**</exclude>
- <!-- exclude the internal threadlocal files -->
- <exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocal.java</exclude>
- <exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocalMap.java</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </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>jacoco-site</id>-->
+ <!--<phase>package</phase>-->
+ <!--<goals>-->
+ <!--<goal>report</goal>-->
+ <!--</goals>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--</plugin>-->
+ <!--<plugin>-->
+ <!--<groupId>org.apache.rat</groupId>-->
+ <!--<artifactId>apache-rat-plugin</artifactId>-->
+ <!--<version>${apache-rat-plugin.version}</version>-->
+ <!--<executions>-->
+ <!--<execution>-->
+ <!--<id>verify.rat</id>-->
+ <!--<phase>verify</phase>-->
+ <!--<goals>-->
+ <!--<goal>check</goal>-->
+ <!--</goals>-->
+ <!--<configuration>-->
+ <!--<excludes>-->
+ <!--<exclude>**/*.versionsBackup</exclude>-->
+ <!--<exclude>**/.idea/</exclude>-->
+ <!--<exclude>**/*.iml</exclude>-->
+ <!--<exclude>**/*.txt</exclude>-->
+ <!--<exclude>**/*.load</exclude>-->
+ <!--<exclude>**/*.flex</exclude>-->
+ <!--<exclude>**/*.fc</exclude>-->
+ <!--<exclude>**/*.javascript</exclude>-->
+ <!--<exclude>**/*.properties</exclude>-->
+ <!--<exclude>**/*.thrift</exclude>-->
+ <!--<exclude>**/*.sh</exclude>-->
+ <!--<exclude>**/*.bat</exclude>-->
+ <!--<exclude>**/*.md</exclude>-->
+ <!--<exclude>.git/</exclude>-->
+ <!--<exclude>.gitignore</exclude>-->
+ <!--<!– ASF jenkins box puts the Maven repo in our root directory. –>-->
+ <!--<exclude>.repository/</exclude>-->
+ <!--<exclude>**/.settings/*</exclude>-->
+ <!--<exclude>**/.classpath</exclude>-->
+ <!--<exclude>**/.project</exclude>-->
+ <!--<exclude>**/target/**</exclude>-->
+ <!--<exclude>**/*.log</exclude>-->
+ <!--<exclude>CODE_OF_CONDUCT.md</exclude>-->
+ <!--<exclude>.codecov.yml</exclude>-->
+ <!--<exclude>.travis.yml</exclude>-->
+ <!--<exclude>PULL_REQUEST_TEMPLATE.md</exclude>-->
+ <!--<exclude>CONTRIBUTING.md</exclude>-->
+ <!--<exclude>README.md</exclude>-->
+ <!--<exclude>**/codestyle/*</exclude>-->
+ <!--<exclude>**/resources/META-INF/**</exclude>-->
+ <!--<!– exclude the internal threadlocal files –>-->
+ <!--<exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocal.java</exclude>-->
+ <!--<exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocalMap.java</exclude>-->
+ <!--</excludes>-->
+ <!--</configuration>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
@@ -617,4 +617,17 @@
</plugins>
</pluginManagement>
</build>
+
+ <distributionManagement>
+ <repository>
+ <id>nexus-releases</id>
+ <name>nexus-releases</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>nexus-snapshots</id>
+ <name>nexus-snapshots</name>
+ <url>http://192.168.163.25:8081/nexus/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
</project>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org