You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2018/05/02 07:28:00 UTC

[jira] [Resolved] (SCB-514) update pom and code, so that we can treat warnings as errors

     [ https://issues.apache.org/jira/browse/SCB-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wujimin resolved SCB-514.
-------------------------
    Resolution: Done

> update pom and code, so that we can treat warnings as errors
> ------------------------------------------------------------
>
>                 Key: SCB-514
>                 URL: https://issues.apache.org/jira/browse/SCB-514
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: wujimin
>            Assignee: wujimin
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m2
>
>
> supress warning tips:
> 1.update maven-compiler-plugin in java-chassis-dependencies/pom.xml:
> {code:java}
> <configuration>
> ......
>   <compilerArguments>
>     <Werror />
>     <Xlint:all />
>   </compilerArguments>
> </configuration>{code}
> 2.deprecated class must not in import scope, if must use this class, use qulified name in code, DO NOT import it.



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