Using invoker.profiles with empty value causes unintended build
---------------------------------------------------------------
Key: MINVOKER-59
URL: http://jira.codehaus.org/browse/MINVOKER-59
Project: Maven 2.x Invoker Plugin
Issue Type: Bug
Affects Versions: 1.2.1
Reporter: Benjamin Bentmann
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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira