CommuterJoy » Logbook

« logbook home

Posted by mattc at Nov 18, 08 09:40 PM ... Comments (0)

I'm trying out Maven at work, it's not much fun.

It solves some of your problems quite neatly, like JAR dependencies. The subscriber concept works conceptually (ie. in Ant terms, targets listen out for standardised events rather than having to chain them together), but all the documentation I've read explains things in such a roundabout way that it just confuses matters. Here's a helpful quote from the O'Reilly Maven book (page 182),

The interesting phase in the clean lifecycle is the clean phase. The Clean plugin's clean goal (clean:clean) is bound to the clean phase in the clean lifecycle. The clean:clean goal deletes the output of a build by deleting the build directory.

Got that? Rather than,

<target name="clean">
 <delete dir="${build.dir}"/>
<target>

One good thing: Maven has a published XSD, which I don't think Ant has ever bothered with.

Maybe I'll get it in a week or two.

Comments (0)

Post Your Comments

random bookmark
link summary month October 2009 (1)
September 2009 (14)
August 2009 (16)
July 2009 (21)
June 2009 (24)
May 2009 (16)
April 2009 (2)
March 2009 (22)
February 2009 (11)
January 2009 (11)
December 2008 (9)
November 2008 (16)
October 2008 (18)
September 2008 (11)
August 2008 (12)
July 2008 (20)
June 2008 (15)
May 2008 (27)
April 2008 (9)
March 2008 (10)
February 2008 (8)
January 2008 (8)
December 2007 (12)
November 2007 (10)
October 2007 (10)
September 2007 (6)
August 2007 (13)
July 2007 (8)
June 2007 (10)
May 2007 (12)
April 2007 (5)
March 2007 (12)
February 2007 (13)
January 2007 (22)
December 2006 (21)
November 2006 (28)
August 2006 (1)
category code (15)
food (4)
notes (4)
photo (18)
project (2)
quote (12)
sketch (13)
soup (10)
travel (2)