The following issue has been updated:

    Updater: Brett Porter (mailto:[EMAIL PROTECTED])
       Date: Wed, 26 May 2004 8:50 AM
    Comment:
you're right this can't be done at the moment.

However, the reason you are seeing the repository always set to a specific value is 
most likely because it is set as such in ~/build.properties which overrides everything.
    Changes:
             Fix Version changed to 1.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

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

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1292
    Summary: maven.repo.local cannot be set with a relative directory to basedir
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

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

   Assignee: 
   Reporter: Michael Mattox

    Created: Mon, 24 May 2004 10:43 AM
    Updated: Wed, 26 May 2004 8:50 AM
Environment: windows 2000, jdk 1.4.2

Description:
I can set maven.repo.local to a full directory path and it works fine:

maven.repo.local=D:/projects/MDSP/eclipse/sources/cs-repository

if I change it to:

maven.repo.local=${basedir}/cs-repository

it looks for the repository in my project's directory, which is expected.  however, if 
I put:

maven.repo.local=${basedir}/../cs-repository

it ends up creating a new repository in my home/.maven/plugins directory:

C:\Documents and Settings\mmattox\.maven\plugins

I have no idea why the ".." puts it there but it should resolve the relative directory.

Michael





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