stevecrox opened a new pull request, #32:
URL: https://github.com/apache/maven-fluido-skin/pull/32

   I have modified this branch so the repository no longer contains the JS 
files used, instead we make use of the com.github.eirslett:frontrend-plugin.
   
   This plug-in will pull down a copy of Node.JS into the build directory, this 
in turn allows us to call 'npm' and install bootstrap and anchor-js via NPM 
(since NPM Regsitry is how front end developers "release" libraries). This is 
performed in the 'generate-resources' phase. 
   
   I had to bump the bootstrap version from 2.8.3 to 3.1.1, the classes uses 
dont appear to have changed, the big change was the removal of jQuery so this 
was removed from the project. 
   
   I then added several executions to the maven-resources-plugin, these run in 
the 'process-resources' (phase after 'generate-resources'). The 
com.samaxes.maven:minify-maven-plugin plugin expects all the CSS/JS files to be 
in the same root directory, they are obviously now in different directories 
(e.g. src/main/resources and target/node_modules). So we use 
maven-resources-plugin to move them into a single directory (e.g. 
target/interim-minify). This lets the minify plug-in create the same build 
artefacts as before.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to