You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:49:22 UTC
[jira] (MECLIPSE-648) maven proxy not honoured in additionalConfig
[ https://jira.codehaus.org/browse/MECLIPSE-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MECLIPSE-648.
-----------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> maven proxy not honoured in additionalConfig
> --------------------------------------------
>
> Key: MECLIPSE-648
> URL: https://jira.codehaus.org/browse/MECLIPSE-648
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Affects Versions: 2.8
> Environment: Windows XP, Java 1.6.0_17 - however this defect is platform agnostic
> Reporter: Michael Yates
> Priority: Minor
>
> If you configure the eclipse plugin similar to :
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <additionalConfig>
> <file>
> <name>.checkstyle</name>
> <url>http://172.30.1.3:8080/checkstyleDisabled.xml</url>
> </file>
> </additionalConfig>
> </configuration>
> </plugin>
> AND you are using a proxy, configured as per http://maven.apache.org/guides/mini/guide-proxies.html
> Then you will end up with the error: "Unable to write to file"
> The issue seems to be EclipsePlugin.java line 1175 (in 2.8 source).
> The code is:
> inStream = file.getURL().openConnection().getInputStream();
> I think the code should be something more like:
> inStream = file.getURL().openConnection(proxy).getInputStream();
> Where proxy is pulled through from the users maven settings.
> However I do not know the Maven architecture very well. I was wondering whether the Maven architecture provided some default/common way of gathering resources so the plugin did not need to do this itself? In which case the EclipsePlugin class should possibly be updated to use that. Because then presumably you would get things like the proxy settings "for free".
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)