GitHub user imod opened a pull request:

    https://github.com/apache/maven-scm/pull/17

    MRELEASE-875

    Even though I have commit rights myself, I would like to have other to take 
a look at this first.
    This PR fixes an issue voted my a couple of people 
https://jira.codehaus.org/browse/MRELEASE-875
    The fix will allow to do a release of artifacts/repos not having a pom.xml 
in the root of the git-repository.
    
    given the follwing directory layout:
    
    ```
    .git
    subdir1/
    subdir1/subdir2/pom.xml
    subdir1/subdir2/module1/pom.xml
    ```
    the following will be possible:
    in subdir2:
    ```
    $ mvn -f pom.xml release:prepare release:perform 
    ```
    in subdir1:
    ```
    $ mvn -f subdir2/pom.xml release:prepare release:perform 
    ```
    in root dir:
    ```
    $ mvn -f subdir1/subdir2/pom.xml release:prepare release:perform 
    ```


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/maven-scm MRELEASE-875

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-scm/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit f0cd09867281e74d2ec2436dc786f45c5faca4c7
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T10:39:33Z

    add test repositories to test MRELEASE-875

commit 2e7cf44594dc2b37338ec386962856e49202b98b
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T10:53:47Z

    add functionality to reset the the basedir of a ScmFileSet for GitCommands

commit 0128678ec0fce56b353f7fbe1e24beda0c183693
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T11:00:15Z

    implement new method from interface on all GitCommands

commit bea863c42c525e90daa818765bbf38a9d1d4420d
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T11:06:17Z

    add test case for MRELEASE-875

commit 5f63b0aa380ea3cd42aeda9ccc22fed07bbe609a
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T11:11:28Z

    document the intended different working directory

commit b8472f8485963da57992576efa5a10180adf4697
Author: imod <d...@fortysix.ch>
Date:   2014-07-20T11:56:57Z

    somehow the compiler does not like this @Override

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to