Michael Post wrote:
Hello,
i want to run a maven-script (openJPA), but maven can not access to internet
through our internal proxy.
I have create the file build.properties under C:\document and settings\post
with the following content:
# Maven ${user.home}/build.properties
# General local settings - overrides
maven.proxy.host=[IP-Adress]
maven.proxy.port=8081
As [IP-Adress] is inserted the real adress.
I am very be pleased if you can help me.
Thanks
Michael
The settings for maven (2) is an xml file at this location:
C:\Documents and Settings\<your login>\.m2\settings.xml
- <#> <settings>
<<proxies>
- <#> <proxy>
<active>true</active>
<protocol>http</protocol>
<host><YOUR HOST NAME eg: 123.34.54.67></host>
<port><YOUR PORT eg 8081></port>
<username />
<password />
</proxy>
</proxies>
[...]
</settings>
Username and password can also be set depends on your config.
HTH,
Xavier.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]