Fix detection of JDK requirement
--------------------------------

                 Key: MPLUGIN-79
                 URL: http://jira.codehaus.org/browse/MPLUGIN-79
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: Plugin Plugin
            Reporter: Benjamin Bentmann
            Priority: Trivial
         Attachments: jdk-requirement.patch

- {{getPluginArtifactMap()}} returns {{Map<String, Artifact>}} while 
{{Map<String, Plugin>}} is required for {{discoverJdkRequirementFromPlugins()}}
- The [Maven Compiler 
Plugin|http://maven.apache.org/plugins/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?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to