Re: ${user.home} not substituted in settings.xml localRepository
Hi! Am Donnerstag, 14. Januar 2010 11:08:59 schrieb Julien HENRY: > I'm bitten by the same issue that was already reported last september [1]. > I'm using Hudson with Maven 2.2.1 and I wrote: > > > ${user.home}/repositories/${env.JOB_NAME}/repositorylRepository> > > but it doesn't work as ${user.home} is not correctly handled. I'm using Maven 2.2.1 with Java 1.5.0_22 and ${user.home} is working fine for me (this also did work with at least 2.0.[89]). I have the following in my settings.xml: ${user.home}/work/jboss-4.2.2.GA And the cargo.container.home property is defined as expected. So I'd say it's not generally broken. hth, - martin -- Martin Höller | martin.hoel...@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-40 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: This is a digitally signed message part.
Re : ${user.home} not substituted in settings.xml localRepository
It seems to be fixed in Maven 3 alpha 6. Just have to wait for Hudson supporting Maven 3... - Message d'origine > De : Julien HENRY > À : users@maven.apache.org > Envoyé le : Jeu 14 Janvier 2010, 11 h 08 min 59 s > Objet : ${user.home} not substituted in settings.xml localRepository > > Hi, > > I'm bitten by the same issue that was already reported last september [1]. > I'm > using Hudson with Maven 2.2.1 and I wrote: > > ${user.home}/repositories/${env.JOB_NAME}/repository > > but it doesn't work as ${user.home} is not correctly handled. > > Is there already a JIRA issue opened? > > According to [2]: > Java System Properties: All properties accessible via > java.lang.System.getProperties() are available as POM properties, such as > ${java.home}. > > Regards, > > Julien > > [1] http://www.mail-archive.com/users@maven.apache.org/msg102070.html > [2] http://maven.apache.org/settings.html > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: user.home location
thanks, user.home it's right property that i want to modify because i want to put a global build.properties for all maven projects so if i had understand the Maven's user guide the ${user.home}/ is the location where i can put it. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: mardi 9 décembre 2003 17:03 To: Maven Users List Subject: RE: user.home location Stéphane Philippart wrote on Tuesday, December 09, 2003 4:47 PM: > Hi (re), > > I use maven under windows XP and it's appear that the default > location for the ${user.home} property is C:\Documents and > Settings\. > > Can i change this value (and where can i change it) to d:\foo for > example ? user.home is a Java system property: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getPropert ies() You can set it, but have to do so everytime calling java. BUT, I suppose you refer to the location of the locqal Maven repo itself. This can be changed setting property maven.home.local in build.properties. Have a look in Maven's User Guide: http://maven.apache.org/reference/user-guide.html#Maven%20Setup Regards, Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: user.home location
Use the property maven.home.local See http://maven.apache.org/reference/user-guide.html#Properties%20Processing -Original Message- From: Stéphane Philippart [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 15:47 To: Maven Users List (E-mail) Subject: user.home location Hi (re), I use maven under windows XP and it's appear that the default location for the ${user.home} property is C:\Documents and Settings\. Can i change this value (and where can i change it) to d:\foo for example ? Thanks. Stef - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: user.home location
Stéphane Philippart wrote on Tuesday, December 09, 2003 4:47 PM: > Hi (re), > > I use maven under windows XP and it's appear that the default > location for the ${user.home} property is C:\Documents and > Settings\. > > Can i change this value (and where can i change it) to d:\foo for > example ? user.home is a Java system property: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties() You can set it, but have to do so everytime calling java. BUT, I suppose you refer to the location of the locqal Maven repo itself. This can be changed setting property maven.home.local in build.properties. Have a look in Maven's User Guide: http://maven.apache.org/reference/user-guide.html#Maven%20Setup Regards, Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: user.home
Brian Murray wrote: On *nix it's $HOME, on Windows %HOMEPATH% (C:\Documents and Settings\youraccount) (even within Cygwin). Small clarification, in Windows (XP at least) %HOMEPATH% does not include the drive letter. You would need to use either %HOMEDRIVE%%HOMEPATH% or %USERPROFILE% Right, thanks for correction. Regards, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: user.home
-Original Message- > From: Tomasz Pik [mailto:[EMAIL PROTECTED] >> where set ${user.home}? what is default value? > It's system thing handled by JVM. > On *nix it's $HOME, > on Windows %HOMEPATH% (C:\Documents and Settings\youraccount) (even within Cygwin). Small clarification, in Windows (XP at least) %HOMEPATH% does not include the drive letter. You would need to use either %HOMEDRIVE%%HOMEPATH% or %USERPROFILE% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: user.home
"khote" <[EMAIL PROTECTED]> wrote on 10/10/2003 08:11:10 PM: > You can always test these things in your maven script. > > > user.home = ${user.home} > > > > then maven echouser on your command line. > > user.home is set by maven or ant, one of the two, by default. 'user.home' is a standard System property. See the JDK docs for details. > This is of course if you're using a *nix system. On windows it isn't always > so wonderful. What do you mean? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: user.home
Harden ZHU wrote: hi, where set ${user.home}? what is default value? It's system thing handled by JVM. On *nix it's $HOME, on Windows %HOMEPATH% (C:\Documents and Settings\youraccount) (even within Cygwin). Regards, Tomek thanks harden - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: user.home
You can always test these things in your maven script. user.home = ${user.home} then maven echouser on your command line. user.home is set by maven or ant, one of the two, by default. This is of course if you're using a *nix system. On windows it isn't always so wonderful. - Original Message - From: "Harden ZHU" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 6:34 PM Subject: user.home > hi, > > where set ${user.home}? what is default value? > > thanks > > harden > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]