[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-10-29 Thread Frederic Jecker (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=312510#comment-312510
 ] 

Frederic Jecker commented on MNG-5237:
--

 @Philip Singer : 
I removed the wagon-httpd-lightweight-2.2 from my lib/ext and tested the 
provided solution (run with -Djava.net.preferIPv4Stack=true)
It did not work (could not download artifact: Proxy Authentication Required)

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-10-26 Thread Phillip Singer (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=312386#comment-312386
 ] 

Phillip Singer commented on MNG-5237:
-

I just ran across this thread: 
http://mail-archives.apache.org/mod_mbox/maven-users/201208.mbox/%3c501ce4e9.5000...@pp6.inet.fi%3E

Might that be your issue instead?

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-10-26 Thread Anders Hammar (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=312387#comment-312387
 ] 

Anders Hammar commented on MNG-5237:


Should proxy in this ticket's summary be changed to NTLM proxy?

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-09-28 Thread Frederic Jecker (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=309930#comment-309930
 ] 

Frederic Jecker commented on MNG-5237:
--

Hello,

Encountered the same issue switching from 3.0.3 to 3.0.4 (Win7/No cygwin)
The solution proposed by Olivier Lamy fixed the problem

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-08-03 Thread zart colwing (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=305453#comment-305453
 ] 

zart colwing commented on MNG-5237:
---

in response to Olivier Lamy:
Instead of adding a jar into your Maven installation you can put the following 
extension into your pom.xml
build
extensions
extension
!-- this extension is required by wagon in order to 
pass the proxy --
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-http-lightweight/artifactId
version2.2/version
/extension
/extensions
/build


 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-08-02 Thread Dominik Bartholdi (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=305435#comment-305435
 ] 

Dominik Bartholdi commented on MNG-5237:


will this get fixed with the next version? (when will that be?)

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-06-06 Thread Jason van Zyl (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason van Zyl reassigned MNG-5237:
--

Assignee: Jason van Zyl

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-06-06 Thread cforce (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=300503#comment-300503
 ] 

cforce commented on MNG-5237:
-

Yes, actually we use NTLM proxy!

Please fix this!

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard
Assignee: Jason van Zyl

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-05-29 Thread Babak Vahdat (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=299912#comment-299912
 ] 

Babak Vahdat commented on MNG-5237:
---

@Oliver
You made my day, as your recommendation did the trick!
Thanks for your help :-)


 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-05-29 Thread Babak Vahdat (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=299912#comment-299912
 ] 

Babak Vahdat edited comment on MNG-5237 at 5/29/12 3:44 AM:


@Olivier
You made my day, as your recommendation did the trick!
Thanks for your help :-)


  was (Author: bvahdat):
@Oliver
You made my day, as your recommendation did the trick!
Thanks for your help :-)

  
 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-05-19 Thread Olivier Lamy (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=299228#comment-299228
 ] 

Olivier Lamy commented on MNG-5237:
---

are you using NTLM proxy ?
If yes add the jar 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/2.2/wagon-http-lightweight-2.2.jar
 to your $M2_HOME/lib/ext

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-05-07 Thread cforce (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=298075#comment-298075
 ] 

cforce commented on MNG-5237:
-

We are using Windows XP and also configured proxy in settings.xml on Maven 3.04.
It look likes Maven is not using the proxy settings from 
M2-Home/conf/settings.xml but the one from windows (Internet explorer). If its 
configured in ie it works, if not then not. If i configure the same in maven 
settings.xml it does make any difference.
For notice: In oor case the m2 server (nexus mirror) is in noproxy string of 
our enterprise proxy config.

We get some kind of socks connection error.

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-03-12 Thread Babak Vahdat (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293847#comment-293847
 ] 

Babak Vahdat commented on MNG-5237:
---

Being behind a HTTP Proxy I'm suffering from the same behavior (upgrading Maven 
3.0.3 = 3.0.4)

I followed the new 1.1.0 schema 
(http://maven.apache.org/xsd/settings-1.1.0.xsd) however with no success.

And actually the Proxy I'm behind of does *not* require my personal credentials 
of me (username/password) but just checks the IP, that's all! That was also why 
I didn't have to provide correct username/password while using 3.0.3. However 
now even using correct credentials under 3.0.4 it blows up with:

{code}
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed 
to read artifact descriptor for 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:jar:1.0
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
... 25 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could 
not transfer artifact 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:pom:1.0 from/to 
smx.repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/): Not authorized 
by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
... 28 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not 
transfer artifact 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:pom:1.0 from/to 
smx.repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/): Not authorized 
by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at 
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not 
authorized by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:843)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
... 4 more
{code} 

To prove that using the same box I can successfuly access the Internet, 
following couple of lines of code which *does* deliver me the content of 
http://www.google.ch 

{code}
public static void main(String[] args) throws Exception {
InetSocketAddress address = new InetSocketAddress(proxy.domain.name, 
proxy.port.number);
Proxy proxy = new Proxy(Proxy.Type.HTTP, address);
URL url = new URL(http://www.google.ch;);
URLConnection connection = url.openConnection(proxy);
InputStream is = connection.getInputStream();

int c;
while ((c = is.read()) != -1) {
System.out.print((char) c);
}
}
{code}

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 

[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-03-12 Thread Babak Vahdat (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293847#comment-293847
 ] 

Babak Vahdat edited comment on MNG-5237 at 3/12/12 5:25 AM:


Being behind a HTTP Proxy I'm suffering from the same behavior (upgrading Maven 
3.0.3 = 3.0.4)

I followed the new 1.1.0 schema 
(http://maven.apache.org/xsd/settings-1.1.0.xsd) however with no success.

And actually the Proxy I'm behind of does *not* require my personal credentials 
at all (username/password) but just checks only the IP of the box I'm 
connecting from, that's all! That was also why I didn't have to provide correct 
username/password while using 3.0.3. However now even using correct credentials 
under 3.0.4 it blows up with:

{code}
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed 
to read artifact descriptor for 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:jar:1.0
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
... 25 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could 
not transfer artifact 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:pom:1.0 from/to 
smx.repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/): Not authorized 
by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
... 28 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not 
transfer artifact 
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:pom:1.0 from/to 
smx.repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/): Not authorized 
by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at 
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not 
authorized by proxy, ReasonPhrase:Proxy Authentication Required.
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:843)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
... 4 more
{code} 

To prove that using the same box I can successfuly access the Internet, 
following couple of lines of code which *does* deliver me the content of 
http://www.google.ch 

{code}
public static void main(String[] args) throws Exception {
InetSocketAddress address = new InetSocketAddress(proxy.domain.name, 
proxy.port.number);
Proxy proxy = new Proxy(Proxy.Type.HTTP, address);
URL url = new URL(http://www.google.ch;);
URLConnection connection = url.openConnection(proxy);
InputStream is = connection.getInputStream();

int c;
while ((c = is.read()) != -1) {
System.out.print((char) c);
}
}
{code}

  was (Author: bvahdat):
Being behind a HTTP Proxy I'm suffering from the same behavior (upgrading 
Maven 3.0.3 = 3.0.4)

I followed the new 1.1.0 schema 
(http://maven.apache.org/xsd/settings-1.1.0.xsd) however with no success.

And actually the Proxy I'm 

[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-02-03 Thread NIels Mordt-Ostergaard (JIRA)
NIels Mordt-Ostergaard created MNG-5237:
---

 Summary: Cannot download maven dependencies through proxy
 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: NIels Mordt-Ostergaard


Using proxy in settings.xml, I was able to download maven dependencies in 
3.0.3, but this seems to be broken with 3.0.4:

Proxy definition in settings.xml (hidden ip adress below, but correct proxy ip 
on my system):
  proxies
   proxy
  idoptional/id
  activetrue/active
  protocolhttp/protocol
  username/username
  password/password
  hostxxx.xx.xx.xx/host
  port8080/port
  nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
/proxy
  /proxies

Output from 3.0.3:
$ mvn -V clean
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: C:\Program Files\apache-maven-3.0.3
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: no_NO, platform encoding: Cp1252
OS name: windows xp, version: 5.2, arch: amd64, family: windows
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building xxx hidden xxx
[INFO] 
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 (5 KB at 4.9 KB/sec)
. and so on...

Output from 3.0.4:
$ mvn -V clean
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\Program Files\apache-maven-3.0.4
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: no_NO, platform encoding: Cp1252
OS name: windows xp, version: 5.2, arch: amd64, family: windows
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building xxx hidden xxx
[INFO] 
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 0.390s
[INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
[INFO] Final Memory: 5M/490M
[INFO] 
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its 
dependencies could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to central 
(http://repo.maven.apache.org/maven2): Access denied to: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
 ReasonPhrase:Forbidden. - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-02-03 Thread Joerg Schaible (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=290696#comment-290696
 ] 

Joerg Schaible commented on MNG-5237:
-

Take a closer look at the URLs. Maven central has been moved and M304 default 
settings use the new location directly. Possibly you have to update your 
firewall rules.

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-02-03 Thread Niels Mordt-Ostergaard (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=290705#comment-290705
 ] 

Niels Mordt-Ostergaard commented on MNG-5237:
-

Not sure that I follow you. Which URL's should I check?

Also, if I run without the proxy server (which I can, but need to set up with 
proxy server on another server) it works just fine.

Is there some kind of re-directing to the new Maven central?


 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5237) Cannot download maven dependencies through proxy

2012-02-03 Thread Niels Mordt-Ostergaard (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=290706#comment-290706
 ] 

Niels Mordt-Ostergaard commented on MNG-5237:
-

I spotted the change in the URLs now, sorry. Will check firewall settings.

 Cannot download maven dependencies through proxy
 

 Key: MNG-5237
 URL: https://jira.codehaus.org/browse/MNG-5237
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.4
 Environment: windows xp64 using cygwin
Reporter: Niels Mordt-Ostergaard

 Using proxy in settings.xml, I was able to download maven dependencies in 
 3.0.3, but this seems to be broken with 3.0.4:
 Proxy definition in settings.xml (hidden ip adress below, but correct proxy 
 ip on my system):
   proxies
proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   hostxxx.xx.xx.xx/host
   port8080/port
   nonProxyHostslocalhost|127.0.0.1/nonProxyHosts
 /proxy
   /proxies
 Output from 3.0.3:
 $ mvn -V clean
 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
 Maven home: C:\Program Files\apache-maven-3.0.3
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 Downloaded: 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
  (5 KB at 4.9 KB/sec)
 . and so on...
 Output from 3.0.4:
 $ mvn -V clean
 Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
 Maven home: C:\Program Files\apache-maven-3.0.4
 Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
 Java home: C:\Program Files\Java\jdk1.6.0_24\jre
 Default locale: no_NO, platform encoding: Cp1252
 OS name: windows xp, version: 5.2, arch: amd64, family: windows
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building xxx hidden xxx
 [INFO] 
 
 Downloading: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 0.390s
 [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
 [INFO] Final Memory: 5M/490M
 [INFO] 
 
 [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of 
 its dependencies could not be resolved: Failed to read artifact descriptor 
 for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer 
 artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to 
 central (http://repo.maven.apache.org/maven2): Access denied to: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
  ReasonPhrase:Forbidden. - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira