|
Fabric3 Webapp Plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.fabric3.war.Fabric3WarMojo
public class Fabric3WarMojo
Add fabric3 runtime dependencies to a webapp. The wenapp runtime in Fabric3 currently doesn't support classloader isolation. All JAR files are added to the WEB-INF/lib directory. All system and user extensions are added to the same directory as well. The list of system extensions are specified in the properties file f3Extensions.properties and the list of user extensions are specified in the f3UserExtenion.properties. Both system and user extensions are exploded and the contents of the META-INF/lib directory are copied to the WEB-INF/lib directory.
Performs the following tasks.
| Field Summary | |
|---|---|
org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Used to look up Artifacts in the remote repository. |
Dependency[] |
bootLibs
The directory for the generated WAR. |
Dependency[] |
extensions
Set of extension artifacts that should be deployed to the runtime. |
org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Location of the local repository. |
org.apache.maven.artifact.metadata.ArtifactMetadataSource |
metadataSource
Artifact metadata source. |
org.apache.maven.project.MavenProject |
project
POM |
List |
remoteRepositories
List of Remote Repositories used by the resolver |
org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
Used to look up Artifacts in the remote repository. |
String |
runTimeVersion
The default version of the runtime to use. |
Dependency[] |
userExtensions
Set of user extension artifacts that should be deployed to the runtime. |
File |
webappDirectory
The directory where the webapp is built. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
Fabric3WarMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
Executes the MOJO. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public File webappDirectory
public org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource
public org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
public org.apache.maven.artifact.resolver.ArtifactResolver resolver
public org.apache.maven.artifact.repository.ArtifactRepository localRepository
public List remoteRepositories
public Dependency[] bootLibs
public Dependency[] extensions
public Dependency[] userExtensions
public String runTimeVersion
public org.apache.maven.project.MavenProject project
| Constructor Detail |
|---|
public Fabric3WarMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
Fabric3 Webapp Plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||