Re: Maven 1.0-rc4 Released
didn't realise the mkdir was necessary, but please file an issue in JIRA for it. Can you verify that commons-httpclient was correctly downloaded and that the contents include these? You might want to remove them and let the bootstrap download again. Why are you bootstrapping RC4 anyway? This question is way beyond the scope of the users list. Building from source is for people who intend to hack on Maven, in which case you are welcome on the -dev list. Regards, Brett On Mon, 28 Jun 2004 16:24:00 -0700, W. Sean Hennessy <[EMAIL PROTECTED]> wrote: > > That is correct. We are not behind a proxy. > Aforementioned issue resolved with manual mkdir(s) > mkdir \Tools\maven_local\repository\commons-logging\jars > mkdir \Tools\maven_local\repository\commons-httpclient\jars > prior to > "ant -debug -buildfile build-bootstrap.xml -logfile build.log" > which now results in NoClassDefFoundError see [snip] below; > > NOTE: one concern is that the Ant 1.6.1 distribution did not contain optional.jar > as referenced in > xdoc\start\bootstrap.xml > > [snip build.log] > Detected Java version: 1.4 in: C:\Tools\j2sdk1.4.1_02\jre > Detected OS: Windows XP > Adding reference: ant.ComponentHelper > Setting ro project property: ant.version -> Apache Ant version 1.6.1 compiled on > February 12 2004 > Setting ro project property: ant.file -> C:\Wrk\CVSROOT\maven\build-bootstrap.xml > [echo] > [echo] | > [echo] | RUNNING BOOTSTRAP TASK... > [echo] | > [snip] > Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes > org/apache/maven/Dependency.class > Class org.apache.maven.Dependency loaded from ant loader (parentFirst) > Class java.util.Iterator loaded from parent loader (parentFirst) > [bootstrap] Downloading dependency: > http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar > Finding class org.apache.maven.util.HttpUtils > Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes > org/apache/maven/util/HttpUtils.class > Class org.apache.maven.util.HttpUtils loaded from ant loader (parentFirst) > Class java.net.Authenticator loaded from parent loader (parentFirst) > Finding class org.apache.maven.util.HttpUtils$1 > Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes > org/apache/maven/util/HttpUtils$1.class > Class org.apache.maven.util.HttpUtils$1 loaded from ant loader (parentFirst) > Class java.io.OutputStream loaded from parent loader (parentFirst) > Class java.io.FileOutputStream loaded from parent loader (parentFirst) > Finding class org.apache.commons.httpclient.util.DateParseException > > BUILD FAILED > java.lang.NoClassDefFoundError: org/apache/commons/httpclient/util/DateParseException > at org.apache.tools.ant.Project.executeTarget(Project.java:1224) > at org.apache.tools.ant.Project.executeTargets(Project.java:1063) > at org.apache.tools.ant.Main.runBuild(Main.java:632) > at org.apache.tools.ant.Main.startAnt(Main.java:183) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/util/DateParseException > at > org.apache.maven.BootstrapTask.downloadDependencies(BootstrapTask.java:374) > at org.apache.maven.BootstrapTask.execute(BootstrapTask.java:315) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.tools.ant.Target.execute(Target.java:301) > at org.apache.tools.ant.Target.performTasks(Target.java:328) > at org.apache.tools.ant.Project.executeTarget(Project.java:1215) > ... 5 more > --- Nested Exception --- > java.lang.NoClassDefFoundError: org/apache/commons/httpclient/util/DateParseException > at > org.apache.maven.BootstrapTask.downloadDependencies(BootstrapTask.java:374) > at org.apache.maven.BootstrapTask.execute(BootstrapTask.java:315) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.tools.ant.Target.execute(Target.java:301) > at org.apache.tools.ant.Target.performTasks(Target.java:328) > at org.apache.tools.ant.Project.executeTarget(Project.java:1215) > at org.apache.tools.ant.Project.executeTargets(Project.java:1063) > at org.apache.tools.ant.Main.runBuild(Main.java:632) > at org.apache.tools.ant.Main.startAnt(Main.java:183) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:5
RE: Maven 1.0-rc4 Released
That is correct. We are not behind a proxy. Aforementioned issue resolved with manual mkdir(s) mkdir \Tools\maven_local\repository\commons-logging\jars mkdir \Tools\maven_local\repository\commons-httpclient\jars prior to "ant -debug -buildfile build-bootstrap.xml -logfile build.log" which now results in NoClassDefFoundError see [snip] below; NOTE: one concern is that the Ant 1.6.1 distribution did not contain optional.jar as referenced in xdoc\start\bootstrap.xml [snip build.log] Detected Java version: 1.4 in: C:\Tools\j2sdk1.4.1_02\jre Detected OS: Windows XP Adding reference: ant.ComponentHelper Setting ro project property: ant.version -> Apache Ant version 1.6.1 compiled on February 12 2004 Setting ro project property: ant.file -> C:\Wrk\CVSROOT\maven\build-bootstrap.xml [echo] [echo] | [echo] | RUNNING BOOTSTRAP TASK... [echo] | [snip] Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes org/apache/maven/Dependency.class Class org.apache.maven.Dependency loaded from ant loader (parentFirst) Class java.util.Iterator loaded from parent loader (parentFirst) [bootstrap] Downloading dependency: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar Finding class org.apache.maven.util.HttpUtils Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes org/apache/maven/util/HttpUtils.class Class org.apache.maven.util.HttpUtils loaded from ant loader (parentFirst) Class java.net.Authenticator loaded from parent loader (parentFirst) Finding class org.apache.maven.util.HttpUtils$1 Loaded from C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes org/apache/maven/util/HttpUtils$1.class Class org.apache.maven.util.HttpUtils$1 loaded from ant loader (parentFirst) Class java.io.OutputStream loaded from parent loader (parentFirst) Class java.io.FileOutputStream loaded from parent loader (parentFirst) Finding class org.apache.commons.httpclient.util.DateParseException BUILD FAILED java.lang.NoClassDefFoundError: org/apache/commons/httpclient/util/DateParseException at org.apache.tools.ant.Project.executeTarget(Project.java:1224) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/util/DateParseException at org.apache.maven.BootstrapTask.downloadDependencies(BootstrapTask.java:374) at org.apache.maven.BootstrapTask.execute(BootstrapTask.java:315) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) ... 5 more --- Nested Exception --- java.lang.NoClassDefFoundError: org/apache/commons/httpclient/util/DateParseException at org.apache.maven.BootstrapTask.downloadDependencies(BootstrapTask.java:374) at org.apache.maven.BootstrapTask.execute(BootstrapTask.java:315) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Total time: 4 seconds -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 3:54 PM To: Maven Users List Subject: Re: Maven 1.0-rc4 Released Are you saying you are or are not behind a proxy? It seems like you can't reach ibiblio. I may have omitted the necessary ant settings to get a proxy working for bootstrap - I'll look into it. Regards, Brett On Mon, 28 Jun 2004 10:13:17 -0700, W. Sean Hennessy <[EMAIL PROTECTED]> wrote: > > FYI. non-proxy also having bootstrap build issues; > > ant -buildfile build-bootstrap.xml -logfile build.log > > == build.log > > check-maven-home: > > check-maven-home-local-1: > > check-maven-home-local-2: > > check-maven-repo-local: > > check-properties: > > check-env: > [echo] maven.home = C:\Tools\maven-1.0-RC4 > > env: > [echo] maven.home = C:\Tools\mave
Re: Maven 1.0-rc4 Released
Are you saying you are or are not behind a proxy? It seems like you can't reach ibiblio. I may have omitted the necessary ant settings to get a proxy working for bootstrap - I'll look into it. Regards, Brett On Mon, 28 Jun 2004 10:13:17 -0700, W. Sean Hennessy <[EMAIL PROTECTED]> wrote: > > FYI. non-proxy also having bootstrap build issues; > > ant -buildfile build-bootstrap.xml -logfile build.log > > == build.log > > check-maven-home: > > check-maven-home-local-1: > > check-maven-home-local-2: > > check-maven-repo-local: > > check-properties: > > check-env: > [echo] maven.home = C:\Tools\maven-1.0-RC4 > > env: > [echo] maven.home = C:\Tools\maven-1.0-RC4 > [echo] maven.home.local = C:\Tools\maven_local > [echo] maven.repo.local = C:\Tools\maven_local\repository > [echo] > [echo] +-- > [echo] | WARNING WARNING WARNING WARNING WARNING WARNING WARNING > [echo] | > [echo] | Maven bootstrap now creates a repository in > [echo] | ${user.home}/.maven/repository > [echo] | if you do not have the maven.repo.local property set > [echo] | before bootstrapping. > [echo] | > [echo] | Maven bootstrap also expands plugins to > [echo] | ${user.home}/.maven/cache > [echo] | if you do not have the MAVEN_HOME_LOCAL environment > [echo] | variable or > [echo] | maven.home.local property set before bootstrapping. > [echo] | > [echo] | This feature is to accomodate the new ability of Maven > [echo] | to work from a read only install to MAVEN_HOME. > [echo] | > [echo] | WARNING WARNING WARNING WARNING WARNING WARNING WARNING > [echo] +-- > > bootstrap-compile: > [mkdir] Created dir: C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes > [get] Getting: > http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar > [get] Error getting > http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar to > C:\Tools\maven_local\repository\commons-logging\jars\commons-logging-1.0.3.jar > [get] Getting: > http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.jar > [get] Error getting > http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.jar to > C:\Tools\maven_local\repository\commons-httpclient\jars\commons-httpclient-2.0.jar > > [snip] > > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, June 28, 2004 9:12 AM > To: Maven Users List > Subject: Re: Maven 1.0-rc4 Released > > Hello All, > > I am getting the following error after upgrading to rc4 from rc1. > Can somebody help me please? > > > ** > Attempting to download commons-net-1.0.0.jar. > Credentials cannot be used for NTLM authentication: > org.apache.commons.httpclient.UsernamePasswordCredentials > warning: last-modified not specified > Error retrieving artifact from > [http://www.ibiblio.org/maven//commons-net/jars/commons-net-1.0.0.jar]: > java.io.IOException: Not authorized by proxy. > Credentials cannot be used for NTLM authentication: > org.apache.commons.httpclient.UsernamePasswordCredentials > > ** > > Everything works fine if I switch back to rc1!. > > Note: I am behind proxy using the following parameters, maven.proxy.host = > 166.71.117.212 maven.proxy.port = 80 > maven.proxy.host = 166.71.117.212 maven.proxy.port = 80 maven.proxy.username = > myUsername maven.proxy.password = > myPassword > > Regards, > Ganesh > > > - > 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: Maven 1.0-rc4 Released
What type of proxy host is it? It seems like it is an NTLM server, which AFAIK didn't work before RC4. If it is NTLM, try setting maven.proxy.ntlm.host=(your machine name) maven.proxy.ntlm.domain=(your login domain) Note that we haven't been able to explicitly test the NTLM proxy support due to no ready availability of one, so we are trusting in the patch supplier and the httpclient developers! I tested this against a regular proxy both with and without user/pass authentication. Regards, Brett On Mon, 28 Jun 2004 12:12:26 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am getting the following error after upgrading to rc4 from rc1. > Can somebody help me please? > > ** > Attempting to download commons-net-1.0.0.jar. > Credentials cannot be used for NTLM authentication: > org.apache.commons.httpclient.UsernamePasswordCredentials > warning: last-modified not specified > Error retrieving artifact from > [http://www.ibiblio.org/maven//commons-net/jars/commons-net-1.0.0.jar]: > java.io.IOException: Not authorized by proxy. > Credentials cannot be used for NTLM authentication: > org.apache.commons.httpclient.UsernamePasswordCredentials > ** > > Everything works fine if I switch back to rc1!. > > Note: I am behind proxy using the following parameters, > maven.proxy.host = 166.71.117.212 > maven.proxy.port = 80 > maven.proxy.host = 166.71.117.212 > maven.proxy.port = 80 > maven.proxy.username = myUsername > maven.proxy.password = myPassword > > Regards, > Ganesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 1.0-rc4 Released
FYI. non-proxy also having bootstrap build issues; ant -buildfile build-bootstrap.xml -logfile build.log == build.log check-maven-home: check-maven-home-local-1: check-maven-home-local-2: check-maven-repo-local: check-properties: check-env: [echo] maven.home = C:\Tools\maven-1.0-RC4 env: [echo] maven.home = C:\Tools\maven-1.0-RC4 [echo] maven.home.local = C:\Tools\maven_local [echo] maven.repo.local = C:\Tools\maven_local\repository [echo] [echo] +-- [echo] | WARNING WARNING WARNING WARNING WARNING WARNING WARNING [echo] | [echo] | Maven bootstrap now creates a repository in [echo] | ${user.home}/.maven/repository [echo] | if you do not have the maven.repo.local property set [echo] | before bootstrapping. [echo] | [echo] | Maven bootstrap also expands plugins to [echo] | ${user.home}/.maven/cache [echo] | if you do not have the MAVEN_HOME_LOCAL environment [echo] | variable or [echo] | maven.home.local property set before bootstrapping. [echo] | [echo] | This feature is to accomodate the new ability of Maven [echo] | to work from a read only install to MAVEN_HOME. [echo] | [echo] | WARNING WARNING WARNING WARNING WARNING WARNING WARNING [echo] +-- bootstrap-compile: [mkdir] Created dir: C:\Wrk\CVSROOT\maven\bootstrap\bootstrap-classes [get] Getting: http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar [get] Error getting http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar to C:\Tools\maven_local\repository\commons-logging\jars\commons-logging-1.0.3.jar [get] Getting: http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.jar [get] Error getting http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.jar to C:\Tools\maven_local\repository\commons-httpclient\jars\commons-httpclient-2.0.jar [snip] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:12 AM To: Maven Users List Subject: Re: Maven 1.0-rc4 Released Hello All, I am getting the following error after upgrading to rc4 from rc1. Can somebody help me please? ** Attempting to download commons-net-1.0.0.jar. Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials warning: last-modified not specified Error retrieving artifact from [http://www.ibiblio.org/maven//commons-net/jars/commons-net-1.0.0.jar]: java.io.IOException: Not authorized by proxy. Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials ** Everything works fine if I switch back to rc1!. Note: I am behind proxy using the following parameters, maven.proxy.host = 166.71.117.212 maven.proxy.port = 80 maven.proxy.host = 166.71.117.212 maven.proxy.port = 80 maven.proxy.username = myUsername maven.proxy.password = myPassword Regards, Ganesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 1.0-rc4 Released
Hello All, I am getting the following error after upgrading to rc4 from rc1. Can somebody help me please? ** Attempting to download commons-net-1.0.0.jar. Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials warning: last-modified not specified Error retrieving artifact from [http://www.ibiblio.org/maven//commons-net/jars/commons-net-1.0.0.jar]: java.io.IOException: Not authorized by proxy. Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials ** Everything works fine if I switch back to rc1!. Note: I am behind proxy using the following parameters, maven.proxy.host = 166.71.117.212 maven.proxy.port = 80 maven.proxy.host = 166.71.117.212 maven.proxy.port = 80 maven.proxy.username = myUsername maven.proxy.password = myPassword Regards, Ganesh