Usage

Examples of invoking the JSP TLD Plugin.

The jsptld:generate Goal

The jsptld:generate goal is bound to the generate-resources phase. This goal generates the TLD Descriptor file. Normally this goal would be bound into the normal build cycle for your project and regenerated with each build so that any code changes can be incorporated.

However, if you wanted to generate just the TLD file without running a full build, you could execute the following from the command line:

mvn jsptld:generate

You will see that the .tld file is generated by default in the target/classes/META-INF directory of your project (unless overridden by configuration settings in your pom.xml file).