S
S
Stanislav2019-02-26 15:32:43
Java
Stanislav, 2019-02-26 15:32:43

IntelliJ IDEA + Maven: how to move an external dependency into a project?

The point is this. There is a project written in Java. Used by Maven. It has an external dependency for which the project is essentially a wrapper. As a result, the project itself lives in its own folder, and the external dependency is placed in the "C:\Users\Stas\.m2\" folder as a compiled jar. There was a need to edit the code of this dependency, and at least see its code as a result within the project in IntelliJ IDEA.
What is the most correct way to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yurii Nekrasov, 2019-03-07
@lamo4ok

Seeing the code is no problem. The Project window contains the External Libraries group. Search your library and see. With "rule" is more difficult. Open source library? If so, download the repository with it and edit. Then compile and use. If not, you need a decompiler to *.java. Then edit again, compile and use

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question