我在下面的示例中创建了自己的库.
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?
发布评论