当前位置:   article > 正文

jenkins构建maven项目报错global.repo.snapshots.url_with type default using the available connector fa

with type default using the available connector factories: basicrepositoryco

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project strx-parent: Failed to deploy artifacts/metadata: Cannot access ${global.repo.snapshots.url} with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access ${global.repo.snapshots.url} using the registered transporter factories: WagonTransporterFactory: Unsupported transport protocol -> [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.
Waiting for Jenkins to finish collecting data[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/MojoExecutionException

 

=============================================

在顶层pom文件中缺少global.repo.snapshots.url 参数,配置上参数就好了,暂时还没有找到使用global.repo.snapshots.url的pom文件,没太搞懂。

猜测是本身项目框架的要求。

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/656917
推荐阅读
相关标签
  

闽ICP备14008679号