com.sun.enterprise.build
Class DistributionArtifactHandler

java.lang.Object
  extended by com.sun.enterprise.build.DistributionArtifactHandler
All Implemented Interfaces:
org.apache.maven.artifact.handler.ArtifactHandler

public class DistributionArtifactHandler
extends Object
implements org.apache.maven.artifact.handler.ArtifactHandler

Presumably because of the initialization order issue, I can't convince Maven to load the artifact handler definition from components.xml. So as a hack we set it manually.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
 
Constructor Summary
DistributionArtifactHandler()
           
 
Method Summary
 String getClassifier()
           
 String getDirectory()
           
 String getExtension()
           
 String getLanguage()
           
 String getPackaging()
           
 boolean isAddedToClasspath()
           
 boolean isIncludesDependencies()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionArtifactHandler

public DistributionArtifactHandler()
Method Detail

getExtension

public String getExtension()
Specified by:
getExtension in interface org.apache.maven.artifact.handler.ArtifactHandler

getDirectory

public String getDirectory()
Specified by:
getDirectory in interface org.apache.maven.artifact.handler.ArtifactHandler

getClassifier

public String getClassifier()
Specified by:
getClassifier in interface org.apache.maven.artifact.handler.ArtifactHandler

getPackaging

public String getPackaging()
Specified by:
getPackaging in interface org.apache.maven.artifact.handler.ArtifactHandler

isIncludesDependencies

public boolean isIncludesDependencies()
Specified by:
isIncludesDependencies in interface org.apache.maven.artifact.handler.ArtifactHandler

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface org.apache.maven.artifact.handler.ArtifactHandler

isAddedToClasspath

public boolean isAddedToClasspath()
Specified by:
isAddedToClasspath in interface org.apache.maven.artifact.handler.ArtifactHandler


Copyright © 2011 GlassFish Community. All Rights Reserved.