Michael Blow has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/2208
Change subject: [NO ISSUE] Add property for javac -Xlint value
......................................................................
[NO ISSUE] Add property for javac -Xlint value
Change-Id: Idded539a7cdbb0ccd3e1688804afadf5ba4b016d
---
M asterixdb/pom.xml
M hyracks-fullstack/pom.xml
2 files changed, 4 insertions(+), 2 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/08/2208/1
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index f98663b..a622f2f 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -46,6 +46,7 @@
<file.encoding>UTF-8</file.encoding>
<jvm.extraargs />
<jdk.version>1.8</jdk.version>
+ <javac.xlint.value>all</javac.xlint.value>
<runSlowAQLTests>false</runSlowAQLTests>
<appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
<sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
@@ -157,7 +158,7 @@
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
- <compilerArgument>-Xlint:all</compilerArgument>
+ <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
</configuration>
</plugin>
<plugin>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index ba489fa..9d95d8f 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -53,6 +53,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<file.encoding>UTF-8</file.encoding>
<jdk.version>1.8</jdk.version>
+ <javac.xlint.value>all</javac.xlint.value>
<jvm.extraargs />
<sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
<source-format.skip>false</source-format.skip>
@@ -260,7 +261,7 @@
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
- <compilerArgument>-Xlint:all</compilerArgument>
+ <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
</configuration>
</plugin>
<plugin>
--
To view, visit https://asterix-gerrit.ics.uci.edu/2208
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idded539a7cdbb0ccd3e1688804afadf5ba4b016d
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Michael Blow <[email protected]>