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 2004/05/26 14:55:15 UTC

[jira] Commented: (MAVEN-1292) maven.repo.local cannot be set with a relative directory to basedir

The following comment has been added to this issue:

     Author: Michael Mattox
    Created: Wed, 26 May 2004 8:54 AM
       Body:
Does this mean it's impossible to set the local repository path without putting a full path in ~/build.properties?  Our local repository is stored in CVS, so requiring ~/build.properties won't work because it means the integration team (who builds our projects from CVS) would have to have this build.properties, and the location would depend on where they did the CVS checkout.


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

---------------------------------------------------------------------
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:54 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org