summaryrefslogtreecommitdiffstats
path: root/vespalog/pom.xml
diff options
context:
space:
mode:
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>