Why is there so many maven plugins/code not recognised by IDEA?
A lot of code is red in the pom files but there is no problem running the goals... E.g code like this..:
<build>
<defaultGoal>compile</defaultGoal>
<directory>target</directory>
<outputDirectory>target/classes</outputDirectory> red
<finalName>${artifactId}-${version}</finalName>
<testOutputDirectory>target/test-classes</testOutputDirectory> red
<sourceDirectory>src/main/java</sourceDirectory> red
<scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> red
<testSourceDirectory>src/test/java</testSourceDirectory> red
......
</build>
Shows that much red code... Am I missing something or isn't the maven support in IDEA any good?
Regards,
BTJ
Please sign in to leave a comment.
It is probably red because you are redefining the default values to themselves and these entries are not needed.
No, that's not it... IDEA is complaining about "Can not resolve directory..." And nevertheless, IDEA should not show code as red just because I am redefining default values to themselves...
And also, IDEA does not recognise code like this as well..:
IDEA says " Plugin '<name>' not found..."
But IDEA finds some plugins,not sure what's the difference?
BTJ