Pages

Friday, 8 August 2008

Using Maven to Work with Others

I have watched a number of developers fall over the handling of Maven SNAPSHOTS today; so it was time to take action.

The general idea is an email is sent out saying "new snapshot deployed please build with -U" - here is what that means:

  1. Update
    svn up
  2. build using the -U option
    mvn clean install -U -Dmaven.test.skip=true
The above example skipped the tests (which is common when you are trying to pull down a quick update and keep working), please note by definition that "-U" is not compatible with the "-o" offline mode.

If you are working on uDig there is an extra step; you need to run the libs refres.xml script which will use a "maven ant task" to pull the changed jars in for your.

Documentation harmed in the making of this post:

2 comments:

Fryderyka said...

Hi Jody,

(I'm not sure if this is the right blog, but I couldn't find another way to contact you.)

I'm trying to follow examples you posted in the GeoTools manual. I'm especially interested in GML3. I have problems with the one from Justin Deoliveira called GML3ParsingTest.java. I can't figure all the libraries required by the example. Can you send me a POM? Also, do you have files called states.xsd and states.xml that this example uses?

I appreciate your help,

Bohdan Kalman

Alwin Co Daan said...

Great Article
Java Projects for Engineering Students

IEEE projects

for CSE 2020


JavaScript Training in Chennai

JavaScript

Training in Chennai