Red squiggly line in Maven dependency list in IntelliJ - where to start debugging?

I am getting a red squiggly line under maven dependency before play-services-maps

, a library installed locally with the M2 repository supplied with the Android SDK. I have configured it as a local repository in maven. The dependency is resolved when I look at the XML file, but the "Maven projects" tab shows differently and the project doesn't compile (no classes from AAR found).

Where do I even start looking for the error? Why is it not presenting a short line error message?

Intellij

I looked idea.log

, but nothing. The dependency graph looks good too:

dependency graph

Any hints?

I am using IntelliJ 14.1.2

edit: After running mvn install

from the command line, I figured out that it was trying to get the dependency as .jar. It is .aar, so adding <type>aar</type>

the dependencies to the spec fixed it

+3


source to share


2 answers


Run mvn install

from the command line or directly from IntelliJ to view the details. Or you can try to hover over the module ...



enter image description here

+2


source


The only solution that woke me up was to download the .jar file of dependencies, putting it directly into the project. Dependency changed to:



    <dependency>
        <groupId>bad.robot</groupId>
        <artifactId>simple-excel</artifactId>
        <version>1.0</version>
        <scope>test</scope>
        <systemPath>${project.basedir}/resources/libs/simple-excel-1.0.jar</systemPath>
    </dependency>

      

0


source







All Articles