如何将自己的库发布到TFS?

编程入门 行业动态 更新时间:2024-10-28 00:15:17
本文介绍了如何将自己的库发布到TFS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在下面的示例中创建了自己的库.

I create my own library looking this sample below .

medium/@ome450901/publish-an-android-library-by-jitpack-a0342684cbd0

但是我想将其发布到tfs服务器.但是我不知道这是可能的,或者我怎么做.我在Google上搜索它,但找不到任何东西.

But I want to publish it to tfs server . But I dont know it is possible or how can I make it . I search it at google but I cannot find anything .

感谢您的任何建议.

推荐答案

如您在 docs.microsoft/en-us/vsts/package/overview 和 docs.microsoft/zh-cn/vsts/package/get-started-maven ,您至少需要MFS TFS 2018软件包存储库可用,此外,您还必须安装并获得软件包管理许可(或在试用模式下),并且TFS管理员还必须在设置的预览功能"部分中启用软件包管理Maven".

As you can see at docs.microsoft/en-us/vsts/package/overview and docs.microsoft/en-us/vsts/package/get-started-maven, you need at least TFS 2018 for Maven package repository being available and additionally you have to have Package Management installed and licensed (or in trial mode) and additionally the TFS admin has to enable "Maven for Package Management" in the "Preview Features" section of the settings.

如果所有这些都给出,则可以为Maven软件包管理创建feed,然后可以使用 maven 或 maven-publish Gradle插件以发布到您创建的TFS提要. docs.microsoft/en-us/vsts/package/get-started-maven 应该为您指示需要发布哪些设置以配置相应的Gradle插件.

If all this is given, you can create a feed for Maven package management and then you can use the maven or maven-publish Gradle plugin to publish to that TFS feed you created. docs.microsoft/en-us/vsts/package/get-started-maven should give you an indication on what settings you need to publish to configure the respective Gradle plugin.

由于我没有可用的TFS,因此无法举一个具体的例子.

As I don't have TFS available, I cannot give you a concrete example.

更多推荐

如何将自己的库发布到TFS?

本文发布于:2023-11-11 13:41:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1578606.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自己的   如何将   TFS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!