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

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

public class NoVersionForEjbFileNameMapping
extends AbstractFileNameMapping

A more sophisticated file name mapping which retains the version only for library jars and leaves it out for for ejb-jars.

Author:
Philippe Marschall

Constructor Summary
NoVersionForEjbFileNameMapping()
           
 
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

NoVersionForEjbFileNameMapping

public NoVersionForEjbFileNameMapping()
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.