added a comment - - edited
This will make the forceEncoding option redundant, or I miss something ?
If the employed SAXReader is really not capable of detecting the file encoding from the XML declaration, the plugin should simply use WriterFactory.newXmlReader() from plexus-utils and pass the reader to SAXReader.read(Reader).
I agree with Hervé, the parameter forceEncoding should be removed. Deleting mojo parameters shouldn't cause any harm with backward-compat, IIRC Maven silently ignore configuration elements from the POM for which no corresponding setter/field exists on the mojo.
like explained in
MJNCSS-15, encoding support in javancss itself is needed first