You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2007/04/26 16:50:28 UTC

[jira] Commented: (MRELEASE-222) Wrong default tag name when used in a reactor environment

    [ http://jira.codehaus.org/browse/MRELEASE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94222 ] 

Emmanuel Venisse commented on MRELEASE-222:
-------------------------------------------

The comment was that all your projects don't use the same parent and the release plugin choose the first project in the list instead of the root directory in the reactor list.

> Wrong default tag name when used in a reactor environment
> ---------------------------------------------------------
>
>                 Key: MRELEASE-222
>                 URL: http://jira.codehaus.org/browse/MRELEASE-222
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-4
>            Reporter: Stefano Bagnara
>            Assignee: Emmanuel Venisse
>            Priority: Critical
>             Fix For: 2.0-beta-5
>
>
> In JAMES project we have this structure <folder> (<artifactid>):
> root (james-project)
> - maven-skin (maven-skin)
> - server (james-server-root)
>   - 2.2.0 (james-server-site-2-2-0)
> All of them are in the org.apache.james groupId.
> The main project have a site.xml declaring "maven-skin" as its own skin.
> You can look at the real current poms here:
> http://svn.apache.org/viewvc/james/project/trunk/pom.xml?revision=524429&view=markup
> http://svn.apache.org/viewvc/james/project/trunk/maven-skin/pom.xml?revision=451625&view=markup
> http://svn.apache.org/viewvc/james/project/trunk/server/pom.xml?revision=475214&view=markup
> http://svn.apache.org/viewvc/james/project/trunk/server/2.2.0/pom.xml?revision=451625&view=markup
> When I try to run "mvn release:prepare -DdryRun=true" it ask me the following:
> -----
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "JAMES Skin"? (org.apache.james:maven-skin) 1.1: :
> What is the release version for "Apache JAMES Project"? (org.apache.james:james-project) 1.1: :
> What is the release version for "JAMES Server"? (org.apache.james:james-server-root) 1.0: :
> What is the release version for "JAMES Server 2.2.0 Documentation"? (org.apache.james:james-server-site-2-2-0) 1.0: :
> What is SCM release tag or label for "JAMES Skin"? (org.apache.james:maven-skin) maven-skin-1.1: :
> What is the new development version for "JAMES Skin"? (org.apache.james:maven-skin) 1.2-SNAPSHOT: :
> What is the new development version for "Apache JAMES Project"? (org.apache.james:james-project) 1.2-SNAPSHOT: :
> What is the new development version for "JAMES Server"? (org.apache.james:james-server-root) 1.1-SNAPSHOT: :
> What is the new development version for "JAMES Server 2.2.0 Documentation"? (org.apache.james:james-server-site-2-2-0) 1.1-SNAPSHOT: :
> -----
> Why do it asks me the SCM release tag for "JAMES Skin" and not for James project?
> Why my james-project pom.xml was:
>     <url>http://svn.apache.org/viewvc/james/project/trunk</url>
> and in the pom.xml.tag I find
>     <url>http://svn.apache.org/viewvc/james/project/tags/maven-skin-1.1</url>
> The urls for the sub modules pom.xml.tag are instead correct.

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