You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xwell (GitHub)" <gi...@apache.org> on 2019/08/14 09:55:20 UTC

[GitHub] [dubbo] xwell commented on issue #1273: 使用maven-shade-plugin打包demo程序不能运行

> @smallnest 你好,我遇到了相同的问题,请问你解决了吗? @bolton1643 你说的这种方式我试了,在项目中直接添加,用maven去build jar包并不会生效

不用手动添加SPI文件,可以直接在pom文件中引入
```
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>dubbo</artifactId>
    <version>${project.parent.version}</version>
</dependency>
```
再用maven编译打包,即可。

[ Full content available at: https://github.com/apache/dubbo/issues/1273 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org