I'm having issues with releasing (but this is not specific to 2.1.0-RC3
and is reproducible on 2.0.10).
(http://jira.codehaus.org/browse/MRELEASE-406)  but I am not sure if it
is a fault in core or the release plug-in.

Basically a forked maven process doesn't inherit env vars.

D:\workspaces\svn_all\maven\sandbox\james\buildenvtests\trunk\anothertes
t>set | grep proxyURL
proxyURL=http://nexus/nexus/content/repositories

Settings.xml contains

<?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>


mvn -B release:prepare release:perform
<snip>
57K downloaded  (maven-scm-provider-svnexe-1.1.jar)
Downloading:
http://nexus/nexus/content/repositories/central/org/apache/maven/scm/mav
en-scm-provider-synergy/1.1/maven-scm-provider-synergy-1.1.jar
49K downloaded  (maven-scm-provider-synergy-1.1.jar)
[INFO] [release:prepare]
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing goals 'clean verify'...
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Building Another test project
[INFO] [INFO]    task-segment: [clean, verify]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] Downloading:
${env.proxyURL}/central/org/apache/maven/plugins/maven-clean-plugin/2.2/
maven-clean-plugin-2.2.pom
[INFO] [INFO] Unable to find resource
'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' in repository
central (http://repo1.maven.org/maven2)
[INFO] Downloading:
${env.proxyURL}/central/org/apache/maven/plugins/maven-clean-plugin/2.2/
maven-clean-plugin-2.2.pom
[INFO] [INFO] Unable to find resource
'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' in repository
central (http://repo1.maven.org/maven2)
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Error building POM (may not be this project's POM).



> -----Original Message-----
> From: Jochen Wiedmann [mailto:[email protected]] 
> Sent: 16 March 2009 20:40
> To: Maven Developers List
> Subject: Re: [PLEASE TEST] Maven 2.1.0-RC3
> 
> On Mon, Mar 16, 2009 at 5:51 PM, John Casey 
> <[email protected]> wrote:
> 
> > It looks like the last known bugs are resolved for 2.1.0. So, let's 
> > take another look things with RC3, and if everything is clean I'll 
> > call a vote in the next day or two.
> >
> > http://tinyurl.com/maven-2-1-0-RC3
> > 
> (https://repository.apache.org/content/repositories/maven-staging-5078
> > cd01de9bd9/org/apache/maven/apache-maven/2.1.0-RC3/)
> 
> Looks good on my corporate builds.
> 
> Jochen
> 
> 
> --
> I have always wished for my computer to be as easy to use as 
> my telephone; my wish has come true because I can no longer 
> figure out how to use my telephone.
> 
>     -- (Bjarne Stroustrup,
> http://www.research.att.com/~bs/bs_faq.html#really-say-that
>        My guess: Nokia E50)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For 
> additional commands, e-mail: [email protected]
> 
> 

**************************************************************************************
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
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to