Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-164

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • Default locale: en_US, platform encoding: UTF-8
      OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"

    Description

      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

              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

              khmarbaise Karl Heinz Marbaise
              jccarrillo JC Carrillo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: