【问题标题】:What is the latest url of grails repo? (repo.grails.org/grails/repo vs repo.grails.org/grails/plugins)grails repo 的最新网址是什么? (repo.grails.org/grails/repo 与 repo.grails.org/grails/plugins)
【发布时间】:2017-04-30 07:26:22
【问题描述】:

我们尝试使用 https://grails.org/plugin/jms 进行 jms 集成。但我们无法解决它。

环顾四周,我能够验证它是否存在于这个 repo 中: http://repo.grails.org/grails/repo

但是 grailsCentral() 存储库指向:https://repo.grails.org/grails/plugins

我们正在使用 grails 2.4.4

/grails/repo/ 是新的 repo 吗?

【问题讨论】:

    标签: grails


    【解决方案1】:

    针对最新消息来源的GitHub search 透露:

    DEFAULT_REPO = new RepositoryConfiguration("grailsCentral", new URI("https://repo.grails.org/grails/core"), true)
    

    所以,我们最新的grailsCentral URI 是https://repo.grails.org/grails/core

    深入挖掘:

    git log --pickaxe-regex -S"grailsCentral.*repo\.grails.org/grails/core"
    
    git tag --contains 5fd5a7ae23ce7ea14ebabd09ffb081e6a32d356f
    

    此更改是在 Grails 3.0.0 中引入的。

    【讨论】:

    • 对于 grails 2.x.x,我们是否使用更新后的 grails 存储库?还是我们坚持旧的回购?
    • grailsCentral 的语义从“插件”变为“核心”存储库。如果你只需要解决 grails 插件,use plugin. 如果你还需要其他依赖,use grails and core
    • 我的意思是说“插件和核心”,对不起。确定您需要什么的经验方法是删除您的 .grails 目录并尝试最稀疏的 repo 条目组合,直到您解决所有 deps。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-08-25
    • 2016-03-13
    • 1970-01-01
    • 2016-01-18
    • 2011-08-05
    • 1970-01-01
    • 2014-08-07
    相关资源
    最近更新 更多