You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/10/30 19:19:58 UTC

[jira] [Closed] (MPH-97) [Patch] maven-help-plugin does not build with latest version of maven-plugin-testing-harness

     [ https://issues.apache.org/jira/browse/MPH-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MPH-97.
-----------------------------
    Resolution: Fixed

This has been implicitly fixed with [r1634183|http://svn.apache.org/r1634183].

> [Patch] maven-help-plugin does not build with latest version of maven-plugin-testing-harness
> --------------------------------------------------------------------------------------------
>
>                 Key: MPH-97
>                 URL: https://issues.apache.org/jira/browse/MPH-97
>             Project: Maven Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Mat Booth
>            Assignee: Kristian Rosenvold
>             Fix For: 2.2.1
>
>         Attachments: allow-building-with-latest-maven-plugin-testing.patch
>
>
> When building with the latest version of maven-plugin-testing-harness, the build fails with the following error:
> {code}
> [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
> {code}
> (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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)