Uploaded image for project: 'Maven Plugin Testing'
  1. Maven Plugin Testing
  2. MPLUGINTESTING-33

Suboptimal/unexpected plugin artifact file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • 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.

      Attachments

        Activity

          People

            igorfie igorfie
            igorf Igor Fedorenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: