Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-271

Setup tasks and running specific tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None

    Description

      When we have in project configureĀ <setupIncludes> and try to use -Dinvoker.test according to documentation setupIncludes is overriding ... but empty directory with setup project is created and setup project is executed so we have error like:

      ERROR]   The project  (.../target/it/setup/pom.xml) has 1 error
      [ERROR]     Non-readable POM .../target/it/setup/pom.xml: .../target/it/setup/pom.xml (No such file or directory)
      

      I see two solution:

      • don't create empty setup project and don't run it if doesn't match invoker.test
      • run setup project always - no override setupIncludes

      Attachments

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: