minify-maven-plugin icon indicating copy to clipboard operation
minify-maven-plugin copied to clipboard

Bundle json file path

Open user20161119 opened this issue 8 years ago • 3 comments

I put bundle.json in src/main/resource

image

and my css and js folders are in src/main/webapp

image

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: image the file location is correct,but can not compress.

user20161119 avatar Dec 02 '16 10:12 user20161119

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 avatar Dec 12 '16 02:12 samaxes

@samaxes I use maven module projects,kxwp-parent is the parent project. image

I reference the demo config as follow: image

still not work.

the debug information in the project build process, debug shows the file path is right: image

but build error,not found the source files. image

user20161119 avatar Dec 12 '16 03:12 user20161119

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?

samaxes avatar Dec 12 '16 11:12 samaxes