【问题标题】:Include module from Nexus in Play Framework 1.2在 Play Framework 1.2 中包含来自 Nexus 的模块
【发布时间】:2016-06-27 20:04:37
【问题描述】:

我在本地 Nexus 存储库中有 Play Framework 1.2.7 和模块 validation-1.0.jar 的项目。模块工件是 validation,groupName 是 ru.fab.edu

在dependencies.yml中

require:
- ru.fab.edu -> validation 1.0

repositories:
- Nexus:
   type: http
   artifact: "http://url/nexus/content/repositories/releases/"
   contains:
     - ru.fab.edu -> *

play deps —syncvalidation-1.0.jar 加载后,但是这个文件是 Nexus 页面的 html 代码。如何描述这种依赖关系?

【问题讨论】:

    标签: playframework dependencies nexus


    【解决方案1】:

    正确的依赖描述如下:

    require:
        - ru.fab.edu -> validation 1.2.0-SNAPSHOT
    
    repositories:
        - Nexus:
            type: iBiblio
            root: "http://url/nexus/content/repositories/public"
            contains:
                - ru.fab.edu -> *
    

    【讨论】:

      猜你喜欢
      • 2011-08-16
      • 1970-01-01
      • 2015-06-27
      • 1970-01-01
      • 1970-01-01
      • 2014-01-19
      • 1970-01-01
      • 1970-01-01
      • 2015-12-27
      相关资源
      最近更新 更多