Eric, it sounds like you need to use the reactor tag rather than try to retrofit the plugins to your source code using another plugin. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers
"Eric Hartmann" <[EMAIL PROTECTED]> wrote on 21/10/2002 06:59:01 PM: > Hi, > > I've tried Maven for one week and try to integrate my Ant scripts. So > far, Maven is really great. > > After multiple tries, I think the best way for me is to create a plug-in > instead of create preGoal and postGoal because : > - I cannot move all the sources to the Maven directory layout (We have > multiple CVS module and we use already another directory layout, and > also we build multiple "modules" that are dynamically loaded in our > application). > - I have numerous projects with the same layout so I only need to create > one plugin for all those projects. > > I look at the Maven sources and my first problem is to specify multiple > directory to JXR plugin. > > The JXR plugin already contains the method addSourceDir(String > sourceDir), but is there a way to invoke it in a Maven ? > Or is it more appropriate to create a JXR Ant plugin and use it with ant > path refid instead of the JellyBean ? > > The second problem, I need to add more information in project.xml, but > if I understand well, the pom object present in JellyContext is a > org.apache.maven.project.Project object. So I use : > <x:parse var="pom" xml="project.xml"/> > <x:forEach select="$pom/project/build/javaServlet" var="javaServlet"> > ... > </x:forEach> > This works well but is it the correct way to do this? > > And my last question is about the versions of a project, is there a way > to specify jar dependencies depending on the version of the project. For > instance, I have a core project with multiple version (say 1 and 2). The > 1.x release depends on Xerces 1.4.4 but the 2.x release on 2.0.2, is > there a way to specify this in project.xml ? > > Thanks for the great job you've done with Maven and Commons ! > > -Eric > > > -- > To unsubscribe, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > > ForwardSourceID:NT00083072 -- To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
