|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.assembly.utils.AssemblyFormatUtils
public final class AssemblyFormatUtils
Method Summary | |
---|---|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
artifactInterpolator(Artifact artifact)
|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
artifactProjectInterpolator(MavenProject artifactProject)
|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
classifierRules(Artifact artifact)
|
static String |
evaluateFileNameMapping(String expression,
Artifact artifact,
MavenProject mainProject,
Artifact moduleArtifact,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectInterpolator,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator)
ORDER OF INTERPOLATION PRECEDENCE: prefixed with "module |
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
finalNameInterpolator(String finalName)
|
static String |
fixRelativeRefs(String src)
ORDER OF INTERPOLATION PRECEDENCE: prefixed with "module |
static String |
getDistributionName(Assembly assembly,
AssemblerConfigurationSource configSource)
Get the full name of the distribution artifact |
static String |
getOutputDirectory(String output,
MavenProject artifactProject,
String finalName,
AssemblerConfigurationSource configSource)
ORDER OF INTERPOLATION PRECEDENCE: Support for special expressions, like ${finalName} (use the assembly plugin configuration not the build config) prefixed with "module." if moduleProject is non-null MavenProject instance for module being assembled prefixed with "artifact." if artifactProject is non-null MavenProject instance for artifact user-defined properties from the command line prefixed with "pom." or "project |
static String |
getOutputDirectory(String output,
String finalName,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectIntrpolator,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator)
ORDER OF INTERPOLATION PRECEDENCE: Support for special expressions, like ${finalName} (use the assembly plugin configuration not the build config) prefixed with "module." if moduleProject is non-null MavenProject instance for module being assembled prefixed with "artifact." if artifactProject is non-null MavenProject instance for artifact user-defined properties from the command line prefixed with "pom." or "project |
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
moduleArtifactInterpolator(Artifact moduleArtifact)
|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
moduleProjectInterpolator(MavenProject moduleProject)
|
static void |
warnForPlatformSpecifics(org.codehaus.plexus.logging.Logger logger,
String destDirectory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getDistributionName(Assembly assembly, AssemblerConfigurationSource configSource)
assembly
- the assembly
@Nonnull public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator finalNameInterpolator(String finalName)
@Nonnull public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectInterpolator(MavenProject moduleProject)
public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleArtifactInterpolator(Artifact moduleArtifact)
@Nonnull public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator(MavenProject artifactProject)
@Nonnull public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactInterpolator(@Nonnull Artifact artifact)
@Nonnull public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator classifierRules(Artifact artifact)
public static String getOutputDirectory(String output, MavenProject artifactProject, String finalName, AssemblerConfigurationSource configSource) throws AssemblyFormattingException
AssemblyFormattingException
@Nonnull public static String fixRelativeRefs(@Nonnull String src)
public static String evaluateFileNameMapping(String expression, @Nonnull Artifact artifact, @Nullable MavenProject mainProject, @Nullable Artifact moduleArtifact, @Nonnull AssemblerConfigurationSource configSource, org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectInterpolator, org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator) throws AssemblyFormattingException
AssemblyFormattingException
public static String getOutputDirectory(String output, String finalName, AssemblerConfigurationSource configSource, org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectIntrpolator, org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator) throws AssemblyFormattingException
AssemblyFormattingException
public static void warnForPlatformSpecifics(org.codehaus.plexus.logging.Logger logger, String destDirectory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |