简体   繁体   English

maven install命令将工件部署到maven存储库

[英]maven install command to deploy an artifact to maven repository

When i Use option of sts " install or deploy an artifcator in eclipse ".it works properly but when i do it manually by using mvn install command and change the version in pom.xml.it deploys artifactory to local repository. 当我使用sts选项“ 在eclipse中安装或部署artifcator ”时,它可以正常工作,但是当我使用mvn install命令手动进行操作并更改pom.xml中的版本时,它将人工制品部署到本地存储库。 but when i refered it in some other project its symbol is different from others. 但是,当我在其他一些项目中引用它时,其符号与其他项目不同。 在此处输入图片说明

in above image, OES-ClientCore:24.0.9 is deployed using maven command and i ma refering it in some other project. 在上图中,使用maven命令部署了OES-ClientCore:24.0.9,并在其他项目中引用了它。

and also not working properly.so just tell me the difference of option of sts for " install or deploy an artifcator in eclipse " and manually using command mvn install 而且也无法正常工作。所以,请告诉我“ 在eclipse中安装或部署artifcator ”的sts选项的区别,并使用命令mvn install手动进行

mvn install will install the artifact in your local maven repository. mvn install会将工件安装在本地maven存储库中。

Use mvn deploy to deploy it to a remote repository to share it with other developers and projects 使用mvn deploy将其部署到远程存储库以与其他开发人员和项目共享

See also: 也可以看看:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM