[ 
https://jira.codehaus.org/browse/MINVOKER-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349099#comment-349099
 ] 

Karl-Heinz Marbaise edited comment on MINVOKER-164 at 7/2/14 10:39 AM:
-----------------------------------------------------------------------

The problem is that Maven Invoker Plugin supports also Maven 2 which has such 
an option. This could be removed if we drop Maven 2 support for the 
maven-invoker-plugin.


was (Author: khmarbaise):
The problem is that Maven Invoker Plugin supports also Maven 2 which has such 
an option. This could be removed we drop Maven 2 support for the 
maven-invoker-plugin.

> Maven Invoker still using -r option when such is no longer supported
> --------------------------------------------------------------------
>
>                 Key: MINVOKER-164
>                 URL: https://jira.codehaus.org/browse/MINVOKER-164
>             Project: Maven Invoker Plugin
>          Issue Type: Task
>         Environment: Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
>            Reporter: JC Carrillo
>            Priority: Minor
>             Fix For: 2.0
>
>
> Maven Invoker Version: 2.1.1
> Maven Invoker is still using -r when such is not supported anymore. 
> http://maven.apache.org/ref/3.2.1/maven-embedder/cli.html
> This is affecting https://jira.codehaus.org/browse/MREACTOR-22
> {code}
>         if ( request.isActivatedReactor() )
>         {
>             cli.createArg().setValue( "-r" );
>             String[] includes = request.getActivatedReactorIncludes();
>             String[] excludes = request.getActivatedReactorExcludes();
>             if ( includes != null )
>             {
>                 cli.createArg().setValue( "-D" );
>                 cli.createArg().setValue( "maven.reactor.includes=" + 
> StringUtils.join( includes, "," ) );
>             }
>             if ( excludes != null )
>             {
>                 cli.createArg().setValue( "-D" );
>                 cli.createArg().setValue( "maven.reactor.excludes=" + 
> StringUtils.join( excludes, "," ) );
>             }
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to