[ http://jira.codehaus.org/browse/MINVOKER-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MINVOKER-59. ------------------------------------- Assignee: Benjamin Bentmann Resolution: Fixed Fix Version/s: 1.3 Fixed in [r688545|http://svn.apache.org/viewvc?view=rev&revision=688545]. > 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 > Assignee: Benjamin Bentmann > 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 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