Maven Thrift repository

浪尽此生 提交于 2019-12-30 18:45:31

问题


Does anyone know if the Thrift libraries are in any Maven repository?


回答1:


0.6.1 artifacts now available from main apache repo (http://repo1.maven.org/maven2)

<dependency>
    <groupId>org.apache.thrift</groupId>
    <artifactId>libthrift</artifactId>
    <version>0.6.1</version>
</dependency>

https://issues.apache.org/jira/browse/THRIFT-363




回答2:


I'm not sure what the Thrift libraries are (next time, maybe add a link) but according to Maven Browser, there is a thrift artifact in the scala-tools repository:

<repositories>
  <repository>
    <id>scala-tools</id>
    <url>http://scala-tools.org/repo-releases/</url>
  </repository>
</repositories>

Update: I can't say much about the version (and the content) hosted in the scala-tools repository but this is very likely an artifact made available by the scala folks for their own needs. Actually, the Apache Thrift project is using Ivy and publishing the java library to a maven repository (it will be the Apache snapshots repository, see THRIFT-363) is something on which they didn't work until recently. But the issue is closed now and my understanding is that they will publish an artifact with the next release.




回答3:


As of now there are not any available, you will have to include the jar in your local repository.

You can set up something like Artefactory, a local repository and add the libthrift.jar there.




回答4:


http://mvnrepository.com/artifact/org.apache.thrift/libthrift

You can search Maven repository from there.



来源:https://stackoverflow.com/questions/2582085/maven-thrift-repository

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!