Overview
The Maven JSTools Plugin provides a Maven interface to a set of JavaScript
reporting and documentation tools like JSDoc Toolkit and JSLint, along a simple
approach for building JS artifacts and use them as dependencies in your
Maven-based projects
Documentation
You can find documentation on the plugin goals here
. Since you
are obviously working on a Maven based JS project, you should also check out the
usage
and JS project packaging
documentation.
Tools
The following tools are currently supported:
- JavascriptDependencyFilter
: A Servlet Filter that loads
Javascript files or other static resources from the runtime classpath (i.e. your POM dependencies) and uses them to build
an HTTP response. Web applications can, for example, include JS dependencies in their Maven
POM and the filter will resolve those at runtime, cache them and produce the appropriate HTTP response.
- JSDoc Toolkit
: an application, written in JavaScript,
for automatically generating template-formatted, multi-page HTML
(or XML, JSON, or any other text-based) documentation from commented
JavaScript source code.
- JSLint
: is a JavaScript program that looks for problems in JavaScript programs.