I see what you are getting at. The maven docs which mention goals in maven.xml
http://maven.apache.org/reference/user-guide.html#maven.xml
are basically not giving any info, and they refere you to jelly tag docs which don't have any info on the werkz tags themselves. Your best bet at this point is just to take a look at some of the maven.xml files for some of the maven plugins, which usually exercise goals pretty much. There is actually not a lot to it, basically you define goals, preGoals (which will get executed before the goal specified as the "name" attribute, and postGoals, which get executed afterwards. So if you want to for example have some code of yours in maven.xml execute before the built-in java:compile goal, you would define something like this in maven.xml
<preGoal name="java:compile">
...some code
</preGoal>


Hope this helps...


Neil Blue wrote:


Thanks Colin,

What I was looking for was some information on what goals are and how to write them. As far as I understand, in order to add project specific functionality to maven I need to add goals in a similar way as I added targets in ant.

Cheers
Neil

Colin Sampaleanu wrote:

You can find some werkz documentation here:
http://werkz.werken.com/
although you normally shouldn't have to understand werkz that much if all you want to do is use maven (as opposed to hacking it).



Neil Blue wrote:


Hello,

I am trying to get started with Maven, but I can't find any documentation on werkz or jeez. Please can anyone tell me if any is available.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to