public File run ( ) throws IOException { Map < String , String > props = loadBaseProperties ( ) ; setAdditionalProperties ( props ) ; sonarEmbeddedScanner . addGlobalProperties ( props ) ; log . info ( "Sonar configuration: {}" , props . toString ( ) ) ; sonarEmbeddedScanner . start ( ) ; sonarEmbeddedScanner . execute ( new HashMap < String , String > ( ) ) ; return new File ( OUTPUT_DIR , OUTPUT_FILE ) ; }
Runs Sonar .