Package ch.hortis.sonar.mvn.mc

Examples of ch.hortis.sonar.mvn.mc.MetricsCollector.enableLogging()


      getLog().info("Parent module : " + mavenProject.getParent().getGroupId() + ":" + mavenProject.getParent().getArtifactId());
    }
    getLog().info("Collecting information for plugin " + report);

    MetricsCollector collector = report.getMetricsCollector();
    collector.enableLogging(getLog());
   
    Collection<ProjectMetricMeasure> measures = new ArrayList<ProjectMetricMeasure>();
    if (collector.initialize(mavenProject)) {
      Collection<MetricData> metricsData = collector.collectMeasures();
      measures = getMetrics( metricsData );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.