You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2016/07/10 11:55:11 UTC

[jira] [Closed] (MINVOKER-164) Maven Invoker still using -r option when such is no longer supported

     [ https://issues.apache.org/jira/browse/MINVOKER-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MINVOKER-164.
----------------------------------------
    Resolution: Fixed
      Assignee: Karl Heinz Marbaise

Done in [r1752081|http://svn.apache.org/r1752081]

> Maven Invoker still using -r option when such is no longer supported
> --------------------------------------------------------------------
>
>                 Key: MINVOKER-164
>                 URL: https://issues.apache.org/jira/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
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.0.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.3.4#6332)