|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.helper.plugin.CheckProjectFilesPlugin
@Deprecated public class CheckProjectFilesPlugin
Check that : 1) the changelog exists on standalone module or root module of a multi-module project. 2) any project module has a README.txt and LICENSE.txt file
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
Plugin.Packaging |
| Field Summary | |
|---|---|
protected org.apache.maven.project.MavenProject |
project
Deprecated. Dependance du projet. |
protected boolean |
verbose
Deprecated. Un flag pour activer le mode verbeux. |
| Fields inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
skipAfterInitMessage |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CheckProjectFilesPlugin()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
checkChangelogFile()
Deprecated. |
protected void |
checkLicenseFile()
Deprecated. |
protected void |
checkReadmeFile()
Deprecated. |
protected void |
doAction()
Deprecated. Do plugin action. |
org.apache.maven.project.MavenProject |
getProject()
Deprecated. |
protected boolean |
init()
Deprecated. Method to initialize the mojo before doing any concrete actions. |
boolean |
isVerbose()
Deprecated. |
void |
setProject(org.apache.maven.project.MavenProject project)
Deprecated. |
void |
setVerbose(boolean verbose)
Deprecated. |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, checkPackaging, checkResource, copyFile, execute, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, writeFile |
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected boolean verbose
| Constructor Detail |
|---|
public CheckProjectFilesPlugin()
| Method Detail |
|---|
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
public boolean isVerbose()
public void setVerbose(boolean verbose)
protected boolean init()
throws Exception
AbstractPluginAbstractPlugin.doAction() method.
init in class AbstractPlugintrue if mojo is well initialize and something has
to be done in the AbstractPlugin.doAction() method, false
otherwise.
Exception - if any
protected void doAction()
throws Exception
AbstractPluginAbstractPlugin.execute() invoke this method only and only if :
AbstractPlugin.checkPackaging() returns true.AbstractPlugin.init() returns true.
doAction in class AbstractPluginException - if any
protected void checkChangelogFile()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void checkReadmeFile()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void checkLicenseFile()
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 | |||||||||