Hi Paul, > Hi, > > The following is haunting me since a while: Maven does not > seem to have > full-fledged target but I can't really believe it.
Maven use the werkz libery integrated in Jelly. You are able to write goals in maven: preGoal - runs before a already existing goal goal - a standard goal postGoal - runs after a already existing goal e.g. <goal name="test"> <echo>Hello</echo> </goal> All exsting goals come from the installed plugins. Type maven -g to see what goals are avaliable. e.g try java:compile or jar:install or site and see what maven does. > > Within the same codebase, several targets would be made to produce > different results, presumably have different dependencies, and have > certainly a few other goals. However, certain things could be shared. > Would the only idea to do this be to make a different > project.xml (i.e. > a project-myTarget.xml), what about the maven.xml ? You can create your own goals into maven.xml with is a jelly script. Maven's goal conept is much more powerfull than ant's targets. BTW: Did you know that you can resue all maven tasks in your jelly scripts. Hope that helps. Bye Toby -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
