[ https://issues.apache.org/jira/browse/SCB-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665053#comment-16665053 ]
ASF GitHub Bot commented on SCB-982: ------------------------------------ liubao68 commented on issue #970: [SCB-982] Compile with show warnings URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/970#issuecomment-433375019 How do we turn on show warnings options? ---------------------------------------------------------------- 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: us...@infra.apache.org > Show the warning message in maven compile plugin > ------------------------------------------------ > > Key: SCB-982 > URL: https://issues.apache.org/jira/browse/SCB-982 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Java-Chassis, Saga > Reporter: Willem Jiang > Assignee: wujimin > Priority: Major > Labels: easyfix, newbie > > It could help us find more waring message durning the developing time. > {code} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.1</version> > <configuration> > <source>1.8</source> > <target>1.8</target> > <showDeprecation>true</showDeprecation> > <showWarnings>true</showWarnings> > <compilerArgs> > <arg>-Werror</arg> > <arg>-Xlint:all</arg> > </compilerArgs> > </configuration> > </plugin> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)