|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugins.linkcheck.SiteInvoker
public class SiteInvoker
Constructor Summary | |
---|---|
SiteInvoker(org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.plugin.logging.Log log)
|
Method Summary | |
---|---|
void |
invokeSite(org.apache.maven.project.MavenProject project,
java.io.File tmpReportingOutputDirectory)
Invoke Maven for the site phase for a temporary Maven project using
tmpReportingOutputDirectory as ${project.reporting.outputDirectory} . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteInvoker(org.apache.maven.artifact.repository.ArtifactRepository localRepository, org.apache.maven.plugin.logging.Log log)
Method Detail |
---|
public void invokeSite(org.apache.maven.project.MavenProject project, java.io.File tmpReportingOutputDirectory) throws java.io.IOException
site
phase for a temporary Maven project using
tmpReportingOutputDirectory
as ${project.reporting.outputDirectory}
.
This is a workaround to be sure that all site files have been correctly generated.
maven.home
Java system property
or defined in M2_HOME
system env variables.
Note 2: we can't use siteOutputDirectory
param from site plugin because some plugins
${project.reporting.outputDirectory}
in their conf.
project
- the MavenProject to invoke the site on. Not null.tmpReportingOutputDirectory
- not null
java.io.IOException
- if any
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |