You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/05/10 02:34:35 UTC

[GitHub] wujimin closed pull request #695: [SCB-567] treat warning as errors, modify the compilerArgments

wujimin closed pull request #695: [SCB-567] treat warning as errors, modify the compilerArgments
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/695
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/java-chassis-dependencies/pom.xml b/java-chassis-dependencies/pom.xml
index 10cc5140c..21ba158c7 100644
--- a/java-chassis-dependencies/pom.xml
+++ b/java-chassis-dependencies/pom.xml
@@ -1028,10 +1028,10 @@
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
-            <compilerArguments>
-              <Werror />
-              <Xlint:all />
-            </compilerArguments>
+            <compilerArgs>
+              <arg>-Werror</arg>
+              <arg>-Xlint:all</arg>
+            </compilerArgs>
           </configuration>
         </plugin>
         <plugin>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services