org.efaps.maven.plugin
Class GenerateUUIDMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.efaps.maven.plugin.GenerateUUIDMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Goal(name="generateUUID")
public final class GenerateUUIDMojo
extends org.apache.maven.plugin.AbstractMojo

A new universally unique identifier (UUID) is created and printed out.
By adding -DUUID.count=3 to the calling command line the number of UUID generated can be set.
e.g.
mvn efaps:generateUUID -DUUID.count=3

Version:
$Id: GenerateUUIDMojo.java 3440 2009-11-29 21:41:02Z tim.moxter $
Author:
The eFaps Team

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateUUIDMojo()
           
 
Method Summary
 void execute()
          The new universally unique identifier is created and printed out with a normal call to the mojo log info.
 
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
 

Constructor Detail

GenerateUUIDMojo

public GenerateUUIDMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
The new universally unique identifier is created and printed out with a normal call to the mojo log info.

Throws:
org.apache.maven.plugin.MojoExecutionException - on error


Copyright © 2002-2010 The eFaps Team. All Rights Reserved.