Royale-asjs/pom.xml has

<excludes>
            <!-- JSON files can't contain comments -->
            <exclude>**/*.json</exclude>
             (…)
            <!-- READMEs don't have headers -->
            <exclude>README.md</exclude>
              (….)
    </excludes>

For some reason README.md filter isn’t recursive whereas json files are. No 
idea why. If you are cautious to make sweeping changes you can just add the new 
README.md to the filtered list explicitly, as is done in
<exclude>npm/README.md</exclude>

Which exists there.


From: Harbs<mailto:harbs.li...@gmail.com>
Sent: Monday, November 29, 2021 2:51 PM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Subject: Re: ASDoc

Double ugh.

Adding a readme file caused a build to fail because there’s an “unapproved 
license”.
https://ci-builds.apache.org/job/Royale/job/Royale-asjs/1873/ 
<https://ci-builds.apache.org/job/Royale/job/Royale-asjs/1873/>

How do exclude all README.md files from that check?

> On Nov 29, 2021, at 2:41 PM, Harbs <harbs.li...@gmail.com> wrote:
>
> I just added a comment to a README file in that folder.

Reply via email to