minify-maven-plugin
minify-maven-plugin copied to clipboard
Bundle json file path
I put bundle.json in src/main/resource
and my css and js folders are in src/main/webapp
I tried src/main/webapp/css/xx.css and css/xx.css but neither work in the process of package phase,and said not found xx.css xx.js
Debug message as follow:
the file location is correct,but can not compress.
Hi @user20161119,
I do not have access to your POM, but if you are using the defaults, you should only use the name of the files in the files
option instead of the paths.
Have a look at the demo folder of the plugin for a working example using the bundle configuration.
@samaxes I use maven module projects,kxwp-parent is the parent project.
I reference the demo config as follow:
still not work.
the debug information in the project build process,
debug shows the file path is right:
but build error,not found the source files.
Hmm, I believe this functionality was never tested in a multi-module project. Could you please build a small project prototype replicating this bug and sent it to me?