Monday, 15 July 2013

Add source repositories for "Search in internet" in IDEA -



Add source repositories for "Search in internet" in IDEA -

when source of artifact can't found, thought proposes "search in internet" or "attach sources". there way add together new location repositories thought checks when choosing "search in internet" option?

essentially, need add together repositories intellij idea's "index maven repositories" indexed these types of proposals. depending on type of project (maven, gradle, ant, lein, sbt), best reply different. in maven, edit pom.xml file. in gradle, edit build.gradle file. don't know build scheme want utilize (or if want one).

if projects maven projects, can @ maven documentation see how add together maven repository in settings.xml file. on project project basis, can add together repository pom.xml file instead.

similarly, if you're using gradle @ gradle's documentation (section 8.5) add together maven repo projects build.gradle file.

once intellij thought updates indices, check repositories project configured utilize artifacts when makes proposals.

intellij-idea

No comments:

Post a Comment