如何将我的工件部署到我的联系上? [英] how to deploy my artifact on to my nexus?

查看:59
本文介绍了如何将我的工件部署到我的联系上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用nexus开源作为我的Maven 3.0.3的存储库管理器

I am using nexus open source as my repository manager for Maven 3.0.3

Maven能够创建工件* .jar.

Maven is able to create artifact *.jar.

现在,我想知道如何将生成的工件* .jar推送到nexus回购管理器,以便其他依赖模块可以从中提取.

Now, I would like to know how I can push the generated artifact *.jar to the nexus repo manager, so that other dependent modules can pull from it.

我引用了此指南.

settings.xml中,我有

    <server>     
            <id>nexus-site</id>
            <username>admin</username>
            <password>xxxx</password>
    </server>

失败.

如何从mvn命令调用我的部署,或者如何将我的工件部署到我的联系?

How can invoke my deployment from mvn command or how to deploy my artifact on to my nexus?

推荐答案

只需尝试

   mvn deploy

这会将您的工件部署到联系仓库管理器.

that will deploy your artifact to the nexus repo manager.

您是否配置了distributionManagement部分?

Have you configured the distributionManagement section ?

这篇关于如何将我的工件部署到我的联系上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆