You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Simon Massey (JIRA)" <ji...@codehaus.org> on 2011/04/03 02:09:22 UTC

[jira] Created: (MRELEASE-670) release:prepare goal of 2.1 is tagging at the wrong level

release:prepare goal of 2.1 is tagging at the wrong level 
----------------------------------------------------------

                 Key: MRELEASE-670
                 URL: http://jira.codehaus.org/browse/MRELEASE-670
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.1
         Environment: Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-30-generic" arch: "i386" Family: "unix"
            Reporter: Simon Massey


I have a project with layout
{noformat}trunk
  |-parent
  |-moduleA
  |-moduleB
{noformat} 
whenever I do release:prepare it creates the tag as 
{noformat}project
  |-tags
     |-project-1.0.2
       |-branches
       |-tags
       |-trunk
{noformat} 
The code is in sourceforge at https://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MRELEASE-670) release:prepare goal of 2.1 is tagging at the wrong level

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

Robert Scholte closed MRELEASE-670.
-----------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

The URLs in the SCM-section of every pom.xml should match its location.
For instance: https://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk/chex4j/pom.xml
{code:xml}
<scm>
		<connection>scm:svn:https://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk
		</connection>
		<developerConnection>scm:svn:https://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk
		</developerConnection>
		<url>http://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk</url>
	</scm>
{code}
the URLs should end with {{trunk/chex4j}}
Also, I think you're missing a pom.xml under http://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk assuming you want to release the 3 modules at once.
                
> release:prepare goal of 2.1 is tagging at the wrong level 
> ----------------------------------------------------------
>
>                 Key: MRELEASE-670
>                 URL: https://jira.codehaus.org/browse/MRELEASE-670
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_20
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-30-generic" arch: "i386" Family: "unix"
>            Reporter: Simon Massey
>            Assignee: Robert Scholte
>
> I have a project with layout
> {noformat}trunk
>   |-parent
>   |-moduleA
>   |-moduleB
> {noformat} 
> whenever I do release:prepare it creates the tag as 
> {noformat}project
>   |-tags
>      |-project-1.0.2
>        |-branches
>        |-tags
>        |-trunk
> {noformat} 
> The code is in sourceforge at https://chex4j.svn.sourceforge.net/svnroot/chex4j/trunk

--
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