Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 @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);
 }