如何将自己的库发布到TFS? [英] How to publish my own library to TFS?

查看:93
本文介绍了如何将自己的库发布到TFS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I create my own library looking this sample below .

https://medium.com/@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 .

感谢您的任何建议.

推荐答案

如您在

As you can see at https://docs.microsoft.com/en-us/vsts/package/overview and https://docs.microsoft.com/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-publish Gradle插件以发布到您创建的TFS提要. https://docs.microsoft.com/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. https://docs.microsoft.com/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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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