com.atlassian.plugin.maven.license
Class LicenseSeedMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.plugin.maven.license.AbstractLicenseMojo
com.atlassian.plugin.maven.license.LicenseSeedMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="seed",
aggregator=true,
requiresDependencyResolution=TEST)
public class LicenseSeedMojo- extends AbstractLicenseMojo
Goal that seeds the license directory from existing information.
|
Field Summary |
boolean |
forceSeed
Whether to override the license files regardless of the contents |
java.io.File |
licensesDirectory
Directory to find the licenses for seeding. |
java.lang.String |
missingFile
Properties file contains license type overrides. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
missingFile
@Parameter(property="license.missingFile")
public java.lang.String missingFile
- Properties file contains license type overrides.
licensesDirectory
@Parameter(required=true,
property="license.licensesDirectory")
public java.io.File licensesDirectory
- Directory to find the licenses for seeding.
forceSeed
@Parameter(property="license.forceSeed",
defaultValue="true")
public boolean forceSeed
- Whether to override the license files regardless of the contents
LicenseSeedMojo
public LicenseSeedMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2013 Atlassian. All Rights Reserved.