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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • maven-invoker-2.1.1
    • maven-invoker-3.0.0
    • maven-invoker
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: