Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbox2.8.4 为啥不能打包成功 #392

Open
van-scott opened this issue Nov 30, 2018 · 5 comments
Open

dubbox2.8.4 为啥不能打包成功 #392

van-scott opened this issue Nov 30, 2018 · 5 comments

Comments

@van-scott
Copy link

van-scott commented Nov 30, 2018

1、执行mvn clean install 然后执行, 打包失败
PS D:\Projects\dubbox-dubbox-2.8.4\dubbo-admin> mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.alibaba:dubbo-admin:war:2.8.4
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ com.alibaba:dubbo-parent:2.8.4, D:\Projects\dubbox-dubbox-2.8.4\pom.xml, line 480, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building dubbo-admin 2.8.4
[INFO] ------------------------------------------------------------------------
Downloading: http://jrepo2.yypm.com/nexus/content/groups/public/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml
Downloading: http://jrepo2.yypm.com/nexus/content/repositories/releases/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml
Downloading: http://jrepo2.yypm.com/nexus/content/repositories/snapshots/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to nexus-public-repo (http://jrepo2.yypm.com/nexus/content/groups/public): Connect to jrepo2.yypm.com:80 [jrepo2.yypm.com/113.108.231.170, jrepo2.yypm.com/122.13.215.240] failed: Connection refused: connect
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to yy-plugin-releases (http://jrepo2.yypm.com/nexus/content/repositories/releases): Connect to jrepo2.yypm.com:80 [jrepo2.yypm.com/113.108.231.170, jrepo2.yypm.com/122.13.215.240] failed: Connection refused: connect
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to yy-plugin-snapshots (http://jrepo2.yypm.com/nexus/content/repositories/snapshots): Connect to jrepo2.yypm.com:80 [jrepo2.yypm.com/113.108.231.170, jrepo2.yypm.com/122.13.215.240] failed: Connection refused: connect
Downloading: http://jrepo2.yypm.com/nexus/content/groups/public/com/alibaba/dubbo/2.8.4/dubbo-2.8.4.pom
Downloading: http://jrepo2.yypm.com/nexus/content/repositories/releases/com/alibaba/dubbo/2.8.4/dubbo-2.8.4.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.999 s
[INFO] Finished at: 2018-11-30T19:45:01+08:00
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dubbo-admin: Could not resolve dependencies for project com.alibaba:dubbo-admin:war:2.8.4: Failed to collect dependencies at com.alibaba:dubbo:jar:2.8.4: Failed to read artifact descriptor for com.alibaba:dubbo:jar:2.8.4: Could not transfer artifact com.alibaba:dubbo:pom:2.8.4 from/to nexus-public-repo (http://jrepo2.yypm.com/nexus/content/groups/public): Connect to jrepo2.yypm.com:80 [jrepo2.yypm.com/113.108.231.170, jrepo2.yypm.com/122.13.215.240] failed: Connection refused: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
PS D:\Projects\dubbox-dubbox-2.8.4\dubbo-admin>

@van-scott van-scott changed the title dubbox2.8.4 为啥不能编译 dubbox2.8.4 为啥不能打包成功 Nov 30, 2018
@xianbing819
Copy link

mvn命令加上参数 -DskipTests 或 -Dmaven.test.skip=true 忽略测试代码

@mycill
Copy link

mycill commented Dec 10, 2019

mvn命令加上参数 -DskipTests 或 -Dmaven.test.skip=true 忽略测试代码
不行啊

@mycill
Copy link

mycill commented Dec 10, 2019

同求,本地仓库有2.8.4,maven依赖也有,就是Failed to collect dependencies at com.alibaba:dubbo:jar:2.8.4: Failed to read artifact descriptor for com.alibaba:dubbo:jar:2.8.4: Failure to find com.alibaba:dubbo-parent:pom:2.8.4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

@xianbing819
Copy link

打包成功

@xianbing819
Copy link

jdk8+maven3.6.2
可以试下
mvn install -U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants