MattCheely / requirejs-maven-plugin

Maven plugin for RequireJS optimization
GNU Lesser General Public License v2.1
66 stars 21 forks source link

Errors in the optimizer are not reported to Maven during build #28

Closed ouadi closed 10 years ago

ouadi commented 11 years ago

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 ...

akoskm commented 11 years ago

Cannot reproduce with 2.0.0, maven exits with BUILD FAILURE.

ouadi commented 10 years ago

I will switch to 2.0.0. Thank you for the help.

jbadeau commented 10 years ago

still happens in 2.0.0

MattCheely commented 10 years ago

@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