无法将grails插件安装到本地或远程maven repo

时间:2014-06-05 10:24:09

标签: maven grails grails-plugin

我试图将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

我正在使用github上的grails-maven插件,因为它解决了这个问题 - https://jira.grails.org/browse/MAVEN-237,它可以与我的问题相关吗?如何追踪它?我试着看看maven调试输出,但我没有发现任何可以提供帮助的内容

1 个答案:

答案 0 :(得分:0)

我建议安装release plugin然后再运行

grails maven-install

文档为here

相关问题