This is an automated email from the ASF dual-hosted git repository.
carryxyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new ece58a8 fix #2842. remove duplicate SPI definitions for 2.7.x (#3340)
ece58a8 is described below
commit ece58a88d49e56ad381fc5ec7dcf8a68802900d3
Author: cvictory <[email protected]>
AuthorDate: Fri Jan 25 11:17:58 2019 +0800
fix #2842. remove duplicate SPI definitions for 2.7.x (#3340)
remove duplicate SPI definitions for 2.7.x
---
dubbo-all/pom.xml | 12 ++++++++++++
dubbo-container/dubbo-container-api/pom.xml | 3 +--
pom.xml | 1 -
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/dubbo-all/pom.xml b/dubbo-all/pom.xml
index 8c46af6..15fd731 100644
--- a/dubbo-all/pom.xml
+++ b/dubbo-all/pom.xml
@@ -614,6 +614,18 @@
</resource>
</transformer>
</transformers>
+ <filters>
+ <filter>
+ <artifact>org.apache.dubbo:dubbo</artifact>
+ <excludes>
+ <!-- These two line is optional, it
can remove some warn log -->
+ <exclude>com/**</exclude>
+ <exclude>org/**</exclude>
+ <!-- This one is required -->
+ <exclude>META-INF/dubbo/**</exclude>
+ </excludes>
+ </filter>
+ </filters>
</configuration>
</execution>
</executions>
diff --git a/dubbo-container/dubbo-container-api/pom.xml
b/dubbo-container/dubbo-container-api/pom.xml
index 2e1f544..2c1e910 100644
--- a/dubbo-container/dubbo-container-api/pom.xml
+++ b/dubbo-container/dubbo-container-api/pom.xml
@@ -47,9 +47,8 @@
<mainClass>org.apache.dubbo.container.Main</mainClass>
</manifest>
</archive>
- <forceCreation>true</forceCreation>
</configuration>
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/pom.xml b/pom.xml
index 4cbb67e..8f1a39b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -389,7 +389,6 @@
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
- <forceCreation>true</forceCreation>
</configuration>
</plugin>
<plugin>