de.smartics.maven.plugin.buildmetadata
Class BuildMetaDataMojo

Package class diagram package BuildMetaDataMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.smartics.maven.plugin.buildmetadata.AbstractBuildMojo
          extended by de.smartics.maven.plugin.buildmetadata.BuildMetaDataMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public final class BuildMetaDataMojo
     
     
extends AbstractBuildMojo

Provides the build information defined in Constant. This information is also written to a properties file.

Since:
1.0
maven-goal:
provide-buildmetadata
maven-phase:
initialize
maven-requiresProject:
maven-description:
Provides a build meta data to the build process.

Field Summary
protected  String buildDatePattern
          The date pattern to use to format the build and revision dates.
 
Fields inherited from class de.smartics.maven.plugin.buildmetadata.AbstractBuildMojo
addToFilters, createXmlReport, project, properties, propertiesOutputFile, propertyOutputFileMapping, providers, runtime, session, xmlOutputFile
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BuildMetaDataMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class de.smartics.maven.plugin.buildmetadata.AbstractBuildMojo
getProject, provideBuildMetaData, setProject, setPropertiesOutputFile, setSession, updateMavenEnvironment
 
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

buildDatePattern

protected String buildDatePattern
The date pattern to use to format the build and revision dates. Please refer to the SimpleDateFormat class for valid patterns.

Since:
1.0
Constructor Detail

BuildMetaDataMojo

public BuildMetaDataMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Specified by:
execute in interface Mojo
Overrides:
execute in class AbstractBuildMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.