The following comment has been added to this issue:

     Author: Brett Porter
    Created: Fri, 7 May 2004 6:50 PM
       Body:
not sure this covers all cases - what if the property was defined in a parent 
directory? Will need to set up some tests, probably want to resolve these values in 
the context like for MAVEN_REPO_LOCAL etc
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1254&page=comments#action_19508

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1254

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1254
    Summary: artifact relative path not correctly computed when override is on
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-rc3
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: gilles dodinet

    Created: Sun, 2 May 2004 10:56 AM
    Updated: Fri, 7 May 2004 6:50 PM

Description:
line 77 in ArtifactListBuilder is :
artifact.setPath( new File( mavenJarProperty ).getAbsolutePath() );

this assumes project.xml is located in user.dir. thus if running from elsewhere, we 
have to explicitely change, then restore, user.dir property. 

i think this should be corrected by something like : 
artifact.setPath( new File( project.getFile().getParentFile(), mavenJarProperty 
).getAbsolutePath() );


-- gd



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