Skip to content

use protocol handler instead of rubygems servlet #239

Open
@mkristian

Description

@mkristian

replacing the rubygems servlet with a custom protocol handler. for protocol handler see http://docstore.mik.ua/orelly/java/exp/ch09_06.htm

this allows to use url/uri inside java like mavengem:https://rubygems.org the protocol handler will use the nexus-ruby-tools library directly (like the rubygems-servlet) does.

this removes the need to run a server in the background, once the "mavengem" protocol is registered any further attempts to register is a noop operation, i.e. registration should be idem potent. i.e. we share the protocol handler over ALL subprojects.

as the new protocol is just an URL to maven repository we can use the already existing code to setup such rubygems repositories inside build.gradle.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions