Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail Build on Missing File #53

Closed
kbaltrinic opened this issue Mar 20, 2014 · 1 comment
Closed

Fail Build on Missing File #53

kbaltrinic opened this issue Mar 20, 2014 · 1 comment
Assignees
Milestone

Comments

@kbaltrinic
Copy link

We were just bitten by this issue--a typo in a file name in caused our minified file not to have everything it needed. While the plugin did emit an appropriate warning, maven when on to blithly report BUILD SUCCESS. It would be nice if the plug-in could be configured to fail the maven build process in this circumstance.

This may not make any sense in all circumstances or when using patterns to include/exclude files, but even then it may. If a pattern matches no files why is the pattern there? However I feel it is definitely something that would be useful in certain circumstances, like ours.

@samaxes samaxes added this to the 1.7.3 milestone Jul 31, 2014
@samaxes samaxes self-assigned this Jul 31, 2014
@samaxes
Copy link
Owner

samaxes commented Jul 31, 2014

Landed this on master branch.
It will however fail the build only for cssSourceFiles and jsSourceFiles options and not for include/exclude patterns.

@samaxes samaxes closed this as completed Jul 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants