如何将TFS Java SDK部署到本地maven存储库? [英] How to deploy the TFS Java SDK to a local maven repo?
问题描述
TFS java SDK是否可用于任何公共maven存储库?如果没有,我如何将其添加到本地Maven存储库,以便本机依赖关系也能正常处理?
我正在尝试使用Clojure通过Leiningen的TFS SDK。 / p>
以下是我的工作原理。我也在通过Leiningen在Clojure中使用SDK。
- 解压缩zip文件
- 进入 redis t 文件夹
- 将 lib 文件夹中的SDK jar部署到原生文件中的Maven仓库
- 文件夹,我以递归方式将 win32
复制到 windows 。我认为一个简单的重命名就可以了,但我也留下了原来的名字。- 仍然在 redist ,jar本机库, jar cMf tfs-sdk-native.jar native
并部署到您的Maven仓库执行此操作后,我能够包括我的project.clj中的这两个jar都使用了Eclipse中的REPL(当然还有结果程序)中的SDK。
我发现此页有用
Is the TFS java SDK available in any public maven repository? If not, how can I add it to a local Maven repository such that the native dependencies are also take care of properly?
I am trying to use the TFS SDK from Clojure via Leiningen.
Here is what I did to make it work. I'm also using the SDK in Clojure via Leiningen.
- Unpack the zip file
- go into the redist folder
- deploy the SDK jar from the lib folder to your Maven repo
- in the native folder, I recursively copied win32 to windows. I think a simple rename would have been fine but I left the original name as well.
- still in redist, jar the native libs, jar cMf tfs-sdk-native.jar native and deploy to your Maven repo
After doing this I was able to include both of these jars in my project.clj and use the SDK from the REPL in Eclipse (and also from the resulting program, of course).
I found this page helpful
这篇关于如何将TFS Java SDK部署到本地maven存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!