org.apache.maven.plugin.assembly.utils
Class AssemblyFormatUtils

java.lang.Object
  extended by org.apache.maven.plugin.assembly.utils.AssemblyFormatUtils

public final class AssemblyFormatUtils
extends java.lang.Object


Method Summary
static java.lang.String evaluateFileNameMapping(java.lang.String expression, org.apache.maven.artifact.Artifact artifact)
          Evaluates Filename Mapping
static java.lang.String getDistributionName(org.apache.maven.plugin.assembly.model.Assembly assembly, AssemblerConfigurationSource configSource)
          Get the full name of the distribution artifact
static java.lang.String getOutputDirectory(java.lang.String output, org.apache.maven.project.MavenProject project, java.lang.String finalName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDistributionName

public static java.lang.String getDistributionName(org.apache.maven.plugin.assembly.model.Assembly assembly,
                                                   AssemblerConfigurationSource configSource)
Get the full name of the distribution artifact

Parameters:
assembly -
Returns:
the distribution name

getOutputDirectory

public static java.lang.String getOutputDirectory(java.lang.String output,
                                                  org.apache.maven.project.MavenProject project,
                                                  java.lang.String finalName)

evaluateFileNameMapping

public static java.lang.String evaluateFileNameMapping(java.lang.String expression,
                                                       org.apache.maven.artifact.Artifact artifact)
                                                throws AssemblyFormattingException
Evaluates Filename Mapping

Parameters:
expression -
artifact -
Returns:
expression
Throws:
AssemblyFormattingException
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.