cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@gmail.com>
Subject Re: maven setting for cxf build in using com.googlecode.maven-download-plugin behind firewall?
Date Thu, 22 Jan 2015 23:22:51 GMT
2015-01-22 12:05 GMT+01:00 Sergey Beryozkin <sberyozkin@gmail.com>:
> Hi Aki
> On 22/01/15 11:02, Aki Yoshida wrote:
>>
>> Hi Sergey,
>>
>> 2015-01-22 11:27 GMT+01:00 Sergey Beryozkin <sberyozkin@gmail.com>:
>>>
>>> Hi Aki
>>>
>>> Not sure about configuring this plugin, may be an alternative plugin
>>> exists
>>> which can do the same but also accept the proxy properties ?
>>
>>
>> In fact, I also tried codehaus' wagon-maven-plugin (with goal
>> download-single), but I had the same problem ;-(
>>
>>>
>>> The other possible option for doing the local builds without the internet
>>> access, predownload this file and update the build to check the file from
>>> the local directory too ?
>>
>>
>> Yes. If we can configure the build to check for a local copy and then
>> upon not finding it, use this download plugin to go to the internet,
>> that would be a good option.
>>
> May be having a profile would simplify it if having if/else is tricky to do
> in the pom.xml for it to work :-)

Hi Sergey,
it looks like we can create a profile for downloading this file and
make its activation depend on the absence of this local cached file.
i'll try it out tomorrow.

regards, aki

>
> Cheers, Sergey
>
>
>> regards, aki
>>
>>>
>>> Cheers, Sergey
>>>
>>> On 22/01/15 10:14, Aki Yoshida wrote:
>>>>
>>>>
>>>> the current CXF snapshots uses com.googlecode.maven-download-plugin to
>>>> download a remote file during build. The background for this is
>>>> described in https://issues.apache.org/jira/browse/CXF-6143.
>>>>
>>>> I am trying to make this plugin use a local http proxy. I have tried
>>>> setting those java proxy properties -Dhttps.proxyHost etc in my
>>>> MAVEN_OPTS and also setting https_proxy system properties. but it is
>>>> not working. Does anyone know how to make this plugin use an http
>>>> proxy?
>>>>
>>>> Thanks.
>>>>
>>>> regards, aki
>>>>
>>>
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com

Mime
View raw message