Closed naomidhanapal closed 2 years ago
Yes, theincludes
is a list, so you need <includes><include>**/*.js</include></includes>
. The parsing is done by maven itself, so I don't think there's any way to support the shortcut <includes>**/*.js<includes>
.
With the long version you don't get any issues?
With the long version, I don't get any issues. However, I think it would be great to add it to the usage example in the README.md.
Ah, now I see what you mean, it's wrong in the readme. I updated it, thanks for pointing it out :+1:
Using Version 2.21.0 I get the build failure: Unable to parse configuration of mojo com.github.blutorange:closure-compiler-maven-plugin:2.21.0:minify for parameter includes: Cannot assign configuration entry 'includes' with value `'/.js'**/ .js` in my pom.
of type java.lang.String to property of type java.util.ArrayList**, when I have
This issue can be solved with the additional
<include>
parameter in my pom:<includes><include>**/*.js</include></includes>