de.smartics.maven.util.report
Class ReportUtils

Package class diagram package ReportUtils
java.lang.Object
  extended by de.smartics.maven.util.report.ReportUtils

public final class ReportUtils
     
     
extends Object

Utilities for Maven for generating reports.

Author:
Robert Reiner

Method Summary
static File getSkinArtifactFile(MavenProject project, ArtifactRepository localRepository, ArtifactResolver resolver, org.apache.maven.artifact.factory.ArtifactFactory factory)
          Returns a file reference to the default skin useful for rendering standalone run reports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSkinArtifactFile

public static File getSkinArtifactFile(MavenProject project,
                                       ArtifactRepository localRepository,
                                       ArtifactResolver resolver,
                                       org.apache.maven.artifact.factory.ArtifactFactory factory)
                                throws MojoExecutionException
Returns a file reference to the default skin useful for rendering standalone run reports.

Stolen from the changes plugin.

Parameters:
project - the project of the plugin that calls this method.
localRepository - a reference to the local repository to reference to.
resolver - to resolve the skin artifact.
factory - to resolve dependencies.
Returns:
a file reference to the default skin.
Throws:
MojoExecutionException - if the skin artifact cannot be resolved.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.