Repository: flink Updated Branches: refs/heads/master dc3337a93 -> c251efca2
[FLINK-4570] disable Scalastyle for flink-mesos Utils file The version change didn't cause the Scalastyle errors. Seems like the only viable solution to prevent random failures of the Scalastyle plugin is to disable Scalastyle checks for the affected source file. Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c251efca Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c251efca Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c251efca Branch: refs/heads/master Commit: c251efca285e58a9658ee43c11125afc4453f3af Parents: dc3337a Author: Maximilian Michels <m...@apache.org> Authored: Fri Sep 2 17:04:51 2016 +0200 Committer: Maximilian Michels <m...@apache.org> Committed: Fri Sep 2 17:15:08 2016 +0200 ---------------------------------------------------------------------- flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala | 3 +++ pom.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/c251efca/flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala ---------------------------------------------------------------------- diff --git a/flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala b/flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala index 80186cf..6f27795 100644 --- a/flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala +++ b/flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala @@ -16,6 +16,8 @@ * limitations under the License. */ +// disable Scalastyle for now to prevent random failures reported in FLINK-4570 +// scalastyle:off package org.apache.flink.mesos import java.util.concurrent.atomic.AtomicLong @@ -52,3 +54,4 @@ object TestFSMUtils { new TestFSMRef(system, Props(factory), supervisor, TestFSMUtils.randomName) } } +// scalastyle:on http://git-wip-us.apache.org/repos/asf/flink/blob/c251efca/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0069ffe..02e868e 100644 --- a/pom.xml +++ b/pom.xml @@ -1157,7 +1157,7 @@ under the License. <plugin> <groupId>org.scalastyle</groupId> <artifactId>scalastyle-maven-plugin</artifactId> - <version>0.5.0</version> + <version>0.8.0</version> <executions> <execution> <goals>