[ https://issues.apache.org/jira/browse/MRELEASE-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-1004: ------------------------------------- Description: I am specifying an array of files to be committed before the release plugin commits poms. {code:xml} <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> {code} 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}}. was: 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. > 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 > Priority: Major > > I am specifying an array of files to be committed before the release plugin > commits poms. > {code:xml} > <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> > {code} > 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)