IntelliJ seems to incorrectly mark Maven element as not allowed?
Hello,
I've been trying to setup a multi-module project and I got stuck on an issue that I can't seem to fix.
I currently use the Maven Shade Plugin, what I do is I configure the plugin in the parent POM inside the pluginManagement element and I add an execution with an id element. Now that I have that I expect to be able to grab that execution by the id element that I specified in the parent POM and modify it in the child, my expectations were wrong. IntelliJ is marking the artifactSet as not allowed because I don't have a shade goal in the child POM (I have one specified in the parent POM, which I expect to be inherited), but even though it marks artifactSet as not allowed, it works fine when I build the project.
When I use mvn help:effective-pom it shows me the POM I was expecting, so I don't know why IntelliJ is doing it.
Please sign in to leave a comment.
Possibly related issues:
https://youtrack.jetbrains.com/issue/IDEA-93855
https://youtrack.jetbrains.com/issue/IDEA-153957
https://youtrack.jetbrains.com/issue/IDEA-104839