[ 
https://issues.apache.org/jira/browse/MINVOKER-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958284#comment-17958284
 ] 

Olivier Lamy commented on MINVOKER-59:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-invoker-plugin#360|https://github.com/apache/maven-invoker-plugin/issues/360].
 

> Using invoker.profiles with empty value causes unintended build
> ---------------------------------------------------------------
>
>                 Key: MINVOKER-59
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-59
>             Project: Maven Invoker Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Major
>             Fix For: 1.3
>
>
> Using the property
> {noformat}
> invoker.profiles=
> {noformat}
> in {{invoker.properties}} is erroneously parsed as the one-item list [""], 
> i.e. an empty profile id, and results in a bad command line for Maven:
> {noformat}
> mvn [...] -f interpolated-pom.xml -P  validate
> {noformat}
> i.e. the {{-P}} is flag is printed and will make the following goal/phase 
> look like a profile. This in turn will invoke the POM's default goal or the 
> just fail the build.



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

Reply via email to