See this https://issues.apache.org/jira/browse/THRIFT-1216
> -----Ursprüngliche Nachricht----- > Von: Jake Farrell [mailto:[email protected]] > Gesendet: Dienstag, 24. Januar 2012 18:46 > An: [email protected] > Betreff: Re: Error transferring file: Connection timed out [refused] > > Maven ant tasks should use the settings.xml file, look at "The Settings File" > section at http://maven.apache.org/ant-tasks/usage.html. If its not getting > picked up then there may be an issue with the ant tasks version in use. If this > is still an issue after look at the version and trying the different configuration > options listed please create a ticket for this issue and assign it to me > > -Jake > > > On Jan 24, 2012, at 11:37 AM, Anderson, Mark S. wrote: > > > Well, it didn't resolve my problem. I added a proxy to the > > /etc/maven2/settings.xml. When that didn't work, I did the same to > > ~/.m2/settings.xml. Maven does not seem to use the proxy. > > > > At the beginning of the mvn-init section, it says: > > [artifact.dependencies] [WARNING] Overriding profile: > > 'maven-ant-tasks-repo-profile' (source: pom) with new instance from > source: > > pom > > > > Could this be why maven isn't using the proxy? > > > > -Mark > > > > -----Original Message----- > > From: Jake Farrell [mailto:[email protected]] > > Sent: Tuesday, January 24, 2012 9:40 AM > > To: [email protected] > > Subject: Re: Error transferring file: Connection timed out [refused] > > > > Maven tries to auto download the dependencies if they are not > > available within your local repository, since maven did not know of > > your proxy it was unable to download them and failed. Adding the proxy > > config to your maven settings.xml should resolve your problem from the > > office > > (http://maven.apache.org/settings.html#Proxies) > > > > -Jake > > > >
