org.apache.maven.jelly.tags.maven
Class SnapshotSignature

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.maven.jelly.tags.BaseTagSupport
          extended byorg.apache.maven.jelly.tags.maven.SnapshotSignature
All Implemented Interfaces:
Tag

public class SnapshotSignature
extends BaseTagSupport

Create snapshot signature for non-release JARs and distributions.

Version:
$Id: SnapshotSignature.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SnapshotSignature()
           
 
Method Summary
 void doTag(XMLOutput output)
          Process the tag.
 Project getProject()
          Get the maven project object.
 void setProject(Project project)
          Set the maven project object.
 
Methods inherited from class org.apache.maven.jelly.tags.BaseTagSupport
checkAttribute, getMavenContext
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotSignature

public SnapshotSignature()
Method Detail

setProject

public void setProject(Project project)
Set the maven project object.

Parameters:
project - MavenSession project.

getProject

public Project getProject()
Get the maven project object.

Returns:
MavenSession project.

doTag

public void doTag(XMLOutput output)
           throws MissingAttributeException
Process the tag. Create a variable in the current context of the format ${pom.artifactId}-yyyyMMdd.HHmmss

Parameters:
output - used to send XML output to Jelly
Throws:
MissingAttributeException - if the project property is not set


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.