What are all the jars in External Library section in intellij maven project -
so on left hand side of intellij,i have project collapsable element , beneath external libraries section. i'm not sure jars in section.
for instance, of jars - first few of them highlighted (library home) in brackets written it. see different kind of directory (different icon) called < 1. 7 > path in brackets well. inside it, has many jars saying library home. i've different kind of icon directories structure maven: group-id:artifact-id:version.
i'm confused why of these maven , others library home, , how got there in first place.
googling libraries in intellij floods result related how add 3rd party library intellij project, not interested in.
the ones called < 1.7 >
core libraries java sdk (version 7 in case).
the ones (library home) set via project structure
- ctrl + alt + shift + s.
in project structure can define jars or directories in project settings
-> libraries
or platform settings
-> global libraries
. these configure libraries project-specific or global projects.
from there, need go in project settings
-> modules
, configure libraries configured module (use green +
sign on right side add them).
when library assigned module in way, see appear under external libraries
. likewise, can use minus -
remove them.
lastly, maven style depenencies picked automatically <dependencies>
section of pom.xml
(ensure maven auto-import on, stay date).
Comments
Post a Comment