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 2003/06/30 02:09:55 UTC

[jira] Commented: (MAVEN-522) Clarification of POM elements that use paths.

The following comment has been added to this issue:

     Author: Brett Porter
    Created: Sun, 29 Jun 2003 7:09 PM
       Body:
The elements in question are:
<extend>
<*sourceDirectory> (ie includeing unit tests, etc)
<directory> (under <resource>)

Indication from discussion on the mailing list is this:
- all paths in project.xml should not use ${basedir}, and should be considered relative to project.xml. There is no need to have any absolute paths.
- all properties that specify files and use of files in maven.xml will have to have ${basedir} or absolute paths as there is no way to track CWD from there, or to know which properties are files.

One other element of concern is <targetDirectory> within <resource>, as it is relative to another base. For now, clear documentation will have to suffice unless a better idea emerges.

I'm ready to work on this as soon as the refactoring of Project lands.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-522


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-522
    Summary: Clarification of POM elements that use paths.
       Type: Task

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven

   Assignee: 
   Reporter: Jason van Zyl

    Created: Sat, 28 Jun 2003 8:13 AM
    Updated: Sat, 28 Jun 2003 8:13 AM

Description:
Currently there are several elements in the POM that use paths in order to find various resources. The currently accepted pattern is to use ${basedir} as a prefix for all these paths so that they work in the reactor environment. We can certainly identify all the elements in the POM that are path related. We need to decide whether to mandate the use of ${basedir} or make it implicit in POM elements that store paths. Once this is decided the plugins all need to be audited to ensure they follow the pattern we mandate.


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