{"id":19820039,"url":"https://github.com/freelancer/nexus-repository-apt","last_synced_at":"2026-06-06T22:31:56.859Z","repository":{"id":90761770,"uuid":"155659036","full_name":"freelancer/nexus-repository-apt","owner":"freelancer","description":"A fork of https://github.com/sonatype-nexus-community/nexus-repository-apt","archived":false,"fork":false,"pushed_at":"2019-01-16T01:28:54.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-11T08:28:50.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freelancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2018-11-01T03:49:36.000Z","updated_at":"2019-01-16T01:28:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dbc56c7-50fe-46a9-8893-7c5f96d26097","html_url":"https://github.com/freelancer/nexus-repository-apt","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-apt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-apt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-apt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-apt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freelancer","download_url":"https://codeload.github.com/freelancer/nexus-repository-apt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241176617,"owners_count":19922732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-12T10:21:11.083Z","updated_at":"2025-02-28T15:49:06.994Z","avatar_url":"https://github.com/freelancer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus repository APT plugin\n\n[![Build Status](https://travis-ci.org/sonatype-nexus-community/nexus-repository-apt.svg?branch=master)](https://travis-ci.org/sonatype-nexus-community/nexus-repository-apt) [![DepShield Badge](https://depshield.sonatype.org/badges/sonatype-nexus-community/nexus-repository-apt/depshield.svg)](https://depshield.github.io)\n\nCompatibility Matrix:\n\n| Plugin Version | Nexus Repository Version |\n|----------------|--------------------------|\n| v1.0.2         | \u003c3.9.0                   |\n| v1.0.5         | 3.9.0                    |\n| v1.0.7         | 3.11.0                   |\n| v1.0.8         | 3.13.0                   |\n| v1.0.9         | 3.14.0                   |\n\n### Build\n* Clone the project:\n\n  `git clone https://github.com/sonatype-nexus-community/nexus-repository-apt`\n* Build the plugin:\n\n  ```\n  cd nexus-repository-apt\n  mvn\n  ```\n### Build with docker and create an image based on nexus repository 3\n\n``` docker build -t nexus-repository-apt:3.14.0 .```\n\n### Run a docker container from that image\n\n``` docker run -d -p 8081:8081 --name nexus-repo nexus-repository-apt:3.14.0 ```\n\nFor further information like how to persist volumes check out [the GitHub Repo for the official Nexus Repository 3 Docker image](https://github.com/sonatype/docker-nexus3).\n\nThe application will now be available from your browser at http://localhost:8081\n\n### Install\n* Stop Nexus:\n\n  `service nexus stop`\n\n  or\n\n  ```\n  cd \u003cnexus_dir\u003e/bin\n  ./nexus stop\n  ```\n\n* Copy the bundle into `\u003cnexus_dir\u003e/system/net/staticsnow/nexus-repository-apt/1.0.9/nexus-repository-apt-1.0.9.jar`\n* Make the following additions marked with + to `\u003cnexus_dir\u003e/system/org/sonatype/nexus/assemblies/nexus-core-feature/3.x.y/nexus-core-feature-3.x.y-features.xml`\n   ```\n         \u003cfeature version=\"x.y.z\" prerequisite=\"false\" dependency=\"false\"\u003enexus-repository-maven\u003c/feature\u003e\n   +     \u003cfeature version=\"1.0.9\" prerequisite=\"false\" dependency=\"false\"\u003enexus-repository-apt\u003c/feature\u003e\n     \u003c/feature\u003e\n   ```\n   And\n   ```\n   + \u003cfeature name=\"nexus-repository-apt\" description=\"net.staticsnow:nexus-repository-apt\" version=\"1.0.9\"\u003e\n   +     \u003cdetails\u003enet.staticsnow:nexus-repository-apt\u003c/details\u003e\n   +     \u003cbundle\u003emvn:net.staticsnow/nexus-repository-apt/1.0.9\u003c/bundle\u003e\n   +     \u003cbundle\u003emvn:org.apache.commons/commons-compress/1.18\u003c/bundle\u003e\n   +     \u003cbundle\u003emvn:org.tukaani/xz/1.8\u003c/bundle\u003e\n   + \u003c/feature\u003e\n    \u003c/features\u003e\n   ```\nThis will cause the plugin to be loaded and started with each startup of Nexus Repository.\n\n### Manually upload a package to a new created repo:\n`curl -u user:pass -X POST -H \"Content-Type: multipart/form-data\" --data-binary \"@package.deb\"  http://nexus_url:8081/repository/repo_name/`\n\n### Create a snapshot of the current package lists for the repo that can be pulled from:\n`curl -u user:pass -X MKCOL http://nexus_url:8081/repository/repo_name/snapshots/$SNAPSHOT_ID`\n\n### Create gpg key required for signing apt-packages\nSee https://help.github.com/articles/generating-a-new-gpg-key/\n\n## The Fine Print\n\nIt is worth noting that this is **NOT SUPPORTED** by Sonatype, and is a contribution of Mike Poindexter's\nplus us to the open source community (read: you!)\n\nRemember:\n\n* Use this contribution at the risk tolerance that you have\n* Do **NOT** file Sonatype support tickets related to APT support\n* **DO** file issues here on GitHub, so that the community can pitch in\n\nPhew, that was easier than I thought. Last but not least of all:\n\nHave fun building and using this plugin on the Nexus platform, we are glad to have you here!\n\n## Getting help\n\nLooking to contribute to our code but need some help? There's a few ways to get information:\n\n* Chat with us on [Gitter](https://gitter.im/sonatype/nexus-developers)\n* Check out the [Nexus3](http://stackoverflow.com/questions/tagged/nexus3) tag on Stack Overflow\n* Check out the [Nexus Repository User List](https://groups.google.com/a/glists.sonatype.com/forum/?hl=en#!forum/nexus-users)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreelancer%2Fnexus-repository-apt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreelancer%2Fnexus-repository-apt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreelancer%2Fnexus-repository-apt/lists"}