{"id":18438443,"url":"https://github.com/roboconf/dockerized-mock-for-nexus-api","last_synced_at":"2026-04-29T21:32:06.742Z","repository":{"id":77568229,"uuid":"95561324","full_name":"roboconf/dockerized-mock-for-nexus-api","owner":"roboconf","description":"A Docker image with a (partial) implementation of Nexus Core API","archived":false,"fork":false,"pushed_at":"2017-06-28T14:14:43.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T15:06:11.603Z","etag":null,"topics":["docker","docker-image","nexus","nexus-api","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roboconf.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-27T13:29:39.000Z","updated_at":"2018-03-24T11:18:13.000Z","dependencies_parsed_at":"2023-03-12T01:00:49.907Z","dependency_job_id":null,"html_url":"https://github.com/roboconf/dockerized-mock-for-nexus-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roboconf/dockerized-mock-for-nexus-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboconf%2Fdockerized-mock-for-nexus-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboconf%2Fdockerized-mock-for-nexus-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboconf%2Fdockerized-mock-for-nexus-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboconf%2Fdockerized-mock-for-nexus-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roboconf","download_url":"https://codeload.github.com/roboconf/dockerized-mock-for-nexus-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboconf%2Fdockerized-mock-for-nexus-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","nexus","nexus-api","nodejs"],"created_at":"2024-11-06T06:19:52.225Z","updated_at":"2026-04-29T21:32:06.728Z","avatar_url":"https://github.com/roboconf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerized Mock for Nexus API\n\nBuilding [Roboconf's Docker images](https://github.com/roboconf/roboconf-dockerfile) requires an internet connection to\nretrieve the last artifacts from [Sonatype's OSS repository](https://oss.sonatype.org/). However,\nthere are times where we would like to use locally built Maven artifacts.\n\nThis project aims at mocking [Nexus' Core API](https://repository.sonatype.org/nexus-restlet1x-plugin/default/docs/index.html)\nto download local Maven artifacts.  \nThe server can be launched manually with NodeJS or embedded in a Docker image.\n\n\u003e For the moment, only the\n\u003e [redirect operation](https://repository.sonatype.org/nexus-restlet1x-plugin/default/docs/path__artifact_maven_redirect.html)\n\u003e is implemented.  \n\u003e The **LATEST** value is not supported when resolving artifacts.\n\n\n## Build it \n\n```\ndocker build -t roboconf/mock-for-nexus-api .\n```\n\n## Run it\n\n```properties\n# Add a volume to load the local Maven repository.\n# The volume is read-only.\n# Make the API available on the 9090 port.\n# The container will run in background and be deleted automatically once stopped.\ndocker run -d --rm -p 9090:9090 -v /home/me/.m2:/home/maven:ro roboconf/mock-for-nexus-api\n```\n\n## Access the API\n\nThe API will be available by default at http://localhost:9090/redirect  \nExample of GET request (to run in your web browser).\n\n```\nhttp://localhost:9090/redirect?g=net.roboconf\u0026r=releases\u0026a=roboconf-karaf-dist-dm\u0026v=0.9-SNAPSHOT\u0026p=tar.gz\n```\n\n## Run the Server without Docker\n\nAssuming you have NodeJS installed...\n\n```properties\n# Start the server\nnpm start\n```\n\n... or...\n\n```properties\n# To start the server while watching file edition\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboconf%2Fdockerized-mock-for-nexus-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froboconf%2Fdockerized-mock-for-nexus-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboconf%2Fdockerized-mock-for-nexus-api/lists"}