{"action":"closed","issue":{"url":"https://api.github.com/repos/find-sec-bugs/find-sec-bugs/issues/140","labels_url":"https://api.github.com/repos/find-sec-bugs/find-sec-bugs/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/find-sec-bugs/find-sec-bugs/issues/140/comments","events_url":"https://api.github.com/repos/find-sec-bugs/find-sec-bugs/issues/140/events","html_url":"https://github.com/find-sec-bugs/find-sec-bugs/issues/140","id":121718819,"number":140,"title":"Need to be able to build find-sec-bugs myself","user":{"login":"davewichers","id":5004037,"avatar_url":"https://avatars.githubusercontent.com/u/5004037?v=3","gravatar_id":"","url":"https://api.github.com/users/davewichers","html_url":"https://github.com/davewichers","followers_url":"https://api.github.com/users/davewichers/followers","following_url":"https://api.github.com/users/davewichers/following{/other_user}","gists_url":"https://api.github.com/users/davewichers/gists{/gist_id}","starred_url":"https://api.github.com/users/davewichers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davewichers/subscriptions","organizations_url":"https://api.github.com/users/davewichers/orgs","repos_url":"https://api.github.com/users/davewichers/repos","events_url":"https://api.github.com/users/davewichers/events{/privacy}","received_events_url":"https://api.github.com/users/davewichers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/find-sec-bugs/find-sec-bugs/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-11T14:34:49Z","updated_at":"2015-12-11T22:34:41Z","closed_at":"2015-12-11T22:34:41Z","body":"I am aware of: https://github.com/find-sec-bugs/find-sec-bugs/wiki/Compiling, and that Travis-CI is used to build the project (https://travis-ci.org/find-sec-bugs/find-sec-bugs/builds). However, I'd like to be able to build it myself.\r\n\r\nNormally, all you have to do is a git clone, and then run: \"mvn clean install\" to build something. But when I do that for find-sec-bugs I get the following errors. I tried the various options described under /Compiling, like running \"mvn clean\" first, then \"mvn clean install\", or running: \"mvn clean test-compile\", but both the install and test-compile options generate errors like those below. \r\n\r\nCan you explain to me how I can build it myself successfully?\r\n\r\nThanks, Dave\r\n```\r\n[INFO] 9 errors \r\n[INFO] -------------------------------------------------------------\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Find Security Bugs root ............................ SUCCESS [  1.145 s]\r\n[INFO] FindBugs Test Utility .............................. SUCCESS [  8.024 s]\r\n[INFO] findsecbugs-plugin-deps ............................ SUCCESS [  1.556 s]\r\n[INFO] Find Security Bugs Plugin .......................... FAILURE [  3.639 s]\r\n[INFO] FindBugs Command Line Interface .................... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 14.544 s\r\n[INFO] Finished at: 2015-12-11T09:28:07-05:00\r\n[INFO] Final Memory: 33M/446M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project findsecbugs-plugin: Compilation failure: Compilation failure:\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/Logging.java:[5,25] error: package java.util.function does not exist\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/sqli/Jdbc.java:[63,12] error: cannot find symbol\r\n[ERROR] variable stmt of type Statement\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/sqli/Jdbc.java:[64,12] error: cannot find symbol\r\n[ERROR] variable stmt of type Statement\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/sqli/Jdbc.java:[65,12] error: cannot find symbol\r\n[ERROR] variable stmt of type Statement\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/sqli/Jdbc.java:[66,12] error: cannot find symbol\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/Logging.java:[38,50] error: cannot find symbol\r\n[ERROR] class Logging\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/Logging.java:[39,67] error: cannot find symbol\r\n[ERROR] class Logging\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/Logging.java:[40,14] error: no suitable method found for logrb(Level,String,String,ResourceBundle,String,String)\r\n[ERROR] is not applicable\r\n[ERROR] (actual argument ResourceBundle cannot be converted to String by method invocation conversion)\r\n[ERROR] method Logger.logrb(Level,String,String,String,String,Object) is not applicable\r\n[ERROR] (actual argument ResourceBundle cannot be converted to String by method invocation conversion)\r\n[ERROR] method Logger.logrb(Level,String,String,String,String) is not applicable\r\n[ERROR] (actual and formal argument lists differ in length)\r\n[ERROR] /Users/dwichers/git/find-sec-bugs/plugin/src/test/java/testcode/Logging.java:[41,14] error: no suitable method found for logrb(Level,String,String,ResourceBundle,String,Exception)\r\n[ERROR] -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException\r\n[ERROR] \r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :findsecbugs-plugin\r\n```"}}