org.sonar.maven
Class CollectMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.hortis.sonar.mvn.CoreMojo
org.sonar.maven.CollectMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CollectMojo
- extends CoreMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
doExecute()
|
protected java.util.Date |
getProjectDate(org.apache.commons.configuration.Configuration configuration)
|
protected java.lang.String |
getProjectVersion(org.apache.commons.configuration.Configuration configuration,
org.apache.maven.project.MavenProject pom)
|
Methods inherited from class ch.hortis.sonar.mvn.CoreMojo |
execute, getBranch, getContainer, getDatabaseConnector, getMavenPom, getReactorProjects, getSnapshotId, setBranch, setDatabaseConnector, setJdbcDriverClassName, setJdbcPassword, setJdbcURL, setJdbcUserName, setProject, setReactorProjects, setSnapshotId |
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 |
PARAM_DATE
public static final java.lang.String PARAM_DATE
- See Also:
- Constant Field Values
PARAM_VERSION
public static final java.lang.String PARAM_VERSION
- See Also:
- Constant Field Values
CollectMojo
public CollectMojo()
doExecute
public void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
doExecute
in class CoreMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getProjectVersion
protected java.lang.String getProjectVersion(org.apache.commons.configuration.Configuration configuration,
org.apache.maven.project.MavenProject pom)
getProjectDate
protected java.util.Date getProjectDate(org.apache.commons.configuration.Configuration configuration)
Copyright © 2008 SonarSource SA. All Rights Reserved.