Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-342

Maven Invoker still using -r option when such is no longer supported

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: maven-invoker-2.1.1
    • Fix Version/s: maven-invoker-3.0.0
    • Component/s: maven-invoker
    • Labels:
      None

      Description

           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, "," ) );
                  }
              }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khmarbaise Karl Heinz Marbaise
                Reporter:
                khmarbaise Karl Heinz Marbaise
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: