org.nuiton
Class CheckProjectFilesPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.CheckProjectFilesPlugin
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CheckProjectFilesPlugin
- extends org.apache.maven.plugin.AbstractMojo
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
- Since:
- 1.0.2
- Author:
- chemit
|
Field Summary |
protected org.apache.maven.project.MavenProject |
project
Dependance du projet. |
protected boolean |
verbose
Un flag pour activer le mode verbeux. |
| 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 |
project
protected org.apache.maven.project.MavenProject project
- Dependance du projet.
- Since:
- 1.0.2
verbose
protected boolean verbose
- Un flag pour activer le mode verbeux.
- Since:
- 1.0.2
CheckProjectFilesPlugin
public CheckProjectFilesPlugin()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
checkChangelogFile
protected void checkChangelogFile()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
checkReadmeFile
protected void checkReadmeFile()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
checkLicenseFile
protected void checkLicenseFile()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009 CodeLutin. All Rights Reserved.