Full name:
org.alfresco.maven.plugin:maven-amp-plugin:2.0.1:amp
Description:
Build a amp/webapp.
Note this is a modification of Emmanuel Venisse's (evenisse@apache.org) WAR Mojo and has been adapted to build an Alfresco AMP.
Attributes:
runtime
.package
.Name | Type | Since | Description |
---|---|---|---|
mAmpConfigDirectory | File |
- |
Single directory for extra files to include in the AMP. |
mAmpDirectory | File |
- |
The directory where the webapp is built. |
mAmpName | String |
- |
The name of the generated AMP. |
mAmpWebDirectory | File |
- |
Single directory for extra files to include in the AMP. |
mCacheFile | File |
2.1 |
The file containing the webapp structure cache. |
mOutputDirectory | String |
- |
The directory for the generated AMP. |
mWorkDirectory | File |
- |
Directory to unpack dependent AMPs into if needed |
Name | Type | Since | Description |
---|---|---|---|
archive | MavenArchiveConfiguration |
- |
The maven archive configuration to use. |
dependentAmpExcludes | String |
- |
The comma separated list of tokens to exclude when doing a AMP overlay. |
dependentAmpIncludes | String |
- |
The comma separated list of tokens to include when doing a AMP overlay. Default is '**' |
filters | List |
- |
Filters (property files) to include during the interpolation of the pom.xml. |
mAmpJarExcludes | String |
- |
The comma separated list of tokens to exclude from the AMP created
JAR file. By default module configuration is left outside jars. Default value is: alfresco/module/** . |
mAmpJarIncludes | String |
- |
The comma separated list of tokens to include in the AMP internal JAR. Default **. Default is '**'. |
mAmpResources | Resource[] |
- |
The list of webResources we want to transfer. |
mAmpWebExcludes | String |
- |
The comma separated list of tokens to exclude from the AMP created JAR file. By default module configuration is left outside jars. |
mAmpWebIncludes | String |
- |
The comma separated list of tokens to include in the AMP internal
JAR. Default **. Default is '**'. Default value is: ** . |
mClassifier | String |
- |
Classifier to add to the artifact generated. If given, the artifact will be an attachment instead. |
mModuleProperties | File |
- |
The path to the web.xml file to use. Default value is: ${project.basedir}/module.properties . |
mOutputFileNameMapping | String |
2.0.3 |
The file name mapping to use to copy libraries and tlds. If no file mapping is set (default) the file is copied with its standard name. |
mOverlays | List |
2.1 |
The overlays to apply. |
mPrimaryArtifact | boolean |
- |
Whether this is the main artifact being built. Set to
false if you don't want to install or deploy it to the
local repository instead of the default one in an execution. Default value is: true . |
mUseCache | boolean |
2.1 |
Whether the cache should be used to save the status of the webapp
accross multiple runs. Default value is: true . |
archive :
The maven archive configuration to use.
org.apache.maven.archiver.MavenArchiveConfiguration
No
The comma separated list of tokens to exclude when doing a AMP overlay.
java.lang.String
No
The comma separated list of tokens to include when doing a AMP overlay. Default is '**'
java.lang.String
No
filters :
Filters (property files) to include during the interpolation of the pom.xml.
java.util.List
No
${project.build.filters}
Single directory for extra files to include in the AMP.
java.io.File
Yes
${project.build.outputDirectory}
The directory where the webapp is built.
java.io.File
Yes
${project.build.directory}/${project.build.finalName}
The comma separated list of tokens to exclude from the AMP created JAR file. By default module configuration is left outside jars.
java.lang.String
No
alfresco/module/**
The comma separated list of tokens to include in the AMP internal JAR. Default **. Default is '**'.
java.lang.String
No
mAmpName :
The name of the generated AMP.
java.lang.String
Yes
${project.build.finalName}
The list of webResources we want to transfer.
org.apache.maven.model.Resource[]
No
Single directory for extra files to include in the AMP.
java.io.File
Yes
${basedir}/src/main/webapp
The comma separated list of tokens to exclude from the AMP created JAR file. By default module configuration is left outside jars.
java.lang.String
No
The comma separated list of tokens to include in the AMP internal JAR. Default **. Default is '**'.
java.lang.String
No
**
The file containing the webapp structure cache.
java.io.File
2.1
Yes
${project.build.directory}/amp/work/amp-cache.xml
Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
java.lang.String
No
The path to the web.xml file to use.
java.io.File
No
${maven.amp.moduleProperties}
${project.basedir}/module.properties
The directory for the generated AMP.
java.lang.String
Yes
${project.build.directory}
The file name mapping to use to copy libraries and tlds. If no file mapping is set (default) the file is copied with its standard name.
java.lang.String
2.0.3
No
The overlays to apply.
java.util.List
2.1
No
Whether this is the main artifact being built. Set to
false
if you don't want to install or deploy it to the
local repository instead of the default one in an execution.
boolean
No
${primaryArtifact}
true
Whether the cache should be used to save the status of the webapp accross multiple runs.
boolean
2.1
No
${useCache}
true
Directory to unpack dependent AMPs into if needed
java.io.File
Yes
${project.build.directory}/amp/work