2

How can you set up dependencies (the jar files that we usually grab from maven repository) in intellij, without using a build automation tool? Do u download them and install them in you're desktop and somehow connect them to the project you're working on in intellij or you're IDE of choice?

5
  • 2
    Why would you like to do that? Commented Jul 26, 2022 at 18:23
  • Add the jars to the module dependencies: jetbrains.com/help/idea/…. IntelliJ IDEA can download and set up dependencies from Maven even in the non-Maven project. They will be stored locally in the directory that you specify. Related help sections: jetbrains.com/help/idea/library.html#define-a-project-library jetbrains.com/help/idea/…. Does it help? Commented Jul 26, 2022 at 18:24
  • The reason why is important. Is this due to company policy? Or a restricted environment? Commented Jul 26, 2022 at 20:52
  • @CrazyCoder yes i think that's what i'm looking for. thanks, also it was mainly out of curiosity since i'm learning this stuff. Commented Jul 27, 2022 at 20:45
  • @ThorbjørnRavnAndersen it was out of curiosity since i'm learning, but i already got an answer. Commented Jul 27, 2022 at 20:47

1 Answer 1

1

IntelliJ IDEA has a feature that allows to add a library from Maven into the project that is not using Maven. It will download the jars for you. You can also download the files manually and add them to the module dependencies from the disk.

add library from Maven

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.