diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-01-06 12:00:36 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-01-06 12:02:40 +0000 |
commit | 2f71ba60e9822f81adde498bf0f46196a198fed9 (patch) | |
tree | c07b1b555187de19e4f71966d05f11a7060cdff1 | |
parent | 17ba3c5161b36525b86d5522d876db101fcfc6f0 (diff) |
unify java warnings
* these were stricter than in parent, but to simplify
we can just use compiler args from parent
-rw-r--r-- | application-preprocessor/pom.xml | 7 | ||||
-rw-r--r-- | application/pom.xml | 7 | ||||
-rw-r--r-- | config-class-plugin/pom.xml | 7 | ||||
-rw-r--r-- | configgen/pom.xml | 7 | ||||
-rw-r--r-- | controller-api/pom.xml | 7 | ||||
-rw-r--r-- | documentapi/pom.xml | 7 | ||||
-rw-r--r-- | filedistribution/pom.xml | 7 | ||||
-rw-r--r-- | http-utils/pom.xml | 5 | ||||
-rw-r--r-- | jdisc_core/pom.xml | 9 | ||||
-rw-r--r-- | jrt/pom.xml | 7 | ||||
-rw-r--r-- | logserver/pom.xml | 8 | ||||
-rw-r--r-- | messagebus/pom.xml | 7 | ||||
-rw-r--r-- | metrics/pom.xml | 7 | ||||
-rw-r--r-- | node-repository/pom.xml | 8 | ||||
-rw-r--r-- | security-utils/pom.xml | 5 | ||||
-rw-r--r-- | service-monitor/pom.xml | 8 | ||||
-rw-r--r-- | vdslib/pom.xml | 7 | ||||
-rw-r--r-- | vespa-feed-client-api/pom.xml | 5 | ||||
-rw-r--r-- | vespa-feed-client-cli/pom.xml | 5 | ||||
-rw-r--r-- | vespa-feed-client/pom.xml | 5 | ||||
-rw-r--r-- | vespaclient-java/pom.xml | 7 | ||||
-rw-r--r-- | vespajlib/pom.xml | 8 | ||||
-rw-r--r-- | vespalog/pom.xml | 7 |
23 files changed, 0 insertions, 157 deletions
diff --git a/application-preprocessor/pom.xml b/application-preprocessor/pom.xml index 8eaf8bc6ac1..a021577f838 100644 --- a/application-preprocessor/pom.xml +++ b/application-preprocessor/pom.xml @@ -69,13 +69,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-try</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/application/pom.xml b/application/pom.xml index 2496b8becc5..c9e8d767ab5 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -151,13 +151,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/config-class-plugin/pom.xml b/config-class-plugin/pom.xml index 21c9a67e479..0819073e953 100644 --- a/config-class-plugin/pom.xml +++ b/config-class-plugin/pom.xml @@ -45,13 +45,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-processing</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/configgen/pom.xml b/configgen/pom.xml index 2f0d4fd7410..ad8e1672dad 100644 --- a/configgen/pom.xml +++ b/configgen/pom.xml @@ -25,13 +25,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/controller-api/pom.xml b/controller-api/pom.xml index 44322cc8166..5b81b793534 100644 --- a/controller-api/pom.xml +++ b/controller-api/pom.xml @@ -103,13 +103,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>com.yahoo.vespa</groupId> diff --git a/documentapi/pom.xml b/documentapi/pom.xml index 1de84b29c9f..7d91e246cfe 100644 --- a/documentapi/pom.xml +++ b/documentapi/pom.xml @@ -45,13 +45,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>com.helger.maven</groupId> diff --git a/filedistribution/pom.xml b/filedistribution/pom.xml index e5c4e921e85..124703c24b8 100644 --- a/filedistribution/pom.xml +++ b/filedistribution/pom.xml @@ -96,13 +96,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/http-utils/pom.xml b/http-utils/pom.xml index be62b7adb35..4a84fb820eb 100644 --- a/http-utils/pom.xml +++ b/http-utils/pom.xml @@ -69,11 +69,6 @@ <configuration> <release>${vespaClients.jdk.releaseVersion}</release> <showDeprecation>true</showDeprecation> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> </configuration> </plugin> </plugins> diff --git a/jdisc_core/pom.xml b/jdisc_core/pom.xml index 4a68c8e0cac..c651f6528b7 100644 --- a/jdisc_core/pom.xml +++ b/jdisc_core/pom.xml @@ -177,15 +177,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-processing</arg> - <arg>-Xlint:-try</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/jrt/pom.xml b/jrt/pom.xml index 43796b916ca..e8a68f06137 100644 --- a/jrt/pom.xml +++ b/jrt/pom.xml @@ -53,13 +53,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/logserver/pom.xml b/logserver/pom.xml index 99979ac3a60..19f422f3a86 100644 --- a/logserver/pom.xml +++ b/logserver/pom.xml @@ -57,14 +57,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Xlint:-cast</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/messagebus/pom.xml b/messagebus/pom.xml index efc1997d2e5..ff55a4eca96 100644 --- a/messagebus/pom.xml +++ b/messagebus/pom.xml @@ -61,13 +61,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Werror</arg> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/metrics/pom.xml b/metrics/pom.xml index 172e3c62179..b0482e26697 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -25,13 +25,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-unchecked</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> diff --git a/node-repository/pom.xml b/node-repository/pom.xml index 72a303b237d..0227ada15af 100644 --- a/node-repository/pom.xml +++ b/node-repository/pom.xml @@ -136,14 +136,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-try</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> </plugins> </build> diff --git a/security-utils/pom.xml b/security-utils/pom.xml index 55b4b190f97..ac856dff6c3 100644 --- a/security-utils/pom.xml +++ b/security-utils/pom.xml @@ -74,11 +74,6 @@ <configuration> <release>${vespaClients.jdk.releaseVersion}</release> <showDeprecation>true</showDeprecation> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> </configuration> </plugin> <plugin> diff --git a/service-monitor/pom.xml b/service-monitor/pom.xml index b8ac12ebb4e..067ea451e35 100644 --- a/service-monitor/pom.xml +++ b/service-monitor/pom.xml @@ -136,14 +136,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Xlint:-try</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/vdslib/pom.xml b/vdslib/pom.xml index a7e10ce7f78..ab7175918db 100644 --- a/vdslib/pom.xml +++ b/vdslib/pom.xml @@ -56,13 +56,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>com.yahoo.vespa</groupId> diff --git a/vespa-feed-client-api/pom.xml b/vespa-feed-client-api/pom.xml index df5fd531f06..7760ed5f1c4 100644 --- a/vespa-feed-client-api/pom.xml +++ b/vespa-feed-client-api/pom.xml @@ -41,11 +41,6 @@ <configuration> <release>${vespaClients.jdk.releaseVersion}</release> <showDeprecation>true</showDeprecation> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> </configuration> </plugin> <plugin> diff --git a/vespa-feed-client-cli/pom.xml b/vespa-feed-client-cli/pom.xml index 16d6f8827f2..04f9e308cfa 100644 --- a/vespa-feed-client-cli/pom.xml +++ b/vespa-feed-client-cli/pom.xml @@ -53,11 +53,6 @@ <configuration> <release>${vespaClients.jdk.releaseVersion}</release> <showDeprecation>true</showDeprecation> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> </configuration> </plugin> <plugin> diff --git a/vespa-feed-client/pom.xml b/vespa-feed-client/pom.xml index a53e7f78b20..a7c4ab0a13c 100644 --- a/vespa-feed-client/pom.xml +++ b/vespa-feed-client/pom.xml @@ -56,11 +56,6 @@ <configuration> <release>${vespaClients.jdk.releaseVersion}</release> <showDeprecation>true</showDeprecation> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> </configuration> </plugin> <plugin> diff --git a/vespaclient-java/pom.xml b/vespaclient-java/pom.xml index 613176509d9..d8530fd9d82 100644 --- a/vespaclient-java/pom.xml +++ b/vespaclient-java/pom.xml @@ -69,13 +69,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/vespajlib/pom.xml b/vespajlib/pom.xml index 236e33b3a70..b4898b14b86 100644 --- a/vespajlib/pom.xml +++ b/vespajlib/pom.xml @@ -105,14 +105,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-try</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/vespalog/pom.xml b/vespalog/pom.xml index d867da2180e..08d73816e63 100644 --- a/vespalog/pom.xml +++ b/vespalog/pom.xml @@ -60,13 +60,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <arg>-Xlint:all</arg> - <arg>-Xlint:-serial</arg> - <arg>-Werror</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> |