# HG changeset patch # User robcast # Date 1447448246 -3600 # Node ID 8821a80fd9bcd3c87009fa215d1be1d150a57525 # Parent a96deb0129a5b8c334ce8190e0c82f72c189371d add Javascript collection and minification step to maven build. creates jquery.digilib-basic.min.js diff -r a96deb0129a5 -r 8821a80fd9bc .hgignore --- a/.hgignore Fri Nov 13 20:41:23 2015 +0100 +++ b/.hgignore Fri Nov 13 21:57:26 2015 +0100 @@ -119,4 +119,8 @@ syntax: regexp ^doc/\.project$ syntax: regexp -^doc/target$ \ No newline at end of file +^doc/target$ +syntax: regexp +^webapp/src/main/webapp/jquery/jquery\.cookie-range\.min\.js$ +syntax: regexp +^webapp/src/main/webapp/jquery/jquery\.digilib-basic\.min\.js$ \ No newline at end of file diff -r a96deb0129a5 -r 8821a80fd9bc webapp/pom.xml --- a/webapp/pom.xml Fri Nov 13 20:41:23 2015 +0100 +++ b/webapp/pom.xml Fri Nov 13 21:57:26 2015 +0100 @@ -48,37 +48,52 @@ - - net.alchim31.maven - yuicompressor-maven-plugin - 1.5.1 - - - - compress - - - - - false - - **/*.css - - - jquery/jquery.digilib.*.js - - - - true - true - ${project.build.directory}/${project.build.finalName}/digilib-all-min.js - - jquery/jquery.digilib.*.js - - - - - + + com.samaxes.maven + minify-maven-plugin + 1.7.4 + + + digilib-basic-minify + + jquery + + + jquery.digilib.js + jquery.digilib.geometry.js + jquery.digilib.arrows.js + jquery.digilib.buttons.js + jquery.digilib.dialogs.js + jquery.digilib.sliders.js + jquery.digilib.birdseye.js + jquery.digilib.marks.js + jquery.digilib.regions.js + + jquery.digilib-basic.js + YUI + + + minify + + + + cookie-range-minify + + jquery + + + jquery.cookie.js + jquery.range.js + + jquery.cookie-range.js + YUI + + + minify + + + + diff -r a96deb0129a5 -r 8821a80fd9bc webapp/src/main/webapp/digilib.html --- a/webapp/src/main/webapp/digilib.html Fri Nov 13 20:41:23 2015 +0100 +++ b/webapp/src/main/webapp/digilib.html Fri Nov 13 21:57:26 2015 +0100 @@ -11,19 +11,10 @@ } - - - - - - + + - - - - - - +