[ https://issues.apache.org/jira/browse/MINVOKER-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958238#comment-17958238 ]
Olivier Lamy commented on MINVOKER-271: --------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-invoker-plugin#313|https://github.com/apache/maven-invoker-plugin/issues/313]. > Setup tasks and running specific tests > -------------------------------------- > > Key: MINVOKER-271 > URL: https://issues.apache.org/jira/browse/MINVOKER-271 > Project: Maven Invoker Plugin (Moved to GitHub Issues) > Issue Type: Bug > Reporter: Slawomir Jaranowski > Assignee: Sylwester Lachiewicz > Priority: Major > Fix For: 3.3.0 > > > 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: > {code} > 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) > {code} > 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}} -- This message was sent by Atlassian Jira (v8.20.10#820010)