Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
In the documentation for the POM, the example includes:
<extends>${basedir}/../project.xml</extends>
which will wreak havoc on any attempts to use the pom without having the parent project's files on hand. This means that this pom is next to useless, unless we can first checkout the parent project from scm or somesuch. The scm info is in the POM, so you see a circle beginning to emerge...
We should change this example to be:
<extends>${maven.repo.local}/${pom.groupId}/poms/${pom.id}-${pom.currentVersion}.pom</extends>
where all pom.* values are filled in manually with the actual values.
Issue Links
- is depended upon by
-
NANO-135
M2 compatibility
-
- is related to
-
MAVEN-1393
Add the possibility to use parent pom present in repo
-
- relates to
-
MAVEN-699
add a posibility to extend a project by specifying it's groupId, artifactId and version
-
-
MPARTIFACT-49
pom:install should produce a temporary standalone POM to copy to repo
-
And how would you develop in a multiproject? If someone checks out from the repository, he has no "parent" pom in the local repo, nor is it copied there.