Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more. In the same time, the aim is to keep it as simple as possible and as extensible as …
Clone or download
sfeigl and alexo Solves #1039: Java 9 releated changes (#1052)
* Bump mockito version for Java 9

* Seems like Mockito any(Clazz) errors when the argument is null

* Oracle JDK7 is no longer available in travis - use OpenJDK 7

* Multi JDK travis build

* Further Java 9 fixes (use more recent maven plugins)

* Use more recent groovy runtime

* WroModel sometimes replaced the TreeSet by a HashSet. This resulted in unreliable testing between Java versions as
the HashMap got sorted different on JDK 7 vs. JDK 8+

* Use gmaven-plus-plugin as groovy compiler
Latest commit 185ab60 Oct 2, 2017

Web Resource Optimizer for Java

Join the chat at Build Status Coverage Status Maven Central Stories in Ready

wro4j is a free and Open Source Java project which will help you to easily improve your web application page loading time. It can help you to keep your static resources (js & css) well organized, merge & minify them at run-time (using a simple filter) or build-time (using maven plugin) and has a dozen of features you may find useful when dealing with web resources.

Getting Started

In order to get started with wro4j, you have to follow only 3 simple steps.

Step 1: Add WroFilter to web.xml


Step 2: Create wro.xml

<groups xmlns="">
	<group name="all">

Step 3: Use optimized resources

	<title>Web Page using wro4j</title>
	<link rel="stylesheet" type="text/css" href="/wro/all.css" />
	<script type="text/javascript" src="/wro/all.js"/>



The documentation for this project is located here


Found a bug? Report it to the issue tracker


If you have any questions or suggestions, please feel free to post a comment to the discussion group

Follow me on Twitter.


This project is available under the Apache License, Version 2.0.