org.apache.maven.plugin.ear

Class EarModuleFactory

public final class EarModuleFactory extends Object

Builds an EarModule based on an Artifact.

Version: $Id: EarModuleFactory.java 376999 2006-02-11 16:28:09Z snicoll $

Author: Stephane Nicoll

Method Summary
static EarModulenewEarModule(Artifact artifact, String defaultJavaBundleDir)
Creates a new EarModule based on the specified Artifact and the specified execution configuration.

Method Detail

newEarModule

public static final EarModule newEarModule(Artifact artifact, String defaultJavaBundleDir)
Creates a new EarModule based on the specified Artifact and the specified execution configuration.

Parameters: artifact the artifact defaultJavaBundleDir the default bundle dir for JavaModule

Returns: an ear module for this artifact

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