public abstract class AbstractFileNameMapping extends Object implements FileNameMapping
Artifact.getFile().| Constructor and Description |
|---|
AbstractFileNameMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateFileName(org.apache.maven.artifact.Artifact a,
boolean addVersion)
Generates a standard file name for the specified
Artifact. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmapFileNameprotected String generateFileName(org.apache.maven.artifact.Artifact a, boolean addVersion)
Artifact.
Returns something like artifactId-version[-classifier].extension
if addVersion is true. Otherwise it generates something
like artifactId[-classifier].extensiona - the artifact to generate a filename fromaddVersion - whether the version should be addedCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.