You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2025/06/09 17:40:13 UTC
Re: (commons-parent) branch master updated: Exclude files from the Rat scan, that are generated by Eclipse.
Hi Jochen,
I've never needed this before and I use Eclipse as well. So I wonder why
you need it.
Gary
On Mon, Jun 9, 2025, 12:32 <jo...@apache.org> wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> jochen pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/commons-parent.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
> new 7b6d853 Exclude files from the Rat scan, that are generated by
> Eclipse.
> 7b6d853 is described below
>
> commit 7b6d85364e3e4c118d0061085311b19b2b9c6bd4
> Author: Jochen Wiedmann <jo...@gmail.com>
> AuthorDate: Mon Jun 9 18:30:22 2025 +0200
>
> Exclude files from the Rat scan, that are generated by Eclipse.
> ---
> pom.xml | 5 +++++
> src/changes/changes.xml | 1 +
> 2 files changed, 6 insertions(+)
>
> diff --git a/pom.xml b/pom.xml
> index 069ee3a..1888d35 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -1012,6 +1012,11 @@
> <exclude>.externalToolBuilders/**</exclude>
> <!-- Visual Studio code files -->
> <exclude>.vscode/**</exclude>
> + <!-- Exclude files, that are generated by Eclipse-->
> + <exclude>.project</exclude>
> + <exclude>.classpath</exclude>
> + <exclude>.settings/**</exclude>
> + <exclude>bin/**</exclude>
> </excludes>
> </configuration>
> <executions>
> diff --git a/src/changes/changes.xml b/src/changes/changes.xml
> index 84a24b5..40b5768 100644
> --- a/src/changes/changes.xml
> +++ b/src/changes/changes.xml
> @@ -60,6 +60,7 @@ The <action> type attribute can be add,update,fix,remove.
> <release version="85" date="YYYY-MM-DD" description="This is a
> feature and maintenance release. Java 8 or later is required.">
> <!-- FIX -->
> <!-- ADD -->
> + <action type="add" dev="jochen">Exclude files from the Rat scan,
> that are generated by Eclipse.</action>
> <!-- UPDATE -->
> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump
> com.puppycrawl.tools:checkstyle from 10.23.1 to 10.25.0 on Java 11 and
> up.</action>
> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump
> org.codehaus.mojo:exec-maven-plugin from 3.5.0 to 3.5.1.</action>
>
>
Re: (commons-parent) branch master updated: Exclude files from the Rat scan, that are generated by Eclipse.
Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Jun 10, 2025, 09:04 Piotr P. Karwasz <pi...@mailing.copernik.eu>
wrote:
> Hi Gary,
>
> On Mon, Jun 9, 2025, 12:32 <jo...@apache.org> wrote:
> > Exclude files from the Rat scan, that are generated by Eclipse.
> On 9.06.2025 19:40, Gary Gregory wrote:
> > I've never needed this before and I use Eclipse as well. So I wonder why
> > you need it.
>
> Apache RAT excludes files listed in `.gitignore` by default, so I
> imagine the problem must be elsewhere.
>
> I remember some edge cases (like multiple `.gitignore` files or
> multi-module Maven builds), where the detection failed, but for the most
> part it is enough to add the Eclipse files to the `.gitignore` file.
>
Right, which is why I don't think we need this.
Gary
>
> Piotr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
Re: (commons-parent) branch master updated: Exclude files from the Rat scan, that are generated by Eclipse.
Posted by "Piotr P. Karwasz" <pi...@mailing.copernik.eu>.
Hi Gary,
On Mon, Jun 9, 2025, 12:32 <jo...@apache.org> wrote:
> Exclude files from the Rat scan, that are generated by Eclipse.
On 9.06.2025 19:40, Gary Gregory wrote:
> I've never needed this before and I use Eclipse as well. So I wonder why
> you need it.
Apache RAT excludes files listed in `.gitignore` by default, so I
imagine the problem must be elsewhere.
I remember some edge cases (like multiple `.gitignore` files or
multi-module Maven builds), where the detection failed, but for the most
part it is enough to add the Eclipse files to the `.gitignore` file.
Piotr
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org