private String createPaxRunnerScan( Artifact artifact, String optionTokens )
    {
        return "scan-bundle:" + artifact.getFile().toURI().normalize().toString() + "@update" + optionTokens;
    }
private String createPaxRunnerScan ( Artifact artifact , String optionTokens ) { return "scan-bundle:" + artifact . getFile ( ) . toURI ( ) . normalize ( ) . toString ( ) + "@update" + optionTokens ; }
Creates scanner directives from artifact to be parsed by pax runner.
Also includes options found and matched in settings part of configuration.

@param artifact     to be used to create scanner directive.
@param optionTokens to be used to create scanner directive.

@return pax runner compatible scanner directive.