Intellij IDEA Community Edition - maven Property Support

When using the IDEA community version, local maven custom properties appear as errors in my pom.xml ...

eg.

<!-- bar/pom.xml --> <properties> <foo.version>1.0.0</foo.version> ... </properties> ... ... <dependencyManagement> <dependencies> <dependency> <groupId>blah.bar</groupId> <artifactId>foo-core</artifactId> <version>${foo.version}</version> </dependency> </dependencies> </dependencyManagement> 

$ {foo.version} appears in red as the "Dependency ... $ {foo.version} not found ..." error

it seems that IDEA does not resolve the property ...

nb: foo-core-1.0.0 (pom / jar) is available in my local repo

any ideas?

+4
source share
1 answer

This seems to be usually a problem: http://youtrack.jetbrains.net/issues/IDEA?q=maven+properties+red

I also have the same problem with RC 2

+2
source

Source: https://habr.com/ru/post/1347024/


All Articles