org.apache.maven.plugin.ear.output
Class NoVersionFileNameMapping
java.lang.Object
org.apache.maven.plugin.ear.output.AbstractFileNameMapping
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
Method Summary |
String |
mapFileName(org.apache.maven.artifact.Artifact a)
Returns the file name of the specified artifact. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoVersionFileNameMapping
public NoVersionFileNameMapping()
mapFileName
public String mapFileName(org.apache.maven.artifact.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-2011 The Apache Software Foundation. All Rights Reserved.