You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/23 09:05:15 UTC

[jira] Updated: (MAVEN-1390) POM example doco is non-portable

The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Thu, 23 Sep 2004 3:03 AM
    Changes:
             environment changed to 
             priority changed to Blocker
             Fix Version changed to 1.1
             Fix Version changed from 1.0.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1390?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1390

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1390
    Summary: POM example <extends> doco is non-portable
       Type: Improvement

     Status: Unassigned
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.1

   Assignee: 
   Reporter: John Casey

    Created: Thu, 22 Jul 2004 12:29 PM
    Updated: Thu, 23 Sep 2004 3:03 AM

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.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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