de.smartics.maven.plugin.buildmetadata
Class BuildMetaDataMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.smartics.maven.plugin.buildmetadata.AbstractBuildMojo
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 interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BuildMetaDataMojo
public BuildMetaDataMojo()
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.