Skip to content

Commit

Permalink
[MPMD-334] - Source Encoding parameter is ignored (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Seth Wilcox <swilcox@icat.com>
  • Loading branch information
laoseth and Seth Wilcox committed Apr 12, 2022
1 parent bf1244c commit 1806595
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -207,6 +207,10 @@ private PmdResult run() throws MavenReportException
LOG.debug( "Using language " + languageVersion );
configuration.setDefaultLanguageVersion( languageVersion );

if ( request.getSourceEncoding() != null )
{
configuration.setSourceEncoding( request.getSourceEncoding() );
}
try
{
configuration.prependClasspath( request.getAuxClasspath() );
Expand Down

0 comments on commit 1806595

Please sign in to comment.