ameyjadiye commented on issue #109: TEXT-155: Add a generic OverlapSimilarity measure URL: https://github.com/apache/commons-text/pull/109#issuecomment-471248215 > @aherbert updated the JIRA issue, and was going to merge and add the `changes.xml` entry, but noticed the broken Travis-CI build. > > Could you fix the build, and then if you would like too, merge & resolve the ticket, please? Here's a snippet of the log in Travis: > > ``` > [INFO] There are 2 errors reported by Checkstyle 8.18 with /home/travis/build/apache/commons-text/checkstyle.xml ruleset. > [ERROR] src/test/java/org/apache/commons/text/similarity/OverlapSimilarityTest.java:[179] (regexp) RegexpSingleline: Line has trailing spaces. > [ERROR] src/test/java/org/apache/commons/text/similarity/OverlapSimilarityTest.java:[192] (regexp) RegexpSingleline: Line has trailing spaces. > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 43.295 s > [INFO] Finished at: 2019-03-09T21:22:18Z > [INFO] Final Memory: 57M/734M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (default-cli) on project commons-text: You have 2 Checkstyle violations. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > The command "mvn" exited with 1. > ``` > Cheers > Bruno @aherbert this used to happen this with me quite a lot, then I started practicing to simply type ```mvn``` which triggers defaultGoal in pom.xml and ensures you nothing will fail in travis-ci. happy coding :smile:
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
