Note it also prevents a site build if you don't have SVN installed. My previous changes to this were to continue its support but improve it to a minimal download. I'll move this functionality to a profile as it is only of concern when updating the site.
Alex On Sat, 4 Sep 2021, 14:46 Gilles Sadowski, <[email protected]> wrote: > Hello. > > Le ven. 3 sept. 2021 à 09:32, Alex Herbert <[email protected]> a > écrit : > > > > Hi, > > > > On Fri, 3 Sept 2021 at 00:29, Gilles Sadowski <[email protected]> > wrote: > > > > > > > > > > I noticed that missing "site-content" directories still lead to the > > > contents being downloaded as part of the build. > > > I thought the "fix" was that it would not occur by default; or did > > > I miss something? > > > > > > > The current solution is that the top-level directory of the existing site > > is checked out in the parent module (i.e. non recursive site checkout). > So > > you do get a few files logged by maven as being checked out during the > > 'site' goal. There should be a 'site-content.README' file created which > > contains information about the site-content directory. It has to be > outside > > the site-content directory. In all the child modules an otherwise empty > > site-content directory is created with a README inside to indicate why it > > is there. A repeat of the site build should detect all the directories > are > > present and not invoke the checkout again. > > > > All this should be removed by using the 'clean' goal. > > > > Are you getting a total site checkout or just the solution I described? > > It works as you describe. > > Taking a step back, I'm still missing why there is any download > from SVN in order to fulfill the "site" target (a local build of the site > from the source release should not need "external" material, IIUC). > > Regards, > Gilles > > > [...] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
