org.sonar.maven
Class CollectMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by ch.hortis.sonar.mvn.CoreMojo
          extended by org.sonar.maven.CollectMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CollectMojo
extends CoreMojo


Field Summary
static java.lang.String PARAM_DATE
           
static java.lang.String PARAM_VERSION
           
 
Fields inherited from class ch.hortis.sonar.mvn.CoreMojo
mavenProject
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CollectMojo()
           
 
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
 

Field Detail

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
Constructor Detail

CollectMojo

public CollectMojo()
Method Detail

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.