Closed ouadi closed 10 years ago
Cannot reproduce with 2.0.0, maven exits with BUILD FAILURE.
I will switch to 2.0.0. Thank you for the help.
still happens in 2.0.0
@jbadeau Sorry, this version of the plugin is no longer maintained. I suggest you check out Charles King's version here: https://github.com/bringking/requirejs-maven-plugin
When a module is not found by the optimizer, an error message is printed. However, the build continue. It looks like all errors encountered by the optimizer are printed but not reported to Maven.
A sample 'mvn' output for the above situation is as follows: ... [INFO] [INFO] --- requirejs-maven-plugin:1.0.4:optimize (default) @ utils --- Error: Error: ERROR: module path does not exist: utilszz.js for module named: utilszz. Path is relative to: utils [INFO] [INFO] --- exec-maven-plugin:1.1:exec (Unit Testing) @ SaphirJS.utils --- [INFO] +1 passed ...