You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/02/27 20:15:42 UTC
[maven-bug] Updated: (MAVEN-302) Make it possible to run Maven off a read-only file system
The following issue has been updated:
Updater: Aslak Hellesøy (mailto:aslak.hellesoy@netcom.no)
Date: Thu, 27 Feb 2003 1:15 PM
Changes:
[Attachment] [patch.diff] was added
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-302&page=history
---------------------------------------------------------------------
View the issue:
http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-302
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-302
Summary: Make it possible to run Maven off a read-only file system
Type: Improvement
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: maven
Component: core
Versions:
1.0-beta-9
Assignee: Jason van Zyl
Reporter: Aslak Hellesøy
Created: Thu, 27 Feb 2003 1:14 PM
Updated: Thu, 27 Feb 2003 1:15 PM
Environment: Tested on Win2K, JDK 1.3/JDK 1.4.1. Patch is made against CVS HEAD.
Description:
This patch makes it possible to distribute Maven on a read-only file system.
This is useful for anybody who want to keep Maven on a CD-ROM, or perhaps
make it available in a coroprate environment where it's stored in a read-only
file system such as ClearCase.
With this patch it is possible to assign an alternative location for unpacking
the plugins and storing the *.cache files. This directory can be assigned by
defining the (optional) MAVEN_LOCAL_HOME environment variable. If this variable
is not defined, it will default to the value of MAVEN_HOME, and everything will
work as usual.
The changes consist of modifications in the java code, maven.bat and maven and
driver.properties.
I have also updated the documentation.
Finally, I have replaced some jelly usages of ${maven.home}/plugins with ${maven.plugin.dir},
but this has nothing to do with the patch (it just seemed natural to do so).
I really believe this patch is important, as it greatly increases the usability of maven,
since it can now be run from a read-only medium.
Cheers,
Aslak
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.werken.com/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira