Yulia Kentieva
Yulia Kentieva

Reputation: 710

How to import BOTH Git repository and Maven dependencies to Eclipse?

I am trying to run this tool.

It says that the jar is available on Maven. I created a Maven project in Eclipse and added dependencies in pom.xml. At the same time, I cloned the git repository to Eclipse, but then I have 2 separate projects: one is the Maven project with dependencies and another is cloned git.
Is it possible to combine them? Are there any other ways to install and run a project from github with Maven dependencies?

I checked similar questions but they resolve either Maven or GitHub importing which I know how to do. I am having problems with doing both in one eclipse project.

Thank you.

UPD: I want to inspect Reach tool to see if it fits my research purposes

Upvotes: 1

Views: 450

Answers (1)

Emmanuel Chebbi
Emmanuel Chebbi

Reputation: 466

According to the README it's a standard SBT project, so if you want to import it in Eclipse IDE I would advise to use the Scala IDE (Eclipse plug-in) and sbtclipse (plug-in for SBT).

That being said, the Scala IDE is not maintained anymore so it may be easier to use SBT support in IntelliJ instead.

Anyway you have to clone the git repository locally. From Eclipse IDE you can import it afterwards, see sbtclipse's README.

Upvotes: 1

Related Questions