TLD Formatter Plugin

The TLD Formatter plugin lets you format a project’s TLD files.


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


You can view an example POM containing the TLD Formatter configuration here.


The plugin adds one Maven goal to your project:

tld-formatter:formatRuns the Liferay TLD Formatter to format files.

Available Parameters

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

Parameter NameTypeDefault ValueDescription
baseDirNameString"./"The base directory to begin searching for TLD files to format.
pluginbooleantrueWhether to format all the TLD files contained in the working directory. If false, all liferay-portlet-ext.tld files are ignored.
« Theme Builder PluginWSDD Builder Plugin »
Was this article helpful?
0 out of 0 found this helpful