[MPLUGIN-180] forward encoding to the PluginToolsRequest
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1059551 13f79535-47bb-0310-9956-ffa450edef68master
parent
269ca6f328
commit
3f754b9ef6
|
|
@ -91,6 +91,13 @@ public class PluginReport
|
||||||
*/
|
*/
|
||||||
protected MojoScanner mojoScanner;
|
protected MojoScanner mojoScanner;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @parameter expression="${outputEncoding}" default-value="${project.reporting.outputEncoding}"
|
||||||
|
* @since 2.7
|
||||||
|
*/
|
||||||
|
private String outputEncoding;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify some requirements to execute this plugin.
|
* Specify some requirements to execute this plugin.
|
||||||
* Example:
|
* Example:
|
||||||
|
|
@ -183,6 +190,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 );
|
||||||
|
|
||||||
mojoScanner.populatePluginDescriptor( request );
|
mojoScanner.populatePluginDescriptor( request );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue