maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laird Nelson (JIRA)" <j...@codehaus.org>
Subject [jira] (MPLUGINTESTING-34) Documentation: sample code using MojoRule doesn't work
Date Sun, 05 Jan 2014 20:29:45 GMT
Laird Nelson created MPLUGINTESTING-34:
------------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message