Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/348.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何在Eclipse中将github maven项目作为jar文件导入?_Java_Eclipse_Git_Maven_Github - Fatal编程技术网

Java 如何在Eclipse中将github maven项目作为jar文件导入?

Java 如何在Eclipse中将github maven项目作为jar文件导入?,java,eclipse,git,maven,github,Java,Eclipse,Git,Maven,Github,我想使用以下github项目作为我自己的eclipse项目(java)引用的已编译项目: https://github.com/HaraldWalker/user-agent-utils 我不使用Maven。如何引用这个github项目,以便在我自己的项目中使用它的库?它必须变成一个罐子还是有其他的方法 非常感谢您的帮助。如果您不使用maven,您可能需要下载源代码(git checkout),将其编译到jar中,并将jar添加到项目的构建路径中。 阅读:如果项目已经在Maven Central

我想使用以下github项目作为我自己的eclipse项目(java)引用的已编译项目:

https://github.com/HaraldWalker/user-agent-utils

我不使用Maven。如何引用这个github项目,以便在我自己的项目中使用它的库?它必须变成一个罐子还是有其他的方法


非常感谢您的帮助。

如果您不使用maven,您可能需要下载源代码(git checkout),将其编译到jar中,并将jar添加到项目的构建路径中。

阅读:

如果项目已经在Maven Central或Bintray上,那么您可以从那里下载jar


否则,您可以使用来为自己构建jar。

也许这个链接会有所帮助:Sweet。谢谢你们两位。这很有帮助!