You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/12/23 14:35:02 UTC
[maven-shared-resources] branch master updated: [MSHARED-968]
Exclude module-info.java checks
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git
The following commit(s) were added to refs/heads/master by this push:
new 5fbc3eb [MSHARED-968] Exclude module-info.java checks
5fbc3eb is described below
commit 5fbc3eb45e747f17cccd193e5e4b1828b87c91dd
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Dec 23 15:34:06 2020 +0100
[MSHARED-968] Exclude module-info.java checks
---
src/main/resources/config/maven_checks.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main/resources/config/maven_checks.xml b/src/main/resources/config/maven_checks.xml
index f04a0c8..18dc6be 100644
--- a/src/main/resources/config/maven_checks.xml
+++ b/src/main/resources/config/maven_checks.xml
@@ -29,6 +29,11 @@ under the License.
<module name="Checker">
+ <!-- BeforeExecutionFileFilters is required for sources that are based on java9 -->
+ <module name="BeforeExecutionExclusionFileFilter">
+ <property name="fileNamePattern" value="module\-info\.java$" />
+ </module>
+
<!-- Checks that each Java package has a Javadoc file used for commenting. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage -->
<!--module name="JavadocPackage">