Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

maven unable to download artifacts  RSS feed

 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,
I have written a build script using maven. the maven is running behind our company's proxy so i have entered the proxy information correctly in the settings.xml file. Its a linux machine. For some dependency like below when i try running maven i am getting Connection timeout exception hence the build is failing. below is the settings from the settings.xml





http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz

Below is the trace of the exception



All other artifacts are being fetched properly and i can ping fpdownload.adobe.com from the machine. I have no clue as of how to fix this.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that the URL you provide to the flex framework is the artifact that would not download. How are you declaring the http://fpdownload.adobe.com repository? Also there is usually additional information about the download attempts right before the stack trace, it would be helpful to see those also.
 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could resolve it by temporarily uploading the artifact to the internal repository. The reason I was not able to download the artifact behind the proxy is that I was using the maven-external-dependency plugin to download from n external url and the plugin is not connection the url through the proxy setting. I guess its a bug in the plugin.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!