Runtime
Closure Compiler
Minify JavaScript resources with Google Closure Compiler.
Maven
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-closure-compiler</artifactId>
</dependency>
Import org.wicketstuff:wicketstuff-bom in your dependencyManagement section to manage the version.
Source: closure-compiler