resources-optimizer-maven-plugin icon indicating copy to clipboard operation
resources-optimizer-maven-plugin copied to clipboard

Maven plugin to compress and merge web JS/CSS resources

Maven License Discord Chat Actions Status Stackoverflow

Resources Optimizer Maven Plugin

Maven plugin for web resource optimization of JS/CSS including:

  • compressing Javascript
  • transpiling Javascript from one version to another (e.g. ECMASCRIPT3 to ECMASCRIPT2015)
  • source map generation for Javascript
  • compressing and merging CSS
  • converting images to base64 encoded data-uri's embedded in your CSS
  • ...and more

See Wiki documentation for the configuration and usage of the plugin.

JDK 8

[!WARNING]
Plugin version 2.4.4 is the last to support JDK8 because of Google Closure Compiler stopped supporting JDK8.

JDK 11+

[!IMPORTANT]
Plugin version 2.5.0+ is for JDK11+