[
https://issues.apache.org/jira/browse/MANTRUN-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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.
{code}
<ivysettings>
<settings defaultResolver="chain" />
<resolvers>
<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"
/>
</filesystem>
<!-- Do not allow: ibiblio entries here -->
</chain>
</resolvers>
</ivysettings>
{code}
> 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)