chokdee schrieb:
Hi all,
Hi,
i am new to maven but have many experience in Ant. After reading "Better Builds with maven..." I didnt read how to build my own goals.
Goals (also called mojos) are part of a plugin. How to develop new plugins is described in chapter 5 of the book you mention.
However, writing custom plugins is rarely needed these days as there are plugins available for many use-cases. The plugins developed by the maven team are listed here [1] and more plugins are available from the mojo project [2] over at codehaus.org. If you don't find a suitable plugin at this sites and a web search like '{your actual topic} maven plugin' also fails, feel free to just ask on this list.
E.g I want to write a masterbuild goal, that do everything necessary for the team.
Reading the above sentence, I have the gut feeling that you misunderstood the maven way of managing builds, because this 'masterbuild goal' as you call it is probably exactly what the pom.xml is meant for.
If you can describe in more detail what your masterbuild goal should do, we can help you do it the maven way.
Regards Juergen
-Tim [1] http://maven.apache.org/plugins/ [2] http://mojo.codehaus.org/plugins.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
