Deployment Helper Plugin

The Deployment Helper plugin lets you create a cluster deployable WAR from your OSGi artifacts.

Usage

To use the plugin, include it in your project’s root pom.xml file:

<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.

Goals

The plugin adds one Maven goal to your project:

NameDescription
deployment-helper:buildBuilds a WAR which contains one or more files that are copied once the WAR is deployed.

Available Parameters

You can set the following parameters in the <configuration> section of the POM:

Parameter NameTypeDefault ValueDescription
deploymentFileNamesStringnullThe 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.
deploymentPathStringnullThe directory to which the included files are copied.
outputFileNameStringnullThe WAR file to build.
« DB Support PluginJavadoc Formatter Plugin »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0