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

lookupConfiguredMojo prefers mojo config over pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • plugin-testing-harness
    • None

    Description

      AbstractMojoTestCase#lookupConfiguredMojo incorrectly merges plugin parameter configuration defined in mojos with configuration in pom.xml. As a result, pom.xml configuration is ignored in some cases. I've attached a small standalone project to demonstrate the problem.

      Attachments

        1. mojo-config-merge.zip
          3 kB
          igorfie

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: