You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yves Langisch (JIRA)" <ji...@codehaus.org> on 2012/09/19 13:38:21 UTC

[jira] (MRELEASE-795) Wrong level when using release:branch

Yves Langisch created MRELEASE-795:
--------------------------------------

             Summary: Wrong level when using release:branch 
                 Key: MRELEASE-795
                 URL: https://jira.codehaus.org/browse/MRELEASE-795
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: branch
    Affects Versions: 2.3.2
            Reporter: Yves Langisch
         Attachments: Align_baseUrl_.patch

My project has different modules that reference a parent which is in its own folder. SCM part is as follows:


    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>

When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

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

        

[jira] (MRELEASE-795) Wrong level when using release:branch

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MRELEASE-795:
------------------------------------

    Description: 
My project has different modules that reference a parent which is in its own folder. SCM part is as follows:

{code:xml}
    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>
{code:xml}

When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

  was:
My project has different modules that reference a parent which is in its own folder. SCM part is as follows:


    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>

When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

    
> Wrong level when using release:branch 
> --------------------------------------
>
>                 Key: MRELEASE-795
>                 URL: https://jira.codehaus.org/browse/MRELEASE-795
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.3.2
>            Reporter: Yves Langisch
>         Attachments: Align_baseUrl_.patch
>
>
> My project has different modules that reference a parent which is in its own folder. SCM part is as follows:
> {code:xml}
>     <scm>
>         <connection>scm:svn:http://blabla.com/trunk/parent</connection>
>         <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
>         <url>http://blabla.com/trunk/parent</url>
>     </scm>
> {code:xml}
> When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.
> I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

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

        

[jira] (MRELEASE-795) Wrong level when using release:branch

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MRELEASE-795:
------------------------------------

    Description: 
My project has different modules that reference a parent which is in its own folder. SCM part is as follows:

{code:xml}
    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>
{code}

When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

  was:
My project has different modules that reference a parent which is in its own folder. SCM part is as follows:

{code:xml}
    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>
{code:xml}

When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

    
> Wrong level when using release:branch 
> --------------------------------------
>
>                 Key: MRELEASE-795
>                 URL: https://jira.codehaus.org/browse/MRELEASE-795
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.3.2
>            Reporter: Yves Langisch
>         Attachments: Align_baseUrl_.patch
>
>
> My project has different modules that reference a parent which is in its own folder. SCM part is as follows:
> {code:xml}
>     <scm>
>         <connection>scm:svn:http://blabla.com/trunk/parent</connection>
>         <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
>         <url>http://blabla.com/trunk/parent</url>
>     </scm>
> {code}
> When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.
> I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

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

        

[jira] (MRELEASE-795) Wrong level when using release:branch

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-795.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Robert Scholte

I've done a sync between the {{RewritePomsForBranchPhase}} with {{RewritePomsForReleasePhase}} together with all the available JUnit tests, which were still missing for the {{RewritePomsForBranchPhase}}.
Fixed in [1391497|http://svn.apache.org/viewvc?rev=1391497&view=rev]
Thanks!
                
> Wrong level when using release:branch 
> --------------------------------------
>
>                 Key: MRELEASE-795
>                 URL: https://jira.codehaus.org/browse/MRELEASE-795
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.3.2
>            Reporter: Yves Langisch
>            Assignee: Robert Scholte
>             Fix For: 2.4
>
>         Attachments: Align_baseUrl_.patch
>
>
> My project has different modules that reference a parent which is in its own folder. SCM part is as follows:
> {code:xml}
>     <scm>
>         <connection>scm:svn:http://blabla.com/trunk/parent</connection>
>         <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
>         <url>http://blabla.com/trunk/parent</url>
>     </scm>
> {code}
> When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.
> I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

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