de.smartics.maven.util.report
Class ReportUtils
java.lang.Object
de.smartics.maven.util.report.ReportUtils
-
public final class ReportUtils
-
extends
Object
Utilities for Maven for generating reports.
-
Author:
-
Robert Reiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.