Hi all,
A while ago I had a problem with my settings containing environment
variables that failed during any forked maven process[1]. This was my
fault as I was referencing ${bob} and not ${env.bob}
I changed this - and all was well in the world for a while - but I
cleaned out my local repostitory and things are failing again.
Tested with 2.0.9, 2.0.10, 2.1.0-RC3
A simple test project and settings.xml is attached - Am I doing
something incorrect or is this a maven bug?
D:\workspaces\svn_all\maven\sandbox\james\buildenvtests\trunk\anothertes
t>set | grep proxyURL
proxyURL=http://nexus/nexus/content/repositories
both builds fail as they beleive "env.proxyURL" is undefined - but this
is set as a user variable in windows.
/James
[1]
http://mail-archives.apache.org/mod_mbox/maven-users/200901.mbox/%3CFC63
[email protected]%3e
**************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the
addressee only. Any dissemination, copying or distribution of this message or
any attachments by anyone other than the intended recipient is strictly
prohibited. If you have received this message in error, please immediately
notify the [email protected] and destroy the original message. Messages sent
to and from NDS may be monitored. NDS cannot guarantee any message delivery
method is secure or error-free. Information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or contain viruses. We do not
accept responsibility for any errors or omissions in this message and/or
attachment that arise as a result of transmission. You should carry out your
own virus checks before opening any attachment. Any views or opinions presented
are solely those of the author and do not necessarily represent those of NDS.
To protect the environment please do not print this e-mail unless necessary.
NDS Limited Registered Office: One London Road, Staines, Middlesex, TW18 4EX,
United Kingdom. A company registered in England and Wales Registered no.
3080780 VAT no. GB 603 8808 40-00
**************************************************************************************
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>central-mirror</id>
<name>Maven Central [nexus mirror]</name>
<url>${env.proxyURL}/central</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.nds.test</groupId>
<artifactId>anothertest</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Another test project</name>
<scm>
<connection>scm:svn:svn://svnrepo/maven/sandbox/james/buildenvtests/trunk/anothertest</connection>
<developerConnection>scm:svn:svn+ssh://svnrepo/maven/sandbox/james/buildenvtests/trunk/anothertest</developerConnection>
<url>http://svnrepo/viewvc/sandbox/james/buildenvtests/trunk/anothertest/?root=maven</url>
</scm>
<distributionManagement>
<site>
<url>file:///e:/maven/site</url>
</site>
<repository>
<id>my-repo</id>
<name>My Repository</name>
<url>
file:///e:/maven/repo
</url>
</repository>
</distributionManagement>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]