summaryrefslogtreecommitdiffstats
path: root/vespalog/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-01-25 12:31:27 +0100
committergjoranv <gv@verizonmedia.com>2022-01-25 23:45:18 +0100
commita32533629e7cb95f35f312041f8b8b3157f47f0c (patch)
tree139ddb0b20cae5a2123ccd6bf695b43527b76b01 /vespalog/pom.xml
parente114e209caed815a3e511e78b26e0894c6cec7c1 (diff)
Deprecate package c.y.log.event.
Diffstat (limited to 'vespalog/pom.xml')
-rw-r--r--vespalog/pom.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/vespalog/pom.xml b/vespalog/pom.xml
index 08d73816e63..94be1302e30 100644
--- a/vespalog/pom.xml
+++ b/vespalog/pom.xml
@@ -48,6 +48,18 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <!-- TODO Vespa 8: remove configuration.
+ Included to allow 'removal' warnings for classes in its own module -->
+ <configuration>
+ <compilerArgs>
+ <arg>-Xlint:all,-serial,-try,-processing,-removal</arg>
+ <arg>-Werror</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>once</forkMode>
@@ -59,10 +71,6 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>