English 中文(简体)
解决铁路面粉碎版(利用玉米-publisher plugin)
原标题:Resolving snapshot versions of Grails plugins (deployed using the maven-publisher plugin)

良好日子

I m试图将我们的公司Grails plugins融入我们的Maven贮存库(资源贮存器名称为幻灯和释放)。

为此,我用“铁路”的指挥,在我们的gin子中安装了ma子。 这很好。

然而,如果我部署SNASHOT版本的原始版本(分析,第1.0.0-SNAPSHOT),它就被适当部署到我们的存放处,但我可以在其应用中安装这一版本(“最新融合”)。

I m 使用Grails 1.3.7。

首先,在部署时,实际使用的手法名称在增加一个时间段(“bla-1.0.0-20110421.122823-1.zip”)。 然而,这一版本仍然是1.0.0-SNAPSHOT。 我猜想,它会带来这样的转变。

然而,Ivy似乎没有理解这一转变,也没有处理SNAPSHOT版本。 我的错误如下:

==== http://myRepo/repository/snapshots: tried
-- artifact myOrg#blablabla;latest.integration!blablabla.zip:
http://myRepo/repository/snapshots/myOrg/blablabla/[revision]/blablabla-[revision].zip

Initial research has revealed that I could create a resolver pattern, but that seems a little bit complicated for something that should work out of the box, and my initial tests were not conclusive anyway (I tried a few patterns, none of which worked).

我应该指出,用“夜总会”指挥工程在当地部署我的假胜地,因为手稿与时俱进地一道,用适当的版本(布拉--1.0.0-SNAPSHOT.zip)制造了手法。

是否有任何解决办法?

感谢!

纪尧姆。

问题回答

我解决了这一修改阿尔西迪西素冷藏库结构的问题:

<snapshotVersionBehavior>non-unique</snapshotVersionBehavior>

现在,你有 f-pl-1.0-SNAPSHOT.zip,你用上了这个名字。





相关问题
grails + gwt request handling via controllers

I am new to gwt. I am trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if ...

Error loading the grails gwt module xml

I ve installed the plugin from this article by Peter http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w.... While compile time its not able to find the module file which is present ...

Sorting Objects Based on Custom Domain Class Methods

I have a domain class, in which I ve defined some methods which give the object a score based on different algorithms (eg. popularity). I now want to retrieve a list of these objects sorted by one of ...

Grails Packaging and Naming Conventions

Packaging Controllers, Services,etc. i.e. - com.company.controllers - com.company.services Is this a good practice or should be avoided by all means?? Another worth mentioning problem I encountered ...

Hibernate/GORM: collection was not processed by flush()

I have an integration test in my Grails application that fails when I try to save an entity of type Member invitingMember.save(flush: true) This raises the following exception org.hibernate....

热门标签