The following comment has been added to this issue:
Author: Ross Burnett
Created: Tue, 23 Nov 2004 7:24 PM
Body:
I'm not sure if the current behaviour is by accident or design, but I believe
that it is correct and should not be changed.
The project.properties file is for project-specific, not user-specific,
properties. Since ${maven.home.local} is about a user's own local environment,
it shouldn't be set in project.properties. Doing so could lead to build
failures if not all users have access to the specified path.
Or is there some valid use case that I've missed?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1509?page=comments#action_27096
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1509
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1509
Summary: Property "maven.home.local" doesn't get overriden
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.0.2
Versions:
1.0.1
Assignee:
Reporter: Ralf Quebbemann
Created: Thu, 18 Nov 2004 5:51 AM
Updated: Tue, 23 Nov 2004 7:24 PM
Environment: J:\programming\java\myprojects\jgig>maven -i
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.1
#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.5.0
file.encoding=Cp1252
java.ext.dirs=E:\Programme\Java\jdk1.5.0\jre\lib\ext
java.class.path=E:\Programme\development\programming\maven-1.0.1\lib\forehead-1.0-beta-5.jar
os.name=Windows XP
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=E:\Programme\development\programming\maven-1.0.1\lib\endorsed\xerces-2.4.0.jar;E
:\Programme\development\programming\maven-1.0.1\lib\endorsed\xml-apis-1.0.b2.jar;E:\Programme\Java\j
dk1.5.0\jre\lib\rt.jar;E:\Programme\Java\jdk1.5.0\jre\lib\i18n.jar;E:\Programme\Java\jdk1.5.0\jre\li
b\sunrsasign.jar;E:\Programme\Java\jdk1.5.0\jre\lib\jsse.jar;E:\Programme\Java\jdk1.5.0\jre\lib\jce.
jar;E:\Programme\Java\jdk1.5.0\jre\lib\charsets.jar;E:\Programme\Java\jdk1.5.0\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#---- END: Which report
Installed plugins:
maven-abbot-plugin-1.1
maven-announcement-plugin-1.3
maven-ant-plugin-1.8.1
maven-antlr-plugin-1.2.1
maven-appserver-plugin-2.0
maven-artifact-plugin-1.4.1
maven-ashkelon-plugin-1.2
maven-aspectj-plugin-3.2
maven-aspectwerkz-plugin-1.2
maven-caller-plugin-1.1
maven-castor-plugin-1.2
maven-changelog-plugin-1.7.1
maven-changes-plugin-1.5.1
maven-checkstyle-plugin-2.5
maven-clean-plugin-1.3
maven-clover-plugin-1.6
maven-console-plugin-1.1
maven-cruisecontrol-plugin-1.5
maven-dashboard-plugin-1.5
maven-developer-activity-plugin-1.5.1
maven-dist-plugin-1.6.1
maven-docbook-plugin-1.2
maven-ear-plugin-1.5
maven-eclipse-plugin-1.9
maven-ejb-plugin-1.5
maven-faq-plugin-1.4
maven-file-activity-plugin-1.5.1
maven-genapp-plugin-2.2
maven-gump-plugin-1.4
maven-hibernate-plugin-1.2
maven-html2xdoc-plugin-1.3.1
maven-idea-plugin-1.5
maven-j2ee-plugin-1.5.1
maven-jalopy-plugin-1.3.1
maven-jar-plugin-1.6.1
maven-java-plugin-1.4
maven-javacc-plugin-1.1
maven-javadoc-plugin-1.7
maven-jboss-plugin-1.5
maven-jbuilder-plugin-1.5
maven-jcoverage-plugin-1.0.9
maven-jdee-plugin-1.1
maven-jdepend-plugin-1.5
maven-jdeveloper-plugin-1.4
maven-jdiff-plugin-1.4
maven-jellydoc-plugin-1.3.1
maven-jetty-plugin-1.1
maven-jira-plugin-1.1.2
maven-jnlp-plugin-1.4.1
maven-junit-doclet-plugin-1.2
maven-junit-report-plugin-1.5
maven-jxr-plugin-1.4.2
maven-latex-plugin-1.4.1
maven-latka-plugin-1.4.1
maven-license-plugin-1.2
maven-linkcheck-plugin-1.3.3
maven-multichanges-plugin-1.1
maven-multiproject-plugin-1.3.1
maven-native-plugin-1.1
maven-nsis-plugin-1.1
maven-pdf-plugin-2.2.1
maven-plugin-plugin-1.5.2
maven-pmd-plugin-1.6
maven-pom-plugin-1.4.1
maven-rar-plugin-1.0
maven-release-plugin-1.4.1
maven-repository-plugin-1.2
maven-scm-plugin-1.4.1
maven-shell-plugin-1.1
maven-simian-plugin-1.4
maven-site-plugin-1.5.2
maven-struts-plugin-1.3
maven-tasklist-plugin-2.3
maven-test-plugin-1.6.2
maven-tjdo-plugin-1.0.0
maven-uberjar-plugin-1.2
maven-vdoclet-plugin-1.2
maven-war-plugin-1.6.1
maven-webserver-plugin-2.0
maven-wizard-plugin-1.1
maven-xdoc-plugin-1.8
Exception reading build.properties: E:\Dokumente und
Einstellungen\peter\build.properties (Das Syste
m kann die angegebene Datei nicht finden)
Home Build properties: {}
Description:
The property "maven.home.local" doesn't get overidden anymore with an entry in
project.properties. It always defaults to "${user.home}/.maven"
There is a workaround for this issue:
- Create the file "build.properties" in ${user.home} and set the property
"maven.home.local" to the desired directory.
---------------------------------------------------------------------
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]