You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2023/04/25 18:15:00 UTC

[jira] [Closed] (MNG-7444) Multiple optional non-existing projects not logged correctly

     [ https://issues.apache.org/jira/browse/MNG-7444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Mulders closed MNG-7444.
--------------------------------
    Fix Version/s: 4.0.0-alpha-6
       Resolution: Fixed

> Multiple optional non-existing projects not logged correctly
> ------------------------------------------------------------
>
>                 Key: MNG-7444
>                 URL: https://issues.apache.org/jira/browse/MNG-7444
>             Project: Maven
>          Issue Type: Bug
>          Components: Reactor and Workspace
>         Environment: Apache Maven 4.0.0-alpha-1-SNAPSHOT (31193cbf0c93205a63c8c7b372b09200f60e69f4)
>            Reporter: Maarten Mulders
>            Priority: Trivial
>              Labels: up-for-grabs
>             Fix For: 4.0.0-alpha-6
>
>         Attachments: image-2023-04-26-00-48-51-379.png
>
>
> Run {{mvn -pl \?:a,\?:b validate}} (escaping necessary on POSIX compliant shells, Windows doesn't need it) on a project that does not have a module {{:a}} and {{:b}}.
> Expected:
> {code}
> [INFO] Could not find the selected project(s) in the reactor: :a, :b
> {code}
> Actual:
> {code}
> [INFO] Could not find the selected project in the reactor: :a
> {code}
> The output of {{mvn -help}} with regards to {{-pl}}:
> {quote}Comma-delimited list of specified reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path. Prefixing a project with ! excludes it, and ? marks it as optional{quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)