What exactly is a Maven Snapshot and why do we need it?

A snapshot version in Maven is one that has not been released. The idea is that before a 1.0 release (or any other release) is done, there exists a 1.0-SNAPSHOT. That version is what might become 1.0. It’s basically “1.0 under development”. This might be close to a real 1.0 release, or pretty far (right after the 0.9 release, for example). The difference between a “real” version and a … Read more

Javascript require() function giving ReferenceError: require is not defined

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code. http://requirejs.org/docs/download.html Add this to your project: https://requirejs.org/docs/release/2.3.5/minified/require.js and take a look at this http://requirejs.org/docs/api.html