Re: [M2] how to setup proxy in POM?

2006-03-15 Thread David Delbecq
Szczepan Faber a écrit : >Are you using 'maven IDE' plugin? The doc says >(http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html) that >proxy is not supported as well in this plugin. > >How did you make it work in proxied network? I pass vm args >(-DproxySet, ...) to startup.jar but still

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread Szczepan Faber
> Running Maven from the command line is the ONE TRUE TEST Agreed :) but... in our environment cruise control does it, so ONE TRUE TEST is fired many times a day and on nightly build. > Also not everyone likes the same IDE. We have people using Eclipse Sure, but everyone likse IDE that speeds th

RE: [M2] how to setup proxy in POM?

2006-03-14 Thread Siegmann Daniel, NY
> > > Everything else (build, run, jar:install, tests) is > > > run with 'maven xyz' from command line, it's easier to manage. > > > > Can you explain how com it may be easier to manage? In my > opinion it > > is just inconvenient. Imagine working this way with ant, which is > > tightly incorpor

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread Wayne Fay
> > Everything else (build, run, jar:install, tests) is > > run with 'maven xyz' from command line, it's easier to manage. > > Can you explain how com it may be easier to manage? In my opinion it > is just inconvenient. Imagine working this way with ant, which is > tightly incorporated into Eclipse

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread Szczepan Faber
Are you using 'maven IDE' plugin? The doc says (http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html) that proxy is not supported as well in this plugin. How did you make it work in proxied network? I pass vm args (-DproxySet, ...) to startup.jar but still with no effect. > Everything e

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread David Delbecq
In tyhe script that starts eclipse, those are jvm argument to pass to the java.exe program. Also, here with maven 1, we don't rely on eclipse plugin for anything else than updating project class path (pom synchronization), and project.xml edition. Everything else (build, run, jar:install, tests) i

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Wayne Fay
Found a webpage that should help: http://help.eclipse.org/help21/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running_eclipse.htm Advanced Topics in Running Eclipse The Eclipse executable and the platform itself offer a number of execution options of interest to people developing or debug

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Wayne Fay
If I'm not mistaken, the Windows eclipse.exe executable is just one way to start Eclipse. Obviously, users on Mac and Linux are able to use Eclipse without using it. Try java -jar startup.jar in the Eclipse directory. Then pass whatever command line arguments you want to it. Wayne On 3/13/06, S

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
I need to make it work ASAP :) If my effort in maven plugin fails, I will have to code ant scripts which are relicts of stone age. How can I use those CL arguments??? I tried to put them into windows eclipse link, the ini file, and jvm properties in eclipse JRE settings. No effect. Thanks, Szcze

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Alexandre Poitras
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

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
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

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread David Delbecq
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 eclips

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
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?

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Alexandre Poitras
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 Fa