code: private String extractArguments( RepositoryOptionImpl[] repositoriesOptions,
                                       ExcludeDefaultRepositoriesOption[] excludeDefaultRepositoriesOptions )
      {
          final StringBuilder argument = new StringBuilder();
          final boolean excludeDefaultRepositories = excludeDefaultRepositoriesOptions.length > 0;
  
          if( repositoriesOptions.length > 0 || excludeDefaultRepositories )
          {
              argument.append( "--repositories=" );
              if( !excludeDefaultRepositories )
              {
                  argument.append( "+" );
              }
              for( int i = 0; i < repositoriesOptions.length; i++ )
              {
                  argument.append( repositoriesOptions[ i ].getRepository() );
                  if( i + 1 < repositoriesOptions.length )
                  {
                      argument.append( "," );
                  }
              }
          }
          return argument.toString();
      }
docs: Converts repository options into corresponding arguments (--repositories).
  
  @param repositoriesOptions repository options to be converted
  @param excludeDefaultRepositoriesOptions
  if array not empty the default list of maven repos should be excluded
  
  @return converted Pax Runner argument