[ http://jira.codehaus.org/browse/MNG-1263?page=comments#action_51812 ] 

Christian Schulte commented on MNG-1263:
----------------------------------------

This is not only a problem of the release plugin its also a problem with 
inheritance in Maven 2 in general. Its completely ignoring relative path 
settings during inheritance when building SCM-URLs and URLs.  Looking at 
org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler it seems 
the following assumptions have been made:

1. The artifactId is always the same as the directory-name holding the artifact
2. The parent "lives" always one level up in the hierarchy

So no matter what relative path settings are specified they are ignored in that 
class which builds various paths during inheritance. I am currently thinking 
about fixing this class but I would need some guidance to not break anything 
since I do not know what assumptions have been made further and if it is really 
only this class to fix.

A workaround for this problem is to not inherit things build from this class by 
e.g. specifying the SCM-URLs inside every pom and do not let maven build them 
for you during inheritance which holds true also for URLs.

Would it lead to problems if this class would support the relative paths 
without changing anything else ?


> Multiproject Release: No check in
> ---------------------------------
>
>          Key: MNG-1263
>          URL: http://jira.codehaus.org/browse/MNG-1263
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Versions: 2.0
>  Environment: Windows XP, Eclipse Workspace
>     Reporter: Bernd Mau
>     Priority: Critical

>
>
> I tried to release a multiproject with 5 modules (on a Branch). Well,
> the POMs of all modules are changed and there are some dependencies
> which have been updated correctly. But only the master has been checked
> in correctly.
> I'm changed the recommended layout, to fit in an eclipse workspace. I
> have one master at the same level as the other modules.
> The module section of the master pom.xml:
>   <modules>
>     <module>../hhla.library.pom</module>
>     <module>../hhla.library.site</module>
>     <module>../hhla.lang</module>
>     <module>../hhla.common.log4jx</module>
>   </modules>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to