Re: [Clirr-devel] Multiproject build fails
Status: Alpha
Brought to you by:
lkuehne
From: <lak...@t-...> - 2004-08-15 11:18:45
|
Vincent Massol wrote: >>>[...] >>> >>> >>Thanks, that helped. I can now build both subprojects and the combined >>website, but I think there is currently no way to do it all in one step >>(jar:install isn't being called). I'll try to resolve that ASAP, but >>help would be much appreciated. >> >> > >To do it all in one step, you can create a custom goal in the the toplevel >maven.xml: > ><goal name="dist"> > <j:set var="goal" value="dist"/> > <attainGoal name="dist"/> ></goal> > ><goal name="dist-site" prereqs="dist,multiproject:site"/> > >And then in each subproject's maven.xml, have a custom dist goal. For >example for core: > ><goal name="dist" prereqs="jar:install"/> > >For maven: > ><goal name="dist" prereqs="plugin:install"/> > >-Vincent > > OK, I have it working, you should now be able to use "maven dist" in the toplevel project to build everything. Thanks, Lars |