maven.xml is a file written by you in your project directory. Emmanuel
-----Message d'origine----- De: Henri Yandell <[EMAIL PROTECTED]> A: Turbine Maven Users List <[EMAIL PROTECTED]> Date: 31/08/02 Objet: Re: info on writing a "pre-goal"; adding libraries to the build On 30 Aug 2002, Jason van Zyl wrote: > > 1) I dug around through the docs and couldn't find information on writing > > your own goals. I found the maven.xml file and see it has goal > > definitions--which look like ant fragments with scripting elements > > added--but I don't see how I can insert a particular goal so it, for > > instance, is executed before, say java:jar. Or instead of. Or after it. I'd > > like to--as suggested--copy all my source files to a single directory so > > Maven will recognize them for site generation purposes only. > > There are pre and post goals. If you wish for a goal to execute before > java:jar say, then you would specify a pregoal like the following: > > <preGoal name="java:jar"> > ... > do this before the goal java:jar is executed > ... > </preGoal> > > You can also do the same with postGoals. Unlike the author of the original email, I'm unable to find the maven.xml. Where does it live? It's not in the zip I download. My actual problem is to figure out just which file I put the <preGoal>s in. I'm looking to xdoclet before I compile. Thanks, Hen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ______________________________________________________________________________ Pour mieux recevoir vos emails, utilisez un PC plus performant ! D�couvrez la nouvelle gamme DELL en exclusivit� sur i (france) http://www.ifrance.com/_reloc/signhdell -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
