The following comment has been added to this issue:

     Author: thierry lach
    Created: Thu, 10 Jun 2004 10:10 AM
       Body:
Please don't close this out without addressing it.

I've been trying to do this as part of a build validation process.  Part of the 
validation is to ensure that the proper jars are available from the remote 
repositories, and that any non-core plugins are also referenced appropriately, so I 
want to start out with an empty local repository.  And since I don't want to trash my 
own repository, I'd like to be able to specify the local repository location in one of 
the properties files.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1292?page=comments#action_20520

---------------------------------------------------------------------
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: Thu, 10 Jun 2004 10:10 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