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/06/10 11:51:07 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: Thu, 10 Jun 2004 5:50 AM
Body:
I do not have permission to close this issue, can someone close it out. In general I think it's not a good idea to do this. I've set up an internal web server for our maven repository and it's working well. I use Jetty so that we can deliver a zip of jetty (containing the maven repository as a subdir) and the integration team and just unzip it and start jetty, without installing or configuring anything other than the ip address for the remote repository in their build.properties.
Michael
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1292?page=comments#action_20512
---------------------------------------------------------------------
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 5: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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org