在 Play Framework 1.2 中包含来自 Nexus 的模块
Include module from Nexus in Play Framework 1.2
我在本地 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 —sync
validation-1.0.jar后,但此文件是Nexus页面的html代码。如何描述这种依赖性?
右依赖是这样描述的:
require:
- ru.fab.edu -> validation 1.2.0-SNAPSHOT
repositories:
- Nexus:
type: iBiblio
root: "http://url/nexus/content/repositories/public"
contains:
- ru.fab.edu -> *
我在本地 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 —sync
validation-1.0.jar后,但此文件是Nexus页面的html代码。如何描述这种依赖性?
右依赖是这样描述的:
require:
- ru.fab.edu -> validation 1.2.0-SNAPSHOT
repositories:
- Nexus:
type: iBiblio
root: "http://url/nexus/content/repositories/public"
contains:
- ru.fab.edu -> *