This is an automated email from the ASF dual-hosted git repository.

mmuzaf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new aa63af0  IGNITE-12916: fix checkstyle build under java11 (#7694)
aa63af0 is described below

commit aa63af0c7450926524350f09d843c8e7630d30ec
Author: Maxim Muzafarov <mmu...@apache.org>
AuthorDate: Mon Apr 20 13:17:52 2020 +0300

    IGNITE-12916: fix checkstyle build under java11 (#7694)
---
 .travis.yml    | 12 ++++++------
 parent/pom.xml |  1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 15676e6..e0ddddb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,12 +18,12 @@ jobs:
         - JDK_PROFILES='-P!spark-2.4,!spark,!scala'
       before_script:
       - |
-        export JVM_EXTRA_ARGS='--illegal-access=permit \
-        --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED \
-        --add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
-        --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
-        --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
-        
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
+        export JVM_EXTRA_ARGS='--illegal-access=permit
+        --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
+        --add-exports=java.base/sun.nio.ch=ALL-UNNAMED
+        --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
+        --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
+        
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
         -Djdk.tls.client.protocols=TLSv1.2'
 
 before_cache: rm -rfv $HOME/.m2/repository/org/apache/ignite
diff --git a/parent/pom.xml b/parent/pom.xml
index 423c28d..21615d5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -771,6 +771,7 @@
                                     
<configLocation>../checkstyle/checkstyle.xml</configLocation>
                                     
<suppressionsLocation>../checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
                                     
<includeTestSourceDirectory>true</includeTestSourceDirectory>
+                                    <excludes>**/generated/**/*</excludes>
                                 </configuration>
                             </execution>
                         </executions>

Reply via email to