I followed your directions exactly and got the following results: [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26 seconds [INFO] Finished at: Tue Jun 09 11:56:19 PDT 2009 [INFO] Final Memory: 8M/22M [INFO] ------------------------------------------------------------------------
I believe your problem must lie within your proxy: > [DEBUG] Using Proxy: b1web1.obfuscated.org > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom > [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-surefire-plugin-2.4.3.pom Wayne On Tue, Jun 9, 2009 at 9:53 AM, Robert Glover<[email protected]> wrote: > I've reduced the problem of why I can't upgrade from maven 2.0.9 to to > 2.1.0 to it's barest essentials. > > For my recreatable test, I am using the instructions in chapter 3 of > "Maven: The Definitive Guide" from the section "Creating a Simple Project". > > Note as I detail the steps below that these exact same steps work > perfectly when I point M2, M2_Home, and PATH to maven 2.0.9. They fail > however when I point to 2.1.0. Please also note that this problem is > total, by which I mean that there are no situations in which maven 2.1.0 is > working, yet in all these same situations maven 2.0.9 is working okay. I > even tried this on another developer machine which had never had maven > installed on it before, and maven 2.1.0 failed there too. > > Step one of six: create new directory. > Step two of six: open Dos window, make that directory current. > Step three of six: invoke this bat file: > > set M2_HOME=C:\JavaLibs\apache-maven-2.1.0 > set M2=C:\JavaLibs\apache-maven-2.1.0\bin > set PATH=C:\JavaLibs\apache-maven-2.1.0\bin;%PATH% > > step four of six) issue this command (note: because I already did this test > with maven 2.0.9, it does not need to get anything from local repository). > > mvn archetype:create -DgroupId=org.foo.bar -DartifactId=simple > -DpackageName=org.foo.bar > > (output is shown below) > > C:\JavaLibs\aTestMaven210bX>mvn archetype:create -DgroupId=org.foo.bar > -DartifactId=simple -DpackageName=org.foo.bar --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
