The following comment has been added to this issue:

     Author: Joerg Schaible
    Created: Fri, 23 Jul 2004 11:34 AM
       Body:
But then you have to prevent people using entities or properties in a POM at all:

<version>&my-comp-version;</version>

is as evil than 

<version>${my.comp.version}</version>

Maybe it's just me, but I cannot follow the argumentation. Why does a resolved POM 
(i.e. no external references at all and all inherited tags embedded) interfere with 
that long term goal? The deployed POM would contain any information.

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1390?page=comments#action_22193

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

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0.1

   Assignee: 
   Reporter: John Casey

    Created: Thu, 22 Jul 2004 12:29 PM
    Updated: Fri, 23 Jul 2004 11:34 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to