Hello,
You must use wagon for that and setup a wagon instance with various
informations from settings.
As a sample you can have a look atproject-info-reports plugin

http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/RepositoryUtils.java

2011/10/17 Barrie Treloar <[email protected]>:
> I'm not sure how to fix this, there is code already that attempts to
> use a URL by calling openConnection()
>
> e.g.
> URL url ...
> url.openConnection().getInputStream()
>
> The problem is that this fails when you are behind a firewall.
>
> [INFO] Unable to retrieve remote resource
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-myeclipse-05/eclipse-settings/checkstyle-config.xml:
> Connection refused: connect
>
> Inside Maven how should these connections be handled so that the
> settings.xml file is respected for proxy configuration?
>
> Cheers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to