I appreciate the advice and support I've received here.  Today I was 
finally able to work further on the issue via gmail chat with a maven 
developer. Under his tutelage  I  created a JIRA for this issue:  
http://jira.codehaus.org/browse/MNG-4211
    Your question on whether I tried 2.0.10 is a very good hunch.  It turned 
out as I worked with the maven developer that in fact the proxy works fine with 
2.0.10.  The difference between 2.0.10 and 2.1, the developer told me, is that 
2.1 was the first to use "wagon 1.0-beta-4+".
    In summary,  I can upgrade to 2.0.10 while waiting, patiently, for the 
stellar maven developers to find the problem and incorporate it into the next 
release after 2.2.
     And so, the story appears to be headed towards a happy ending.


----- Original Message ----
From: Zac Thompson <[email protected]>
To: Maven Users List <[email protected]>
Sent: Thursday, June 18, 2009 6:36:07 PM
Subject: Re: [PLEASE TEST] Maven 2.2.0-RC3

Robert, this is just a guess: is the proxy defined in your user-specific
(~/.m2/) settings.xml, but the proxy credentials are only supplied in your
2.0.9 install's $M2_HOME/conf/settings.xml?  I don't even know if this is
possible, so pardon me if you've already looked into this.

You may want to post both settings.xml (please obscure any sensitive info).

Have you tried 2.0.10  (different from 2.1.0)?  Does it have the same
problem?

Is there a difference in the help:effective-pom between 2.0.9 and 2.2.0-RC3?

Zac

> >> From: Robert Glover <[email protected]
> > <mailto:[email protected]>>
> > >> To: Maven Users List <[email protected]
> > <mailto:[email protected]>>
> > >> Sent: Thursday, June 11, 2009 6:44:06 PM
> > >> Subject: Re: [PLEASE TEST] Maven 2.2.0-RC3
> > >>
> > >>
> > >> I downloaded "apache-maven-2.2.0-RC3" and tried it
> > out but sadly,  I get the same proxy problem I have
> > been getting in all versions of maven subsequent to
> > 2.0.9.  Maven 2.0.9 continues to work fine, but if I
> > change to 2.2.0.RC3 and use the same pom.xml file and the
> > same settings.xml file (where the proxy config is) it
> > causes a proxy error and I cannot do a "mvn package"
> > >>   Wayne has patiently explained to
> > me that there is nothing to be done about this, I'm simply
> > stuck using maven 2.0.9 forever or until by luck a
> > subsequent release of Maven  mysteriously starts
> > letting my corporate proxy work again.  Sigh.
> > Below is the console log of my unsuccessful attempt to use
> > 2.2.0-RC3
> > >>
> > >> C:\JavaLibs\aTestMaven220_rc3_a>set m2
> > >> M2=C:\JavaLibs\apache-maven-2.2.0-RC3\bin
> > >> M2_HOME=C:\JavaLibs\apache-maven-2.2.0-RC3
> > >>
> > >> C:\JavaLibs\aTestMaven220_rc3_a>cd simple
> > >>
> > >> C:\JavaLibs\aTestMaven220_rc3_a\simple>dir
> > >> Volume in drive C is COEv2_0
> > >> Volume Serial Number is 1428-1262
> > >>
> > >> Directory of
> > C:\JavaLibs\aTestMaven220_rc3_a\simple
> > >>
> > >> 06/11/2009  06:31 PM
> > <DIR>          .
> > >> 06/11/2009  06:31 PM
> > <DIR>          ..
> > >> 06/09/2009  12:33 PM
> >         636 pom.xml
> > >> 06/11/2009  06:29 PM
> > <DIR>          src
> > >>
> >    1 File(s)
> >     636 bytes
> > >>
> >    3 Dir(s)  5,835,960,320 bytes free
> > >>
> > >> C:\JavaLibs\aTestMaven220_rc3_a\simple>mvn -X
> > package
> > >> + Error stacktraces are turned on.
> > >> Apache Maven 2.2.0-RC3 (r783569; 2009-06-10
> > 19:26:18-0400)
> > >> Java version: 1.5.0_12
> > >> Java home: C:\progfile\Java\jdk1.5.0_12\jre
> > >> Default locale: en_US, platform encoding: Cp1252
> > >> OS name: "windows xp" version: "5.1" arch: "x86"
> > Family: "windows"
> > >> [DEBUG] Building Maven user-level plugin registry
> > from: 'C:\Documents and
> > Settings\B1RXGC0\.m2\plugin-registry.xml'
> > >> [DEBUG] Building Maven global-level plugin
> > registry from:
> > 'C:\JavaLibs\apache-maven-2.2.0-RC3\conf\plugin-registry.xml'
> > >> [INFO] Scanning for projects...
> > >> [DEBUG] Wagons could not be registered as the
> > extension container was never created
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [INFO] Building simple
> > >> [INFO]    task-segment: [package]
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache.maven.plugins:maven-plugins:pom:12 for project:
> > null:maven-resources-plugin:maven-plugin:2.3 from the
> > repository.
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven-parent:pom:9 for project:
> > org.apache.maven.plugins:maven-plugins:pom:12 from the
> > repository.
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache:apache:pom:4 for project:
> > org.apache.maven:maven-parent:pom:9 from the repository.
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache.maven.plugins:maven-plugins:pom:8 for project:
> > null:maven-compiler-plugin:maven-plugin:2.0.2 from the
> > repository.
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven-parent:pom:5 for project:
> > org.apache.maven.plugins:maven-plugins:pom:8 from the
> > repository.
> > >> [DEBUG] Retrieving parent-POM:
> > org.apache:apache:pom:3 for project:
> > org.apache.maven:maven-parent:pom:5 from the repository.
> > >> [DEBUG] Trying repository central
> > >> [DEBUG] Checking for pre-existing User-Agent
> > configuration.
> > >> [DEBUG] Adding User-Agent configuration.
> > >> [DEBUG] Connecting to repository: 'central' with
> > url: 'http://repo1.maven.org/maven2' <http://repo1.maven.org/maven2%27>.
> > >> [DEBUG] Using Proxy: b1web1.frb.org
> > >> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
> > >> Jun 11, 2009 6:35:12 PM
> > hidden.org.apache.commons.httpclient.HttpMethodDirector
> > authenticateHost
> > >> WARNING: Required credentials not available for
> > BASIC <any realm>@repo1.maven.org:80
> > >> Jun 11, 2009 6:35:12 PM
> > hidden.org.apache.commons.httpclient.HttpMethodDirector
> > authenticateHost
> > >> WARNING: Preemptive authentication requested but
> > no default credentials available
> > >> [DEBUG]
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
> > - Status code: 403
> > >> [DEBUG] Access denied to:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
> > >>
> > org.apache.maven.wagon.authorization.AuthorizationException:
> > Access denied to:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven
> > >>         at
> >
> org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:510)
>


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

Reply via email to