[MPLUGIN-180] use correct (input) encoding as default
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1059774 13f79535-47bb-0310-9956-ffa450edef68master
parent
3f754b9ef6
commit
b42791542d
|
|
@ -92,10 +92,13 @@ public class PluginReport
|
||||||
protected MojoScanner mojoScanner;
|
protected MojoScanner mojoScanner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @parameter expression="${outputEncoding}" default-value="${project.reporting.outputEncoding}"
|
* The file encoding of the source files.
|
||||||
|
*
|
||||||
|
* @parameter expression="${encoding}" default-value="${project.build.sourceEncoding}"
|
||||||
|
*
|
||||||
* @since 2.7
|
* @since 2.7
|
||||||
*/
|
*/
|
||||||
private String outputEncoding;
|
private String encoding;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -190,7 +193,7 @@ public class PluginReport
|
||||||
pluginDescriptor.setDependencies( PluginUtils.toComponentDependencies( project.getRuntimeDependencies() ) );
|
pluginDescriptor.setDependencies( PluginUtils.toComponentDependencies( project.getRuntimeDependencies() ) );
|
||||||
|
|
||||||
PluginToolsRequest request = new DefaultPluginToolsRequest( project, pluginDescriptor );
|
PluginToolsRequest request = new DefaultPluginToolsRequest( project, pluginDescriptor );
|
||||||
request.setEncoding( outputEncoding );
|
request.setEncoding( encoding );
|
||||||
|
|
||||||
mojoScanner.populatePluginDescriptor( request );
|
mojoScanner.populatePluginDescriptor( request );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue