简体   繁体   English

如何在eclipse中从github运行maven项目

[英]how to run maven project from github in eclipse

I use eclipse and I want to compile and run this code from gitub https://github.com/openphacts/Validator ,it needs maven project to build it but unfortunately I don't know how to proceed with it.我使用 eclipse,我想从 gitub https://github.com/openphacts/Validator编译和运行这段代码,它需要 maven 项目来构建它,但不幸的是我不知道如何继续它。 Can someone help me how to get this project into eclipse to run it and test it in my machine please?有人可以帮助我如何将这个项目放入 eclipse 中以运行它并在我的机器上测试它吗? It's emergency这是紧急情况

Once you've checked out the project from github, you need to utilize maven to install the dependencies and build the project.从 github 签出项目后,您需要利用 maven 安装依赖项并构建项目。 In the root folder of the project (where the pom.xml is located), enter the following in your command line:在项目的根文件夹(pom.xml 所在的位置)中,在命令行中输入以下内容:

mvn install

More details can be found here: https://maven.apache.org/run-maven/更多细节可以在这里找到: https : //maven.apache.org/run-maven/

Additionally, you must first download the maven command line tool: https://maven.apache.org/download.cgi此外,您必须先下载 maven 命令行工具: https : //maven.apache.org/download.cgi

And install it: https://maven.apache.org/install.html并安装它: https : //maven.apache.org/install.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM