Ian Maxon has submitted this change and it was merged.

Change subject: [NO ISSUE] Add property for javac -Xlint value
......................................................................


[NO ISSUE] Add property for javac -Xlint value

Change-Id: Idded539a7cdbb0ccd3e1688804afadf5ba4b016d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2208
Reviewed-by: Murtadha Hubail <[email protected]>
Integration-Tests: Murtadha Hubail <[email protected]>
Tested-by: Murtadha Hubail <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>
Tested-by: Ian Maxon <[email protected]>
---
M asterixdb/pom.xml
M hyracks-fullstack/pom.xml
2 files changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Murtadha Hubail: Looks good to me, approved; Verified; Verified
  Ian Maxon: Looks good to me, approved; Verified



diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index e29ae92..c200252 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 670a056..9de6526 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>
@@ -267,7 +268,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: merged
Gerrit-Change-Id: Idded539a7cdbb0ccd3e1688804afadf5ba4b016d
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Michael Blow <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Ian Maxon <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>

Reply via email to