Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-97

[Patch] maven-help-plugin does not build with latest version of maven-plugin-testing-harness

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      When building with the latest version of maven-plugin-testing-harness, the build fails with the following error:

      [ERROR] /home/mbooth/fedora/maven-help-plugin/src/test/java/org/apache/maven/plugins/help/HelpUtilTest.java:[54,31] container has private access in org.apache.maven.plugin.testing.AbstractMojoTestCase
      

      (This error can be reproduced by bumping the version of the maven-plugin-testing-harness dependency to 2.1)

      The attached patch changes HelpUtilTest.java to properly use the the getContainer() accessor instead of using the container member directly. It is not necessary to bump the version of the maven-plugin-testing-harness dependency with this patch, as even with the patch applied, it still builds successfully with maven-plugin-testing-harness 1.2.

        Attachments

          Activity

            People

            • Assignee:
              krosenvold Kristian Rosenvold
              Reporter:
              mbooth Mat Booth
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: