/resources-optimizer-maven-plugin

Maven plugin to compress and merge web JS/CSS resources

Primary LanguageJavaApache License 2.0Apache-2.0

Maven License Discord Chat Actions Status Stackoverflow

Resources Optimizer Plugin

PrimeFaces Extensions Logo

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

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

JDK 11+

Plugin version 2.5.0+ is for JDK11 only