Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.2, 1.1-beta-1, 1.1-beta-2, 1.1-beta-3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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.
Activity
Manfred Mayer
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MAVEN-1726.txt [ 17619 ] |
Brett Porter
made changes -
| Priority | Blocker [ 1 ] | |
| Fix Version/s | 1.1-beta-3 [ 11989 ] | |
| Description |
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. |
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. |
| Environment |
Arnaud Heritier
made changes -
| Affects Version/s | 1.1-beta-1 [ 11371 ] | |
| Affects Version/s | 1.0.2 [ 11343 ] | |
| Affects Version/s | 1.1-beta-3 [ 11989 ] | |
| Affects Version/s | 1.1-beta-2 [ 10211 ] |
Brett Porter
made changes -
| Workflow | Maven [ 42185 ] | Maven New [ 50613 ] |
Arnaud Heritier
made changes -
| Priority | Blocker [ 1 ] | Minor [ 4 ] |
Arnaud Heritier
made changes -
| Fix Version/s | 1.0.1 [ 10831 ] |
Arnaud Heritier
made changes -
| Fix Version/s | 1.1-beta-3 [ 11989 ] | |
| Fix Version/s | 1.1-beta-4 [ 12553 ] |
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.