The Deployment Helper plugin lets you create a cluster deployable WAR from your OSGi artifacts.
To use the plugin, include it in your project’s root
<build> <plugins> ... <plugin> <groupId>com.liferay</groupId> <artifactId>com.liferay.deployment.helper</artifactId> <version>1.0.4</version> <configuration> </configuration> </plugin> ... </plugins> </build>
You can view an example POM containing the Deployment Helper configuration here.
The plugin adds one Maven goal to your project:
|Builds a WAR which contains one or more files that are copied once the WAR is deployed.|
You can set the following parameters in the
<configuration> section of the
|Parameter Name||Type||Default Value||Description|
|The files or directories to include in the WAR and copy once the WAR is deployed. If a directory is added to this collection, all the JAR files contained in the directory are included in the WAR.|
|The directory to which the included files are copied.|
|The WAR file to build.|