Skip to content
No description or website provided.
Java JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Javascript Tools

JavaScript Tools provides dependency management for JavaScript projects via maven.

To develop a JavaScript module add the following declarationg to your pom.xml plugins section.


Then to include your javascript project in another project just add it as a dependency.


All of the javascript dependencies will be copied into the target/javaScriptDependencies folder. Rather than trying to make assumptions about where you want these files to end up the plugin currently leaves it to the user to configure what to do with these files.

For a war project you would add a maven resources plugin entry to place the javascript dependencies in the desired directory with something like:


For automated testing there is a modified version of the jsamine maven plugin at which supports loading dependencies specified in the javascript files as opposed to specifying all the files in the preload sources.

This plugin is open source, if you'd like it to do something it doesn't currently do then have a go at adding it yourself. If you think it's something that everyone will want then let me know and if suitable it will be merged into the main source.

Something went wrong with that request. Please try again.