- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="create-metadata",
defaultPhase=GENERATE_RESOURCES,
requiresProject=true,
threadSafe=true)
public class CreateMetadataMojo
extends AbstractScmMojo
This mojo discovers latest SCM revision, current timestamp, project version, and project name then write them to one
or more java property files together with a set of user provided properties. It also has option to add the output
file to resource classpath for jar packaging.