diff --git a/lombok.config b/lombok.config new file mode 100644 index 0000000000000..1be7aa1e6bc18 --- /dev/null +++ b/lombok.config @@ -0,0 +1,25 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +# this is the top level Lombok configuration file +# see https://projectlombok.org/features/configuration for reference + +config.stopBubbling = true + + diff --git a/pom.xml b/pom.xml index bded51b57da50..e4fe0cd501739 100644 --- a/pom.xml +++ b/pom.xml @@ -222,6 +222,10 @@ flexible messaging model and an intuitive client API. 0.8.3 4.1.3 4.2.0 + 2.4.0 + 9+181-r4173-1 + 0.1.4 + rename-netty-native-libs.sh @@ -1075,6 +1079,13 @@ flexible messaging model and an intuitive client API. true false + + + org.projectlombok + lombok + ${lombok.version} + + @@ -1696,6 +1707,126 @@ flexible messaging model and an intuitive client API. + + + errorprone + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + 128m + 1024m + false + + -XDcompilePolicy=simple + -Xlint:-options + + + -Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.* -XepDisableWarningsInGeneratedCode -Xep:UnusedVariable:OFF -Xep:FallThrough:OFF -Xep:OverrideThrowableToString:OFF -Xep:UnusedMethod:OFF -Xep:StringSplitter:OFF -Xep:CanonicalDuration:OFF ${errorprone.arguments.jdk11} + + + + com.google.errorprone + error_prone_core + ${errorprone.version} + + + org.mockito + mockito-errorprone + ${mockito.version} + + + + + + + + + + errorprone-jdk8 + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${errorprone.javac.version}/javac-${errorprone.javac.version}.jar + + + + com.google.errorprone + javac + ${errorprone.javac.version} + + + + + + + + + errorprone-jdk11 + + + + javax.annotation + javax.annotation-api + + + + + + -Xep:Slf4jDoNotLogMessageOfExceptionExplicitly:WARN -Xep:Slf4jSignOnlyFormat:WARN -Xep:Slf4jFormatShouldBeConst:WARN -Xep:Slf4jLoggerShouldBePrivate:WARN -Xep:Slf4jLoggerShouldBeNonStatic:OFF + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + + jp.skypencil.errorprone.slf4j + errorprone-slf4j + ${errorprone-slf4j.version} + + + + + + + diff --git a/pulsar-io/jdbc/lombok.config b/pulsar-io/jdbc/lombok.config index 9a9adee27282c..56e492161b5c2 100644 --- a/pulsar-io/jdbc/lombok.config +++ b/pulsar-io/jdbc/lombok.config @@ -20,4 +20,3 @@ ## This file is to fix the conflict with jackson error like this: ## com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of ... lombok.anyConstructor.addConstructorProperties=true -config.stopBubbling = true