Hi Matt,

Thanks for the info. I did not realise the source distribution did not
include the .gitignore file. I'll reroll an RC2 tomorrow fixing the
problems caused by the non essential SVN site checkout and the files it
creates.

Alex

On Sun, 5 Sep 2021, 21:13 Matt Juntunen, <matt.a.juntu...@gmail.com> wrote:

> Hi Alex,
>
> > The .gitignore file contains the entry 'site-content*'. This allows the
> > file to be ignored in Linux or Mac. I've never tried windows.  So this
> fails?
>
> > mvn pre-site
> > mvn apache-rat:check
>
> Yes, it fails. I'm building from the source distribution which does
> not include the .gitignore file. It will pass if I either
> - add a .gitignore file with a "site-content*" entry or
> - add "**/site-content.README" as an exclusion in the pom rat
> configurations.
>
> The second option is what I did for commons-geometry.
>
> -Matt
>
> On Sun, Sep 5, 2021 at 9:38 AM Alex Herbert <alex.d.herb...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > On Sun, 5 Sept 2021 at 13:51, Matt Juntunen <matt.a.juntu...@gmail.com>
> > wrote:
> >
> >
> > > [ERROR] Failed to execute goal
> > > org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project
> > > commons-rng-parent: Too many files with unapproved license: 1 See RAT
> > > report in:
> > >
> C:\Users\matt\projects\commons-rng-1.4-src\commons-rng-1.4-src\target\rat.txt
> > > -> [Help 1]
> > >
> > > The failed file is site-content.README. In commons-geometry, I had to
> > > explicitly add this file to the rat excludes in the pom in order to
> > > get the build to pass.
> > >
> >
> > The .gitignore file contains the entry 'site-content*'. This allows the
> > file to be ignored in Linux or Mac. I've never tried windows. So this
> fails?
> >
> > mvn pre-site
> > mvn apache-rat:check
> >
> > Because the newly created site-content.README is not ignored on windows.
> >
> >
> > > I also noticed that the userguide Dependencies section still lists the
> > > required Java version as 1.7+. I don't consider that a blocker in
> > > itself but we might want to update that as well.
> > >
> >
> > Thanks for spotting the issue.
> >
> > Given the issues with the site-content download I think I will fix this
> and
> > re-roll an RC2.
> >
> > Alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to