You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Manfred Mayer (JIRA)" <ji...@codehaus.org> on 2005/11/17 14:07:06 UTC

[jira] Commented: (MAVEN-1726) CLONE -Add the possibility to use parent pom present in repo

    [ http://jira.codehaus.org/browse/MAVEN-1726?page=comments#action_51220 ] 

Manfred Mayer commented on MAVEN-1726:
--------------------------------------

For the extend tag the extend of a pom should be possible like this <extend>${maven.repo.local}/aGroupId/poms/anArtifactId-version.pom</extend>.
I think this would be a nice feature extension for Maven 1.1. 
I created a patch for the current 1.1-beta3-SNAPSHOT, which parses the string in <extend>${maven.repo.local}/aGroupId/poms/anArtifactId-version.pom</extend>
and tries to download "aGroupId/poms/anArtifactId-version.pom" with the common artifact-download-mechanism from the specified remote repositories to the local repository. It also supports the SNAPSHOT mechanism, and works fine.

IMHO this change is not very invasive, because it only becomes active, if the specified parent pom cannot be found.

> CLONE -Add the possibility to use parent pom present in repo
> ------------------------------------------------------------
>
>          Key: MAVEN-1726
>          URL: http://jira.codehaus.org/browse/MAVEN-1726
>      Project: Maven
>         Type: New Feature
>     Reporter: Manfred Mayer
>      Fix For: 1.0.1

>
>
> For the extend tag, we can support http protocol, or another syntax like this <extend>${repo}/aGroupId/poms/anArtifactId-version.pom</extend>. Personally, I prefer the second solution.
> With this features, users can share default pom parameter between all their projects, and it prepare the introduction of pom V4.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org