You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/05/07 15:29:13 UTC
[jira] Closed: (MNG-4669) Adjust the expected message string in
MavenITmng2690MojoLoadingErrorsTest
[ http://jira.codehaus.org/browse/MNG-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4669.
----------------------------------
Resolution: Fixed
Assignee: Benjamin Bentmann
Applied in [r942067|http://svn.apache.org/viewvc?rev=942067&view=rev]. Despite log scrapping being generally very fragile, it's sometimes the only to verify user experience...
> Adjust the expected message string in MavenITmng2690MojoLoadingErrorsTest
> -------------------------------------------------------------------------
>
> Key: MNG-4669
> URL: http://jira.codehaus.org/browse/MNG-4669
> Project: Maven 2 & 3
> Issue Type: Wish
> Components: Integration Tests
> Affects Versions: 3.0-beta-1
> Reporter: Stuart McCulloch
> Assignee: Benjamin Bentmann
> Priority: Minor
> Attachments: MavenITmng2690MojoLoadingErrorsTest_Message.patch
>
>
> The current MavenITmng2690MojoLoadingErrorsTest expects the following message:
> "(?i).*required class was missing during (mojo )?configuration.*"
> in the mvn output when executing a mojo with a field that has a missing class.
> This pattern does not quite match the error when running with Guice, because Guice detects the missing class slightly earlier (before Maven configuration) while scanning the declared fields for @Inject annotations.
> The following pattern matches both Plexus and Guice error messages:
> "(?i).*required class (i|wa)s missing( during (mojo )?configuration)?.*"
> any chance the attached patch could be applied to the MavenITmng2690MojoLoadingErrorsTest?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira