[ 
https://jira.codehaus.org/browse/SCM-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=336962#comment-336962
 ] 

Mark Derricutt commented on SCM-738:
------------------------------------

It would seem that maven-release-plugin by default ( even the latest release ) 
is still pulling in maven-scm-1.7 so for the majority of users they might start 
seeing this silently fail their releases ( much like I just spent the last few 
hours tracking down ).

When I update my plugin configuration do declare the new maven-scm dep it seems 
to work fine:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.4.2</version>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven.scm</groupId>
                        <artifactId>maven-scm-provider-gitexe</artifactId>
                        <version>1.8.1</version>
                    </dependency>
                </dependencies>
                ....

However, this should be addressed as a separate issue on the m-r-p project.
                
> GitStatusConsumer fails to correctly parse git 1.8.5 status output
> ------------------------------------------------------------------
>
>                 Key: SCM-738
>                 URL: https://jira.codehaus.org/browse/SCM-738
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.7
>            Reporter: Dimitri Koussa
>            Assignee: Robert Scholte
>
> GitStatusConsumer has
> {code:java}
> private static final String MODIFIED_PATTERN = "^#\\s*modified:\\s*(.*)";
> {code}
> git status output from 1.8.4.3
> {noformat}
> # On branch master
> # Changes not staged for commit:
> #   (use "git add <file>..." to update what will be committed)
> #   (use "git checkout -- <file>..." to discard changes in working directory)
> #
> #     modified:   fileAbc
> #
> no changes added to commit (use "git add" and/or "git commit -a")
> {noformat}
> git status output from 1.8.5
> {noformat}
> On branch master
> Your branch is ahead of 'origin/master' by 7 commits.
>   (use "git push" to publish your local commits)
> Changes to be committed:
>   (use "git reset HEAD <file>..." to unstage)
>       new file:   fileAbc
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to