You should use command line arguments as David has suggested, but
proxy support is now in beta I think so it shouldn't be long until it
works out of the box :)

On 3/13/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> I use windows, I place following in eclipse.ini with no effect
>
> -DproxySet=true
> -DproxyHost=xxx.com
> -DproxyPort=80
>
> Still, I have always had proxy set in eclipse properties but this only
> works for updates, and some other stuff, but not in Maven 2 plugin.
>
>
> 2006/3/13, David Delbecq <[EMAIL PROTECTED]>:
> > Did you try editing eclipse startup script to add this to java startup
> > line? This is how you proxy enable any java application.
> >
> > java -DproxySet=true -DproxyHost=myProxyServer.com -DproxyPort=80 MyJavaApp
> >
> > Szczepan Faber a écrit :
> >
> > >I've read that this is the only way to make it work with M2 eclipse plugin.
> > >
> > >Starting here:
> > >http://jira.codehaus.org/browse/MNGECLIPSE-29
> > >
> > >I agree that proxy setting configuration should be the feat of
> > >environment and not project. Did anyone configure the M2 plugin with
> > >eclipse in proxied network? Proxies are very common in IT companies so
> > >the issue really limits use of maven 2.
> > >
> > >Thanks,
> > >Szczepan
> > >
> > >
> > >2006/3/13, Alexandre Poitras <[EMAIL PROTECTED]>:
> > >
> > >
> > >>It is not possible and for a simple reason the proxy setting is not
> > >>something consistant across a project. If you could put your proxy
> > >>config in your pom.xml, your build could become not portable since a
> > >>proxy is a specific environment setting.
> > >>
> > >>Why do you want to do this?
> > >>
> > >>
> > >>On 3/13/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >>>Hi,
> > >>>
> > >>>How to setup proxy from Maven2 in pom file? I know I can do it in
> > >>>settings.xml, but that does not work for m2 eclipse plugin. That is
> > >>>why I'd like to setup proxy in pom.
> > >>>
> > >>>Thanks,
> > >>>Szczepan
> > >>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>>
> > >>>
> > >>--
> > >>Alexandre Poitras
> > >>Québec, Canada
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to