Strange syntax highlight in pom.xml

Answered

Hi Team,

Does anyone know why IntelliJ IDEA highlights custom plugin configuration tag 'postgresql' in pom.xml as a problem?

We use maven-invoker-plugin for custom maven plugin. In project's directory for tests it has a set of subdirectories. Each of subdirectory has its own pom.xml. The tag 'postgresql' is a tag in our plugin configuration. And it is highlighted as a problem with suggestion to insert namespace prefix. Meantime no issue with tag 'oracle'. Both `mvn install` via command line, and via IDE go normally.

Actually pom.xml it looks like below where postgresql is highlighted with red.

...
<configuration>
<postgresl>
...
</postgresl>
</configuration>
...

 

Best regards,

Kostyantyn

 

IntelliJ IDEA 2018.2 (Ultimate Edition)
Build #IU-182.3684.101, built on July 24, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

0
1 comment

Update

After some `mvn clean install` executions the issue has been resolved.

It looks like IntelliJ IDEA checks plugin for valid configuration tags but without a rush.

 

Best regards,

Kostyantyn

0

Please sign in to leave a comment.