简体   繁体   English

安装自定义jars azure devops maven神器

[英]Install custom jars azure devops maven artifact

I have custom dependency jars files in our local maven repo folder like com.org.* to build a Mule application.我在本地 maven repo 文件夹(如 com.org.* )中有自定义依赖项 jars 文件来构建 Mule 应用程序。 I have installed these jars files using mvn install command so that it will get published to maven local repo and again pulled by pom.xml.我已经使用mvn install命令安装了这些 jars 文件,以便将其发布到 maven 本地 repo 并再次由 pom.xml 拉取。

Now, I have to replicate the same thing inside azure DevOps under the maven tab.现在,我必须在 maven 选项卡下的 azure DevOps 中复制相同的内容。 I have been struggling a lot to find a solutions.我一直在努力寻找解决方案。 Azure DevOps experts could you please guide me here. Azure DevOps 专家能否请您指导我。 Any help would be highly appreciated.任何帮助将不胜感激。

Thanks谢谢

Install custom jars azure devops maven artifact安装自定义jars azure devops maven神器

You could create your custom maven feed on the Azure DevOps, then publish those custom dependency jars files into this custom maven feed, and use mvn install command with Maven task .您可以在 Azure DevOps 上创建自定义 Maven 提要,然后将这些自定义依赖项 jar 文件发布到此自定义 Maven 提要中,并使用mvn install命令和Maven task

For the details info, please check following documents:有关详细信息,请查看以下文件:

Set up Azure Pipelines and Maven 设置 Azure Pipelines 和 Maven

Get started with Maven packages in Azure DevOps Services and TFS 开始使用 Azure DevOps Services 和 TFS 中的 Maven 包

Configure Azure DevOps Services for Maven package management 为 Maven 包管理配置 Azure DevOps 服务

Hope this helps.希望这可以帮助。

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

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