繁体   English   中英

无法将Grails插件安装到本地或远程Maven存储库

[英]Cannot install grails plugin to local or remote maven repo

我正在尝试将grails插件安装到本地或远程仓库中,但是当我运行mvn install -DskipTests时,我总是会收到以下消息:

|Loading Grails 2.3.9
|Configuring classpath
|Running pre-compiled script
.
|Environment set to development
................................
|Packaging Grails application
................................
|Plugin packaged grails-mcplugin-license-0.4.3.zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.532s
[INFO] Finished at: Thu Jun 05 14:12:03 MSK 2014
[INFO] Final Memory: 13M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.4.0:package-plugin           (default->package-plugin) on project McpluginLicense: Unable to copy the plugin ZIP to the   target >directory -> [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/MojoExecutionException

我使用的Grails-Maven插件直接从GitHub的,因为它解决了这个问题- https://jira.grails.org/browse/MAVEN-237 ,能不能与我的问题? 如何追踪? 我尝试查看maven调试输出,但没有发现任何可以帮助您的内容

我建议安装释放插件 ,然后运行

grails maven-install

文档在这里

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM