Sample application which shows hot to minify javascripts and css files using maven plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

How to minify javascript and css file using maven plugin

Sample application which shows how to minify javascript and css files using maven plugin.

This application uses embeded jetty server so use the following commands to build and run application.

To build application:

mvn clean install

To run jetty server:

mvn jetty:run

Hit following urls from browser to check minified javascript and css files.

Use the following url which returns index page so you can confirm that javascript and css files are functioning properly:

For more details refer articale at: