You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/05/18 16:07:10 UTC

[jira] (MPLUGINTESTING-34) Documentation: sample code using MojoRule doesn't work

     [ https://jira.codehaus.org/browse/MPLUGINTESTING-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MPLUGINTESTING-34.
---------------------------------------

    Resolution: Fixed
      Assignee: Jason van Zyl

> Documentation: sample code using MojoRule doesn't work
> ------------------------------------------------------
>
>                 Key: MPLUGINTESTING-34
>                 URL: https://jira.codehaus.org/browse/MPLUGINTESTING-34
>             Project: Maven Plugin Testing
>          Issue Type: Bug
>          Components: plugin-testing-harness
>    Affects Versions: 3.0.0
>            Reporter: Laird Nelson
>            Assignee: Jason van Zyl
>
> The cookbook reachable from https://maven.apache.org/plugin-testing/maven-plugin-testing-harness/getting-started/index.html includes code like this:
> {code:java}
> File pom = rule.getTestFile( "src/test/resources/unit/project-to-test/pom.xml" );
> {code}
> This method does not exist on {{MojoRule}} (http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/MojoRule.html).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)