Maven将IBM Websphere部署到Nexus - No Jars

时间:2016-04-19 14:21:13

标签: maven deployment websphere nexus

提前感谢。

简而言之,我正在尝试利用IBM WebSphere提供的pom.xml将库部署到Nexus。创建了一个简单的portlet项目,该项目引用了:

    <dependency>
        <groupId>com.ibm.tools.target</groupId>
        <artifactId>was</artifactId>
        <version>8.5.5</version>
        <type>pom</type>
        <scope>provided</scope>
    </dependency>

感谢此处的其他帖子,我设法通过一系列其他错误,包括401 Unauthorized,但现在成功完成mvn deploy命令后,存储库没有jar文件。

The designated repository after mvn deploy.

settings.xml文件指向此Nexus,但是指向一个Group,其中包括此指定的存储库,以及Central和IBM repo。

以下是我正在构建的错误:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.273 s
[INFO] Finished at: 2016-04-19T01:20:39-04:00
[INFO] Final Memory: 8M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project project-portlets.war: Could not resolve de
pendencies for project com.project.portal:project-portlets.war:war:0.0.1-SNAPSHOT
: Failure to find com.ibm.tools.target:was:pom:8.5.5 in http://nexus.host.com:8081/nexus/content/repositories/central was cached in the lo
cal repository, resolution will not be reattempted until the update interval of
Nexus has elapsed or updates are forced -> [Help 1]

也许我可能错误配置了一些东西?

再次感谢你! 约翰。

0 个答案:

没有答案