maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MSHARED-342) Maven Invoker still using -r option when such is no longer supported
Date Sun, 10 Jul 2016 11:30:16 GMT

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

Karl Heinz Marbaise closed MSHARED-342.
---------------------------------------
    Resolution: Fixed
      Assignee: Karl Heinz Marbaise

Done with MSHARED-572 

> Maven Invoker still using -r option when such is no longer supported
> --------------------------------------------------------------------
>
>                 Key: MSHARED-342
>                 URL: https://issues.apache.org/jira/browse/MSHARED-342
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-invoker
>    Affects Versions: maven-invoker-2.1.1
>            Reporter: Karl Heinz Marbaise
>            Assignee: Karl Heinz Marbaise
>            Priority: Critical
>             Fix For: maven-invoker-3.0.0
>
>
> {code:java}
>      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)

Mime
View raw message