private static void mavenOnDitProject(String goal) { MavenBuild build = MavenBuild.create(TestUtils.projectPom("dit-check")) .setGoals(goal) .setProperty("sonar.profile", "dit-check") .setProperty("sonar.dynamicAnalysis", "false"); ORCHESTRATOR.executeBuild(build); }
@BeforeClass public static void analyzeProject() { orchestrator.resetData(); MavenBuild build = MavenBuild.create(TestUtils.projectPom("java-complexity")) .setCleanSonarGoals() .setProperty("sonar.dynamicAnalysis", "false") .setProperty("sonar.profile", "java-complexity"); orchestrator.executeBuild(build); }