Repository: asterixdb
Updated Branches:
  refs/heads/master 204b2950c -> 2b057010d


[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]>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/2b057010
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/2b057010
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/2b057010

Branch: refs/heads/master
Commit: 2b057010da684bb2180f65596feaef01c2edc661
Parents: 204b295
Author: Michael Blow <[email protected]>
Authored: Thu Dec 7 22:20:39 2017 -0500
Committer: Ian Maxon <[email protected]>
Committed: Fri Dec 8 09:40:25 2017 -0800

----------------------------------------------------------------------
 asterixdb/pom.xml         | 3 ++-
 hyracks-fullstack/pom.xml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/2b057010/asterixdb/pom.xml
----------------------------------------------------------------------
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>

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/2b057010/hyracks-fullstack/pom.xml
----------------------------------------------------------------------
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>

Reply via email to