HMAB Herath created MRELEASE-1004:
-------------------------------------

             Summary: preparationGoals scm:checkin goal comma separated list 
does not work
                 Key: MRELEASE-1004
                 URL: https://issues.apache.org/jira/browse/MRELEASE-1004
             Project: Maven Release Plugin
          Issue Type: Bug
            Reporter: HMAB Herath


I am specifying an array of files to be committed before the release plugin 
commits poms.
 
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.4</version>
<configuration>
<preparationGoals>
clean verify scm:checkin -Dmessage="[maven-release-plugin] Update version text" 
-Dincludes="tool-plugins/vscode/package.json, 
tool-plugins/vscode/package-lock.json"
</preparationGoals>
</configuration>
</plugin>
 
But this ends up commiting all the files including the poms, not just 
package.json and package-lock.json. When its just one file instead of a comma 
seperated list it works (just commits the specified file)
 
scm:checkin goal with above arguments works when specified directly. It only 
does not work when specified in preparationGoals.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to