I think all elements are optional. And there is no harm to try for
your self if it will work or not. :-)
There is a template settings.xml (which is also default global
settings) in <maven install dir>\conf\settings.xml
So, minimal proxy config is something like that (you can drop user
name and pass if your proxy don't requite auth).
<settings>
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net,some.host.com</nonProxyHosts>
</proxy>
</proxies>
Andy Dingfelder wrote:
those look like exactly what I need.
Do they go in the pom.xml ? or the settings.xml?
(I tried adding to the pom.xml and it had no effect so I assume it is
settings.xml.)
Since there was no default settings.xml file created by the eclipse
install process,
I'm wondering how to proceed... Im wondering if there are some
manditory elements in a settings.xml
Searching the newsgroups, I see a possible default... will this work?
<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
[EMAIL PROTECTED] 24/01/2007 11:15 a.m. >>>
http://maven.apache.org/settings.html#proxies
http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
Andy Dingfelder wrote:
Looking at trying to skip the surefire test,
Im not 100% sure how to do that.
I assume you mean to go to the builders property page and edit the
maven builder
and then in the main tab add a parameter of maven.test.skip = true
Is that what you meant? or is there some other way to do it?
I tried that and it had no effect.
I am trying to run on the command line but ran into some issues.
For instance, I have no settings.xml and since I am normally running
from the plugin,
I am not sure if I need to define one and what to put in it.
Also, I am behind a proxy, and am not sure how to configure command
line maven to know about my proxy server.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WARNING: This email and any attachments may be confidential and/or
privileged. They are intended for the addressee only and are not to be read,
used, copied or disseminated by anyone receiving them in error. If you are
not the intended recipient, please notify the sender by return email and
delete this message and any attachments.
The views expressed in this email are those of the sender and do not
necessarily reflect the official views of Landcare Research.
SirTrack
http://www.sirtrack.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