[ 
https://issues.apache.org/jira/browse/SCB-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468733#comment-16468733
 ] 

WeiChao edited comment on SCB-567 at 5/9/18 11:48 AM:
------------------------------------------------------

{{<configuration>}}
 {{  <compilerArguments>}}
 {{    <Werror />}}
 {{    <Xlint:all />}}
 {{  </compilerArguments>}}
   </configuration>
 cse can't use <Xlint:all />,it will cause error while use python elementTree 
to parse pom.xml}}

replace use

{{<configuration>}}
 {{......}}
 {{  <compilerArgs>}}
 {{    <arg>-Werror<arg />}}
 {{    <arg>-Xlint:all<arg />}}
 {{  </compilerArgs>}}
 {{</configuration>}}

 


was (Author: weichao666):
{{<configuration>}}
{{ ......}}
{{  <compilerArguments>}}
{{    <Werror />}}
{{    <Xlint:all />}}
{{  </compilerArguments>}}
{{ </configuration>}}
{{ cse can't use <Xlint:all />,it will cause error while use python elementTree 
to parse pom.xml}}

replace use

{{<configuration>}}
{{......}}
{{  <compilerArgs>}}
{{    <arg>-Werror<arg />}}
{{    <arg>-Xlint:all<arg />}}
{{  </compilerArgs>}}
{{</configuration>}}

 

> treat warning as errors, modify the compilerArgments
> ----------------------------------------------------
>
>                 Key: SCB-567
>                 URL: https://issues.apache.org/jira/browse/SCB-567
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: WeiChao
>            Assignee: WeiChao
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to