RE: [Clirr-devel] Multiproject build fails
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vma...@pi...> - 2004-08-12 07:29:19
|
> -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Lars K=FChne > Sent: mardi 10 ao=FBt 2004 21:40 > To: cli...@li... > Subject: Re: [Clirr-devel] Multiproject build fails >=20 > Vincent Massol wrote: >=20 > >>[...] > >>Root cause > >>java.lang.NoClassDefFoundError: > >>org/netbeans/lib/cvsclient/event/CVSListener > >>[...] > >> > >>Any ideas? > >> > >> > > > >It probably means that your changelog plugin is not properly = installed on > >your machine and that it hasn't automatically downloaded the netbeans > >cvsclient jar the first time it was run. Try deleting your plugin = cache > and > >run it again. > > > > >=20 > 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=3D"dist"> <j:set var=3D"goal" value=3D"dist"/> <attainGoal name=3D"dist"/> </goal> <goal name=3D"dist-site" prereqs=3D"dist,multiproject:site"/> And then in each subproject's maven.xml, have a custom dist goal. For example for core: <goal name=3D"dist" prereqs=3D"jar:install"/> For maven: <goal name=3D"dist" prereqs=3D"plugin:install"/> -Vincent |