org.codehaus.mojo.jboss.packaging
Class AbstractHarPackagingMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
          extended by org.codehaus.mojo.jboss.packaging.AbstractSarPackagingMojo
              extended by org.codehaus.mojo.jboss.packaging.AbstractHarPackagingMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
HarExplodedMojo, HarMojo

public abstract class AbstractHarPackagingMojo
extends AbstractSarPackagingMojo

Abstract super class for building a deployable JBoss Hibernate Archive.


Field Summary
 
Fields inherited from class org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
deploymentDescriptorFile
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractHarPackagingMojo()
           
 
Method Summary
 java.lang.String[] getAlternateDeploymentDescriptorFilenames()
          If the SAR default descriptor file does not exist, then we expect 'hibernate-service.xml' in its stead.
 java.lang.String getArtifactType()
          Get the type of the artifact.
 
Methods inherited from class org.codehaus.mojo.jboss.packaging.AbstractSarPackagingMojo
getDeploymentDescriptorFilename
 
Methods inherited from class org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
buildExplodedPackaging, buildExplodedPackaging, buildSpecificPackaging, getArchiveName, getOutputDirectory, getPackagingDirectory, getProject, performPackaging
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractHarPackagingMojo

public AbstractHarPackagingMojo()
Method Detail

getAlternateDeploymentDescriptorFilenames

public java.lang.String[] getAlternateDeploymentDescriptorFilenames()
If the SAR default descriptor file does not exist, then we expect 'hibernate-service.xml' in its stead.

Overrides:
getAlternateDeploymentDescriptorFilenames in class AbstractPackagingMojo
Returns:
String array containing the name of the jboss hibernate deployment descriptor.

getArtifactType

public java.lang.String getArtifactType()
Get the type of the artifact.

Overrides:
getArtifactType in class AbstractSarPackagingMojo
Returns:
The type of the generated artifact.


Copyright © 2006-2009. All Rights Reserved.