org.apache.maven.plugin.ear.output
Class NoVersionFileNameMapping

java.lang.Object
  extended by org.apache.maven.plugin.ear.output.AbstractFileNameMapping
      extended by org.apache.maven.plugin.ear.output.NoVersionFileNameMapping
All Implemented Interfaces:
FileNameMapping

public class NoVersionFileNameMapping
extends AbstractFileNameMapping

A simplified version of the standard file name mapping which does not retain the version in the generated file name.

Author:
Stephane Nicoll

Constructor Summary
NoVersionFileNameMapping()
           
 
Method Summary
 String mapFileName(Artifact a)
          Returns the file name of the specified artifact.
 
Methods inherited from class org.apache.maven.plugin.ear.output.AbstractFileNameMapping
generateFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoVersionFileNameMapping

public NoVersionFileNameMapping()
Method Detail

mapFileName

public String mapFileName(Artifact a)
Description copied from interface: FileNameMapping
Returns the file name of the specified artifact.

Parameters:
a - the artifact
Returns:
the name of the file for the specified artifact


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.