WSDD Builder Plugin

The WSDD Builder plugin lets you generate the Apache Axis Web Service Deployment Descriptor (WSDD) files from a Service Builder service.xml file.

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.portal.tools.wsdd.builder</artifactId>
            <version>1.0.10</version>
            <configuration>
            </configuration>
        </plugin>
    ...
    </plugins>
</build>

You can view an example POM containing the WSDD Builder configuration here.

Goals

The plugin adds one Maven goal to your project:

NameDescription
wsdd-builder:buildRuns the Liferay WSDD Builder to generate the WSDD files.

Available Parameters

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

Parameter NameTypeDefault ValueDescription
classPathStringnullThe classpath that the Liferay WSDD Builder uses to generate WSDD files.
inputFileNameString"service.xml"The file from which to generate the WSDD files.
outputDirNameString"src"The directory where the *_deploy.wsdd and *_undeploy.wsdd files are generated.
serverConfigFileNameString"server-config.wsdd"The file to generate.
serviceNamespaceString"Plugin"The namespace for the WSDD Service.
« TLD Formatter PluginXML Formatter Plugin »
Was this article helpful?
0 out of 0 found this helpful