def deploy_artifact( notation, file_path, url, opts = {} )
      artifact = Naether::Java.create( "com.tobedevoured.naether.deploy.DeployArtifact" )

      artifact.setRemoteRepo( url )
      artifact.setNotation( notation )
      artifact.setFilePath( file_path )
      if opts[:pom_path]
        artifact.setPomPath( opts[:pom_path] )
      end

      if opts[:username] || opts[:pub_key]
        artifact.setAuth(opts[:username], opts[:password], opts[:pub_key], opts[:pub_key_passphrase] )
      end
      if Naether.platform == 'java'
        @resolver.deployArtifact(artifact)
      else
        @resolver._invoke( 'deployArtifact', 'Lcom.tobedevoured.naether.deploy.DeployArtifact;', artifact )
      end
    end
def deploy_artifact( notation, file_path, url, opts = {} )
      artifact = Naether::Java.create( "com.tobedevoured.naether.deploy.DeployArtifact" )

      artifact.setRemoteRepo( url )
      artifact.setNotation( notation )
      artifact.setFilePath( file_path )
      if opts[:pom_path]
        artifact.setPomPath( opts[:pom_path] )
      end

      if opts[:username] || opts[:pub_key]
        artifact.setAuth(opts[:username], opts[:password], opts[:pub_key], opts[:pub_key_passphrase] )
      end
      if Naether.platform == 'java'
        @resolver.deployArtifact(artifact)
      else
        @resolver._invoke( 'deployArtifact', 'Lcom.tobedevoured.naether.deploy.DeployArtifact;', artifact )
      end
    end
Deploy artifact to remote repo url

 @param [String] notation
 @param [String] file_path to artifact to deploy
 @param [String] url to deploy to
 @param [Hash] opts
 @option opts [String] :pom_path path to pom.xml
 @option opts [String] :username for optional auth
 @option opts [String] :password for optional auth
 @option opts [String] :pub_key for optional auth
 @option opts [String] :pub_key_passphrase for optional auth