maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Rumpf (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MANTRUN-195) Pass any Maven proxy settings from settings.xml to the AntRun plugin
Date Tue, 01 Sep 2015 08:45:45 GMT

    [ https://issues.apache.org/jira/browse/MANTRUN-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724984#comment-14724984
] 

Michael Rumpf edited comment on MANTRUN-195 at 9/1/15 8:45 AM:
---------------------------------------------------------------

The use-case is quite simple. I'm trying to run a build of the Spring Boot project behind
a corporate proxy: https://github.com/spring-projects/spring-boot
The issue is that the Spring Boot Maven build uses the Antrun plugin and antunit tasks which
download some artifacts from a remote location.
This download fails because the Antrun plugin seems not to propagate the proxy configuration
from Maven's global settings.xml correctly.


was (Author: miru):
The use-case is quite simple. I'm trying to run a build of the Spring Boot project behind
a corporate proxy: https://github.com/spring-projects/spring-boot
The issue is that the build uses the Antrun plugin and antunit tasks which download some artifacts
from a remote location.
This download fails because the Antrun plugin seems not to propagate the proxy configuration
from Maven's global settings.xml correctly.

> Pass any Maven proxy settings from settings.xml to the AntRun plugin
> --------------------------------------------------------------------
>
>                 Key: MANTRUN-195
>                 URL: https://issues.apache.org/jira/browse/MANTRUN-195
>             Project: Maven Antrun Plugin
>          Issue Type: Improvement
>            Reporter: Michael Rumpf
>
> When setting a a proxy in my settings.xml file, the proxy configuration is not passed
on to the Antrun plugin. Any Ant scripts, trying to access the outside network do not suceed
because no proxy is used.
> Setting the proxy twice is not an option, as the build file is part of an open-source
project where I cannot enter the proxy of my company's Internet proxy server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message