Hello Tim
thanks for the quick answer.
Normally I use a masterbuild target for do all the necessary stuff for
cruisecontrol.
So, run unit test with emma, make javadoc etc.
I saw that I can do it with calling more targets at once in cruisecontrol.
But i prefer to write a goal for that.
Another sinple problem I have is, that I want to make a copy job to deploy
the jar to a non maven project.
In ant:
<target name="copy-to-otherproject">
<copy todir="../anotherproject/lib" >
...
Can you help?
Thanks
Juergen
Tim Kettler wrote:
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-build-a-own-goal-tp17847591p17848349.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]