Grails 3 - 如何发布到Artifactory [英] Grails 3 - How to publish to Artifactory

查看:155
本文介绍了Grails 3 - 如何发布到Artifactory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个Grails 3项目。大多数是插件,一个是依赖于插件的主要应用程序。



成功发布Grails 3项目到Artifactory回购站的人可以告诉我你是如何做到的?你使用什么gradle插件,你需要添加到你的build.gradle才能使用它?



问候,
Rob

解决方案

我在博客中回答:

http://rvanderwerf.blogspot.com/2015/07/how-to-publish-grails -3-plugin.html



基本上,您需要剥离POM中没有任何版本的任何内容,因为Grails / Boot管理这些代码。 p>

I have several Grails 3 projects. Most are plugins and one is the main app that depends on the plugins.

Can someone who has successfully published a Grails 3 project to an Artifactory repo tell me how you did it? What gradle plugin do you use and what do you need to add to your build.gradle to make it work?

Regards, Rob

解决方案

I blogged the answer:

http://rvanderwerf.blogspot.com/2015/07/how-to-publish-grails-3-plugin.html

Basically you need to strip out anything in the POM with no version on it as Grails/Boot managed those deps.

这篇关于Grails 3 - 如何发布到Artifactory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆