Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0-beta-1
-
None
-
None
-
Patch
Description
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?