Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Plugin descriptor of the mojo execution returned by AbstractMojoTestCase#newMojoExecution "comes" from an artifact that has file pointing at test project basedir. This is incorrect and causes problems for mojos that make assumptions about their plugin artifact contents at runtime.
Plugin artifact file should either be target/classes or actual plugin jar, depending on the test plugin is packages during the test.