maven-issues mailing list archives

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


Michael Rumpf closed MANTRUN-195.
    Resolution: Fixed

I found a solution by removing the remote repositories from the ivysettings.xml and to make
sure that the local repository configuration is correct. That means the POM needs to list
the dependencies, in order to download them from the remote repositories, so that Ivy "just"
resolves them from the $\{user.home\}/.m2/repository/ folder tree.

	<settings defaultResolver="chain" />
		<chain name="chain">
			<filesystem name="local" local="true" m2compatible="true">
				<artifact pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].[ext]"
				<ivy pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].pom"

<!-- Do not allow: ibiblio entries here -->


> Pass any Maven proxy settings from settings.xml to the AntRun plugin
> --------------------------------------------------------------------
>                 Key: MANTRUN-195
>                 URL:
>             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

View raw message