|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.cloudbees.maven.license.ProcessMojo
public class ProcessMojo
Process license information.
| Field Summary | |
|---|---|
org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
|
boolean |
attach
If true, attach the generated XML/HTML as artifacts (to be installed/deployed to Maven repositories.) |
boolean |
disableCheck
Forbidden switch to disable and bypass all the checks. |
File |
generateLicenseHtml
If true, generate "licenses.html" as the visualization of license.xml |
File |
generateLicenseXml
If true, generate "licenses.xml" that captures all the dependencies and its licenses. |
String |
inlineScript
Specifies completion/generation/filtering script inline. |
org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
|
org.apache.maven.project.MavenProject |
project
The maven project. |
org.apache.maven.project.MavenProjectBuilder |
projectBuilder
|
org.apache.maven.project.MavenProjectHelper |
projectHelper
|
boolean |
requireCompleteLicenseInfo
If true, require all the dependencies to have license information after running completion scripts, or fail the build. |
File |
script
Specifies completion/generation/filtering scripts. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ProcessMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.apache.maven.project.MavenProjectHelper projectHelper
public org.apache.maven.project.MavenProject project
public org.apache.maven.project.MavenProjectBuilder projectBuilder
public org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
public org.apache.maven.artifact.repository.ArtifactRepository localRepository
public File script
public String inlineScript
public boolean requireCompleteLicenseInfo
public File generateLicenseXml
public File generateLicenseHtml
license.xml
public boolean disableCheck
public boolean attach
| Constructor Detail |
|---|
public ProcessMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||