You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2017/10/21 18:52:00 UTC
[jira] [Assigned] (RAT-243) Add Eclipse Checkstyle hidden file to
useEclipseDefaultExcludes
[ https://issues.apache.org/jira/browse/RAT-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philipp Ottlinger reassigned RAT-243:
-------------------------------------
Assignee: Philipp Ottlinger
> Add Eclipse Checkstyle hidden file to useEclipseDefaultExcludes
> ---------------------------------------------------------------
>
> Key: RAT-243
> URL: https://issues.apache.org/jira/browse/RAT-243
> Project: Apache Rat
> Issue Type: Improvement
> Components: maven
> Affects Versions: 0.11, 0.12
> Environment: Eclipse Oxygen, Checkstyle Plugin 8.0.0.201707161819
> Reporter: Matthew Ouyang
> Assignee: Philipp Ottlinger
> Priority: Minor
> Fix For: 0.13
>
> Attachments: eclipse-cs.patch
>
>
> If you try to configure the Eclipse Checkstyle plugin on any project uses the RAT plugin, then it will fail the apache-rat:check goal automatically. This is because the Eclipse plugin generates a hidden file (.checkstyle) which will not have the required licence file. Since this file is not part of the artifact produced, it should be excluded from consideration by RAT. I used the Maven Clean plugin to reproduce this but any project that uses the RAT plugin will suffice.
> Impact: Cannot use work on projects that depend on the RAT plugin in Eclipse if the Eclipse Checkstyle plugin is used.
> Fix: Add .checkstyle to the list of exclusions. Build RAT with attached patch and rebuild Clean plugin with it. This is a short-term fix. A better fix would be to design a way register exclusions with RAT (eg Eclipse Checkstyle could register .checkstyle).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)