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 <[email protected]> wrote:
>
> Hi,
>
> On Sun, 5 Sept 2021 at 13:51, Matt Juntunen <[email protected]>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to