You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2020/10/27 19:05:00 UTC
[jira] [Created] (MINVOKER-271) Setup tasks and running specific
tests
Slawomir Jaranowski created MINVOKER-271:
--------------------------------------------
Summary: Setup tasks and running specific tests
Key: MINVOKER-271
URL: https://issues.apache.org/jira/browse/MINVOKER-271
Project: Maven Invoker Plugin
Issue Type: Dependency upgrade
Reporter: Slawomir Jaranowski
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.3.4#803005)