Category Archives: General

How to Configure Maven to work with NTLM proxies

I recently installed Maven at a client site that had a NTLM proxy, and ran into issues because it was failing to download maven dependencies. I was following the instructions provided by Maven to correctly setup my proxy settings, without any luck!

I kept getting the following error when attempting to run mvn install goal to set up the project:

1
2
3
4
5
6
7
8
9
C:Dev\MavenTest> mvn clean install
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifa
escriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-pl
:pom:2.4.1 from/to central (http://repo.maven.apache.org/maven2): Not authorized by proxy, ReasonPhrase:Proxy Authentication Required (
ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ). -> [Help 1]
...

After few hours of Googling and trial and error, I finally found two methods of getting Maven to work with NTLM proxies.

Continue reading

Setting up MMS, GPRS and 3G with 2Degrees (NZ) on Android phones

I am with 2degrees, a local mobile operator in New Zealand. However, they do not provide clear cut instructions on setting up mobile internet (either 3G or GPRS) and MMS on smart-phones. Here is a step-by-step guide on how to setup MMS and Internet on your Android phone. The settings are tested on HTC Hero (with Android 1.5 HTC ROM) and work flawlessly. I can send and receive MMS messages without any problem. Browsing is extremely painful with GPRS, so I only tested GPRS using the gmail app.

Last Updated: 2012/06/05 to add an extra step to get MMS/3G working.

Continue reading