0.9.9 + Proxy

View: New views
10 Messages — Rating Filter:   Alert me  

0.9.9 + Proxy

by Gaetan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have always had some difficulties running eclipse/m2eclipse behind a proxy, but since i installed the latest dev version, things are getting worse.
It seems the new version does not use my proxy configuration, this results in problems like :
"Plugin could not be resolved: Missing:
----------
1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3

  Try downloading the file manually from the project website."

This problem does not happen when i don't have to use the proxy (back at home).
Is this a known problem? A wrong configuration on my side?

Thank you.


Re: 0.9.9 + Proxy

by Rich Seddon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There could be a problem with proxy support in this build, i haven't  
tried it out yet.  I'll attempt this later today.

But there is another possibility. Does the server you are trying to  
reach require authorization?

There is a known issue in this build with authorization, the embedded  
maven in this build doesn't have authorization support.

This will be fixed in the next dev build.


Rich

On Jul 17, 2009, at 2:04 AM, Gaetan wrote:

>
> I have always had some difficulties running eclipse/m2eclipse behind  
> a proxy,
> but since i installed the latest dev version, things are getting  
> worse.
> It seems the new version does not use my proxy configuration, this  
> results
> in problems like :
> "Plugin could not be resolved: Missing:
> ----------
> 1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3
>
>  Try downloading the file manually from the project website."
>
> This problem does not happen when i don't have to use the proxy  
> (back at
> home).
> Is this a known problem? A wrong configuration on my side?
>
> Thank you.
>
>
> --
> View this message in context: http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24530979.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rich,

  The whole proxy support is been messed up. E.g. you have to declare proxy in settings.xml and there is also proxy settings in Eclipse. Not sure how the new embedderchanges affect that configuration, but before that proxy wasn't working if you had both Eclipse and settings.xml proxy configured, and yet Maven can only work when there is proxy in settings.xml.

  All in all, I think the solution would be to completely override Maven's proxy config from settings.xml and always use Eclipse proxy for both Embedder and externally launched Maven. From the implementation point of view, with old Maven you'll need to replace the WagonManager component (practically the same way as it been done for workspace dependency management) for both embedder and external Maven launch, so proxy settings would be always consistent and won't interfere with other Eclipse plugins. The whole thing should be quite simple to implement.

  regards,
  Eugene


Rich Seddon wrote:
There could be a problem with proxy support in this build, i haven't  
tried it out yet.  I'll attempt this later today.

But there is another possibility. Does the server you are trying to  
reach require authorization?

There is a known issue in this build with authorization, the embedded  
maven in this build doesn't have authorization support.

This will be fixed in the next dev build.


Rich

On Jul 17, 2009, at 2:04 AM, Gaetan wrote:

>
> I have always had some difficulties running eclipse/m2eclipse behind  
> a proxy,
> but since i installed the latest dev version, things are getting  
> worse.
> It seems the new version does not use my proxy configuration, this  
> results
> in problems like :
> "Plugin could not be resolved: Missing:
> ----------
> 1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3
>
>  Try downloading the file manually from the project website."
>
> This problem does not happen when i don't have to use the proxy  
> (back at
> home).
> Is this a known problem? A wrong configuration on my side?
>
> Thank you.
>
>
> --
> View this message in context: http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24530979.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: 0.9.9 + Proxy

by Gaetan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for the quick answer.
Yes, the proxy requires authentication, i 'll wait for the next dev build.

Rich Seddon wrote:
There could be a problem with proxy support in this build, i haven't  
tried it out yet.  I'll attempt this later today.

But there is another possibility. Does the server you are trying to  
reach require authorization?

There is a known issue in this build with authorization, the embedded  
maven in this build doesn't have authorization support.

This will be fixed in the next dev build.


Rich

On Jul 17, 2009, at 2:04 AM, Gaetan wrote:

>
> I have always had some difficulties running eclipse/m2eclipse behind  
> a proxy,
> but since i installed the latest dev version, things are getting  
> worse.
> It seems the new version does not use my proxy configuration, this  
> results
> in problems like :
> "Plugin could not be resolved: Missing:
> ----------
> 1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3
>
>  Try downloading the file manually from the project website."
>
> This problem does not happen when i don't have to use the proxy  
> (back at
> home).
> Is this a known problem? A wrong configuration on my side?
>
> Thank you.
>
>
> --
> View this message in context: http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24530979.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: 0.9.9 + Proxy

by Rich Seddon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Actually, not the authorization problem will not be with your proxy  
authorization, but with server you are trying to reach through the  
proxy.

So if you are using Nexus and it requires login credentials it won't  
work, regardless of whether you are using a proxy or not.


Rich

On Jul 17, 2009, at 8:23 AM, Gaetan wrote:

>
> Thank you for the quick answer.
> Yes, the proxy requires authentication, i 'll wait for the next dev  
> build.
>
>
> Rich Seddon wrote:
>>
>>
>> There could be a problem with proxy support in this build, i haven't
>> tried it out yet.  I'll attempt this later today.
>>
>> But there is another possibility. Does the server you are trying to
>> reach require authorization?
>>
>> There is a known issue in this build with authorization, the embedded
>> maven in this build doesn't have authorization support.
>>
>> This will be fixed in the next dev build.
>>
>>
>> Rich
>>
>> On Jul 17, 2009, at 2:04 AM, Gaetan wrote:
>>
>>>
>>> I have always had some difficulties running eclipse/m2eclipse behind
>>> a proxy,
>>> but since i installed the latest dev version, things are getting
>>> worse.
>>> It seems the new version does not use my proxy configuration, this
>>> results
>>> in problems like :
>>> "Plugin could not be resolved: Missing:
>>> ----------
>>> 1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3
>>>
>>> Try downloading the file manually from the project website."
>>>
>>> This problem does not happen when i don't have to use the proxy
>>> (back at
>>> home).
>>> Is this a known problem? A wrong configuration on my side?
>>>
>>> Thank you.
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24530979.html
>>> Sent from the Maven Eclipse - User mailing list archive at  
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>   http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24536584.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by Rich Seddon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, that sounds right to me.  I'll check if this is already filed in  
JIRA. If it isn't I'll add it.

Rich

On Jul 17, 2009, at 8:09 AM, Eugene Kuleshov wrote:

>
> Rich,
>
>  The whole proxy support is been messed up. E.g. you have to declare  
> proxy
> in settings.xml and there is also proxy settings in Eclipse. Not  
> sure how
> the new embedderchanges affect that configuration, but before that  
> proxy
> wasn't working if you had both Eclipse and settings.xml proxy  
> configured,
> and yet Maven can only work when there is proxy in settings.xml.
>
>  All in all, I think the solution would be to completely override  
> Maven's
> proxy config from settings.xml and always use Eclipse proxy for both
> Embedder and externally launched Maven. From the implementation  
> point of
> view, with old Maven you'll need to replace the WagonManager component
> (practically the same way as it been done for workspace dependency
> management) for both embedder and external Maven launch, so proxy  
> settings
> would be always consistent and won't interfere with other Eclipse  
> plugins.
> The whole thing should be quite simple to implement.
>
>  regards,
>  Eugene
>
>
>
> Rich Seddon wrote:
>>
>>
>> There could be a problem with proxy support in this build, i haven't
>> tried it out yet.  I'll attempt this later today.
>>
>> But there is another possibility. Does the server you are trying to
>> reach require authorization?
>>
>> There is a known issue in this build with authorization, the embedded
>> maven in this build doesn't have authorization support.
>>
>> This will be fixed in the next dev build.
>>
>>
>> Rich
>>
>> On Jul 17, 2009, at 2:04 AM, Gaetan wrote:
>>
>>>
>>> I have always had some difficulties running eclipse/m2eclipse behind
>>> a proxy,
>>> but since i installed the latest dev version, things are getting
>>> worse.
>>> It seems the new version does not use my proxy configuration, this
>>> results
>>> in problems like :
>>> "Plugin could not be resolved: Missing:
>>> ----------
>>> 1) org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.3
>>>
>>> Try downloading the file manually from the project website."
>>>
>>> This problem does not happen when i don't have to use the proxy
>>> (back at
>>> home).
>>> Is this a known problem? A wrong configuration on my side?
>>>
>>> Thank you.
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24530979.html
>>> Sent from the Maven Eclipse - User mailing list archive at  
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>   http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/0.9.9-%2B-Proxy-tp24530979p24536333.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by desolat-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I also seem to have a proxy issue with the latest m2eclipse build
(0.9.9.200907201117) in Eclipse 3.5. I have to use a proxy without
authentication but get the following error message on index update:

30.07.09 14:57:43 MESZ: Unable to download
Repository[central|http://repo1.maven.org/maven2/.index]/nexus-maven-repository-index.gz:
org.apache.maven.wagon.TransferFailedException: Error transferring
file: Connection timed out: connect
30.07.09 14:57:43 MESZ: Unable to update index for
http://repo1.maven.org/maven2/

Proxy is set both in ~./.m2/settings.xml and in Eclipse. I use the
embedded Maven and have also tried with an external Maven 2.1
installation.

Is there anythink I can do to workaround or fix this issue?

Thx,
Chris

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by Jason van Zyl-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have attempted to fix the proxy issues in Maven trunk and I don't  
believe the latest dev build incorporates these changes. I'll check  
with Igor and we'll push out a new dev build shortly with the proxy  
fixes.

Thanks for the feedback, it's essential to getting Maven 3.x (trunk)  
entirely cleaned up in preparation for m2eclipse 1.0.

On 30-Jul-09, at 6:08 AM, Christoph Jaehnigen wrote:

> I also seem to have a proxy issue with the latest m2eclipse build
> (0.9.9.200907201117) in Eclipse 3.5. I have to use a proxy without
> authentication but get the following error message on index update:
>
> 30.07.09 14:57:43 MESZ: Unable to download
> Repository[central|http://repo1.maven.org/maven2/.index]/nexus-maven-
> repository-index.gz:
> org.apache.maven.wagon.TransferFailedException: Error transferring
> file: Connection timed out: connect
> 30.07.09 14:57:43 MESZ: Unable to update index for
> http://repo1.maven.org/maven2/
>
> Proxy is set both in ~./.m2/settings.xml and in Eclipse. I use the
> embedded Maven and have also tried with an external Maven 2.1
> installation.
>
> Is there anythink I can do to workaround or fix this issue?
>
> Thx,
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------

A language that doesn’t affect the way you think about programming is  
not worth knowing.

-— Alan Perlis


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by desolat-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 17, 2009 at 17:50, Richard Seddon <rseddon@...> wrote:
> Yeah, that sounds right to me.  I'll check if this is already filed in JIRA.
> If it isn't I'll add it.

Richard, could you please send the link to the JIRA issue(s) for the
proxy stuff?

Thx
Chris

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: 0.9.9 + Proxy

by Rich Seddon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chris,

Sorry, I had forgotten to follow up on this.

I had done some searching for proxy issues, the closest I found was: https://issues.sonatype.org/browse/MNGECLIPSE-1378

The comments there describe the proposed solution, although not  
completely.

I've been a little hesitant to file a new issue for this problem.

Specifically,  I'm not completely sure that using the Eclipse proxy  
settings covers all use cases.

Is there anyone out there who has a use case where ignoring the proxy  
settings in "settings.xml" would cause a problem?

Rich


On Sep 30, 2009, at 12:50 AM, Christoph Jaehnigen wrote:

> On Fri, Jul 17, 2009 at 17:50, Richard Seddon <rseddon@...>  
> wrote:
>> Yeah, that sounds right to me.  I'll check if this is already filed  
>> in JIRA.
>> If it isn't I'll add it.
>
> Richard, could you please send the link to the JIRA issue(s) for the
> proxy stuff?
>
> Thx
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email