Wednesday, December 9, 2009

maven dependency range

if you read about maven enforecer plugin documentation

you will come across


and

http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

I somehow found out that, to allow for snapshots you can also specify [1.0.0-!,2.0.0)

notice the use of exclamation mark!

Thursday, December 3, 2009

building apache tuscany 2.0

If you are building apache tuscany from source and you get errors about a bunch of jars and plugins missing in the maven repository you are pointing to, point your repository to http://repository.apache.org/content/repositories/central

Note that the browser would redirect it to https but you can use http so that maven does not crib about certificates

EDIT: well apache changed their behavior to 302 my requests from http to https


be sure to import the certificate before you want to see javax.net.ssl.SSLHandshakeException