Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Patch
Description
- getPluginArtifactMap() returns Map<String, Artifact> while Map<String, Plugin> is required for discoverJdkRequirementFromPlugins()
- The Maven Compiler Plugin has a fixed default value for "target", the current JDK version is irrelevant.
Last but not least: Why is discoverJdkRequirementFromPlugins() iterating over a map searching for a key? Wouldn't pluginsAsMap.get("org.apache.maven.plugins:maven-compiler-plugin") just do fine?