You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "SFlora (GitHub)" <gi...@apache.org> on 2019/02/03 06:44:30 UTC
[GitHub] [incubator-dubbo-ops] SFlora opened issue #291: mvn clean package 打包报错

在个人电脑和服务器上打包都个错误。试过清理maven库,没有解决问题
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] SFlora commented on issue #291: mvn clean package 打包报错
Posted by "SFlora (GitHub)" <gi...@apache.org>.
@nzomkxia @biyuhao
Thank you. Problem solved
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #291: mvn clean package 打包报错
Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
since dubbo 2.7.0 has been released, I've change the dependency, please try again
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] biyuhao commented on issue #291: mvn clean package 打包报错
Posted by "biyuhao (GitHub)" <gi...@apache.org>.
> 
>
> @nzomkxia A new error has been encountered
Seems it's an unit test failure and I can reproduce it.
```
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ServiceControllerTest.shouldFilterUsingPattern:113
Expected: a collection with size <10>
but: collection size was <4>
[ERROR] ServiceControllerTest.shouldGetAllApplications:94
Expected: a collection with size <10>
but: collection size was <0>
[ERROR] ServiceControllerTest.shouldGetAllServices:75
Expected: a collection with size <10>
but: collection size was <3>
[INFO]
[ERROR] Tests run: 45, Failures: 3, Errors: 0, Skipped: 0
```
Currently, you can skip it `./mvnw clean package -DskipTests` as a workaround.
I'll figure it out.
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] SFlora commented on issue #291: mvn clean package 打包报错
Posted by "SFlora (GitHub)" <gi...@apache.org>.

@nzomkxia A new error has been encountered
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] biyuhao commented on issue #291: mvn clean package 打包报错
Posted by "biyuhao (GitHub)" <gi...@apache.org>.
> 
>
> @nzomkxia A new error has been encountered
Seems it's an unit test failure and I can reproduce it.
```
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ServiceControllerTest.shouldFilterUsingPattern:113
Expected: a collection with size <10>
but: collection size was <4>
[ERROR] ServiceControllerTest.shouldGetAllApplications:94
Expected: a collection with size <10>
but: collection size was <0>
[ERROR] ServiceControllerTest.shouldGetAllServices:75
Expected: a collection with size <10>
but: collection size was <3>
[INFO]
[ERROR] Tests run: 45, Failures: 3, Errors: 0, Skipped: 0
```
Currently, you can skip it by `./mvnw clean package -Dskiptests`
I'll figure it out.
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] SFlora commented on issue #291: mvn clean package 打包报错
Posted by "SFlora (GitHub)" <gi...@apache.org>.
@sunbufu 我个人电脑可以直连repository.apache.org,也尝试过阿里云的镜像,都是一样的错误。
服务器是GCP家的 问题同样
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] sunbufu commented on issue #291: mvn clean package 打包报错
Posted by "sunbufu (GitHub)" <gi...@apache.org>.
请检查下是否可以直接链接到 <https://repository.apache.org>,国内建议配置 [阿里源](https://maven.aliyun.com) 使用。
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] SFlora closed issue #291: mvn clean package 打包报错
Posted by "SFlora (GitHub)" <gi...@apache.org>.
[ issue closed by SFlora ]
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/291 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org