Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-310

compiler plugin settings aren't inherited from parent for linking Java API links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • None
    • None
    • None
    • Maven 2.2.1, maven-compiler-plugin 2.3.2

    Description

      I set my m-c-p version in my parent's pluginManagement section but did not alter source and target because I am fine with 1.5.

      Now another project references it and complains that the above setting is not available:

      [INFO] Generating "JavaDocs" report.
      [DEBUG] No maven-compiler-plugin defined in ${build.plugins} or in ${project.build.pluginManagement} for the <groupId>:url-provider-api:jar:0.1-SNAPSHOT. Added Javadoc API link according the javadoc executable version i.e.: 1.6
      [DEBUG] Found Java API link: http://java.sun.com/javase/6/docs/api/
      [DEBUG] Try to add links for dependencies...
      

      The behavior is incorrect. Either m-javadoc-p ignores the plugin's default settings or it does not merge the model.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael-o Michael Osipov
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: