Package org.apache.maven.plugins.ear
Class EarModuleFactory
java.lang.Object
org.apache.maven.plugins.ear.EarModuleFactory
Builds an 
EarModule based on an Artifact.- Author:
 - Stephane Nicoll
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns a list of standard artifact types.static booleanisStandardArtifactType(String type) Specify whether the specified type is standard artifact type.static EarModulenewEarModule(org.apache.maven.artifact.Artifact artifact, JavaEEVersion javaEEVersion, String defaultLibBundleDir, Boolean includeInApplicationXml, ArtifactTypeMappingService typeMappingService) Creates a newEarModulebased on the specifiedArtifactand the specified execution configuration. 
- 
Constructor Details
- 
EarModuleFactory
public EarModuleFactory() 
 - 
 - 
Method Details
- 
newEarModule
public static EarModule newEarModule(org.apache.maven.artifact.Artifact artifact, JavaEEVersion javaEEVersion, String defaultLibBundleDir, Boolean includeInApplicationXml, ArtifactTypeMappingService typeMappingService) throws UnknownArtifactTypeException Creates a newEarModulebased on the specifiedArtifactand the specified execution configuration.- Parameters:
 artifact- the artifactjavaEEVersion- the javaEE version to usedefaultLibBundleDir- the default bundle dir forJarModuleincludeInApplicationXml- shouldJarModulebe included in application XmltypeMappingService- The artifact type mapping service- Returns:
 - an ear module for this artifact
 - Throws:
 UnknownArtifactTypeException- if the artifact is not handled
 - 
getStandardArtifactTypes
Returns a list of standard artifact types.- Returns:
 - the standard artifact types
 
 - 
isStandardArtifactType
Specify whether the specified type is standard artifact type.- Parameters:
 type- the type to check- Returns:
 - true if the specified type is a standard artifact type
 
 
 -