Inspections (IntelliJ IDEA) with Maven not finding dependencies
When attempting to run IDEA inspections in Teamcity 2017.2.3, with a project file type of Maven, it's failing to pull in all of the project dependencies with warnings such as:
[15:56:01][Step 2/2] Please configure library 'Maven: org.bouncycastle:bcprov-jdk15on:1.54' which is used in module 'eiger_suggest'
[15:56:01][Step 2/2] Please configure library 'Maven: commons-codec:commons-codec:1.10' which is used in module 'eiger_suggest'
[15:56:01][Step 2/2] Please configure library 'Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.3' which is used in module 'eiger_suggest'
[15:56:01][Step 2/2] Please configure library 'Maven: io.dropwizard.metrics:metrics-core:3.1.0' which is used in module 'eiger_suggest'
Unfortunately, because it doesn't pull in any of the dependencies, it's failing hundreds of Spring inspections with failed declarations.
I've already configured the system.path.macro.MAVEN.REPOSITORY variable which seems to be mandatory and contains all of the dependencies, but it's still failing to pick any of them up.
Any help is much appreciated.
Please sign in to leave a comment.
Hi Knott,
sorry for the delay. Could you send us the full build log, along with a screenshot of the build step configuration using the "Submit a request" button above?
Sorry for the delay my end, I didn't get a notification that anyone had responded. I've just submitted a request.