Pau*_*aul 5 grails repository grails-plugin maven
我在maven-deploy远程仓库上使用命令部署插件时遇到问题.我安装了最新版本的Release插件(2.0.2).
我收到此错误:
| Loading Grails 2.0.4
| Configuring classpath.
| Environment set to development.....
| Packaging Grails application.....
| Compiling 33 GSP files for package [myPackage].....
| Plugin packaged grails-plugin-myPlugin.jar
| Skipping POM generation because 'pom.xml' exists in the root of the project..
| Error Error executing script MavenDeploy: : Error downloading wagon provider from the remote repository: Missing:
----------
1) org.apache.maven.wagon:wagon-http:jar:1.0-beta-2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-http -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-http -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) unspecified:unspecified:jar:0.0
2) org.apache.maven.wagon:wagon-http:jar:1.0-beta-2
----------
1 required artifact is missing.
for artifact:
unspecified:unspecified:jar:0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
(Use --stacktrace to see the full trace)
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助
这看起来像是 Maven 问题:
org.apache.maven.wagon:wagon-http:jar:1.0-beta-2Maven 无法从 http://repo1.maven.org/maven2下载所需的依赖项
由于可以在Maven 中心找到所需的工件,这可能是网络问题造成的
| 归档时间: |
|
| 查看次数: |
1208 次 |
| 最近记录: |