{"id":19820044,"url":"https://github.com/freelancer/nexus-repository-composer","last_synced_at":"2025-07-24T20:09:32.214Z","repository":{"id":90761763,"uuid":"155659125","full_name":"freelancer/nexus-repository-composer","owner":"freelancer","description":"A fork of https://github.com/sonatype-nexus-community/nexus-repository-composer","archived":false,"fork":false,"pushed_at":"2018-11-01T21:29:55.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-11T08:28:51.378Z","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.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":"2018-11-01T03:50:25.000Z","updated_at":"2018-11-01T21:29:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8ef814d-4c40-40e0-b2a9-e5ee6435b1f9","html_url":"https://github.com/freelancer/nexus-repository-composer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fnexus-repository-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freelancer","download_url":"https://codeload.github.com/freelancer/nexus-repository-composer/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.765Z","updated_at":"2025-02-28T15:49:05.882Z","avatar_url":"https://github.com/freelancer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n\n    Sonatype Nexus (TM) Open Source Version\n    Copyright (c) 2018-present Sonatype, Inc.\n    All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.\n\n    This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,\n    which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.\n\n    Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. \"Sonatype\" and \"Sonatype Nexus\" are trademarks\n    of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the\n    Eclipse Foundation. All other trademarks are the property of their respective owners.\n\n--\u003e\n# Nexus Repository Composer Format\n\n[![Build Status](https://travis-ci.org/sonatype-nexus-community/nexus-repository-composer.svg?branch=master)](https://travis-ci.org/sonatype-nexus-community/nexus-repository-composer) [![Join the chat at https://gitter.im/sonatype/nexus-developers](https://badges.gitter.im/sonatype/nexus-developers.svg)](https://gitter.im/sonatype/nexus-developers?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![DepShield Badge](https://depshield.sonatype.org/badges/sonatype-nexus-community/nexus-repository-composer/depshield.svg)](https://depshield.github.io)\n\n# Table Of Contents\n* [Developing](#developing)\n   * [Requirements](#requirements)\n   * [Building](#building)\n   * [Travis CI](#travis-ci)\n* [Using Composer with Nexus Repository Manger 3](#using-composer-with-nexus-repository-manager-3)\n* [Installing the plugin](#installing-the-plugin)\n   * [Temporary Install](#temporary-install)\n   * [(more) Permanent Install](#more-permanent-install)\n   * [(most) Permament Install](#most-permanent-install)\n* [The Fine Print](#the-fine-print)\n* [Getting Help](#getting-help)\n\n## Developing\n\n### Requirements\n\n* [Apache Maven 3.3.3+](https://maven.apache.org/install.html)\n* [Java 8+](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\n* Network access to https://repository.sonatype.org/content/groups/sonatype-public-grid\n\nAlso, there is a good amount of information available at [Bundle Development](https://help.sonatype.com/display/NXRM3/Bundle+Development)\n\n### Building\n\nTo build the project and generate the bundle use Maven\n\n    mvn clean package\n\nIf everything checks out, the bundle for Composer should be available in the `target` folder\n\n### Travis CI\n\nThis project is built automatically with Travis CI, and you should be able to see build results on your commits, as well\nas directly on [Travis CI](https://travis-ci.org/sonatype-nexus-community/nexus-repository-composer/).\n\n#### Build with Docker\n\n`docker build -t nexus-repository-composer:0.0.2 .`\n\n#### Run as a Docker container\n\n`docker run -d -p 8081:8081 --name nexus nexus-repository-composer:0.0.2` \n\nFor further information like how to persist volumes check out [the GitHub repo for our official image](https://github.com/sonatype/docker-nexus3).\n\nThe application will now be available from your browser at http://localhost:8081\n\n## Using Composer With Nexus Repository Manager 3\n\n[We have detailed instructions on how to get started here!](docs/COMPOSER_USER_DOCUMENTATION.md)\n\n## Installing the plugin\n\nThere are a range of options for installing the Composer plugin. You'll need to build it first, and\nthen install the plugin with the options shown below:\n\n### Temporary Install\n\nInstallations done via the Karaf console will be wiped out with every restart of Nexus Repository. This is a\ngood installation path if you are just testing or doing development on the plugin.\n\n* Enable Nexus console: edit `\u003cnexus_dir\u003e/bin/nexus.vmoptions` and change `karaf.startLocalConsole`  to `true`.\n\n  More details here: [Bundle Development](https://help.sonatype.com/display/NXRM3/Bundle+Development+Overview)\n\n* Run Nexus' console:\n  ```\n  # sudo su - nexus\n  $ cd \u003cnexus_dir\u003e/bin\n  $ ./nexus run\n  \u003e bundle:install file:///tmp/nexus-repository-composer-0.0.2.jar\n  \u003e bundle:list\n  ```\n  (look for org.sonatype.nexus.plugins:nexus-repository-composer ID, should be the last one)\n  ```\n  \u003e bundle:start \u003corg.sonatype.nexus.plugins:nexus-repository-composer ID\u003e\n  ```\n\n### (more) Permanent Install\n\nFor more permanent installs of the nexus-repository-composer plugin, follow these instructions:\n\n* Copy the bundle (nexus-repository-composer-0.0.2.jar) into \u003cnexus_dir\u003e/deploy\n\nThis will cause the plugin to be loaded with each restart of Nexus Repository. As well, this folder is monitored\nby Nexus Repository and the plugin should load within 60 seconds of being copied there if Nexus Repository\nis running. You will still need to start the bundle using the karaf commands mentioned in the temporary install.\n\n### (most) Permanent Install\n\nIf you are trying to use the Composer plugin permanently, it likely makes more sense to do the following:\n\n* Copy the bundle into `\u003cnexus_dir\u003e/system/org/sonatype/nexus/plugins/nexus-repository-composer/0.0.2/nexus-repository-composer-0.0.2.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   ```\n         \u003cfeature prerequisite=\"false\" dependency=\"false\"\u003enexus-repository-rubygems\u003c/feature\u003e\n   +     \u003cfeature prerequisite=\"false\" dependency=\"false\"\u003enexus-repository-composer\u003c/feature\u003e\n         \u003cfeature prerequisite=\"false\" dependency=\"false\"\u003enexus-repository-gitlfs\u003c/feature\u003e\n     \u003c/feature\u003e\n   ```\n   And\n   ```\n   + \u003cfeature name=\"nexus-repository-composer\" description=\"org.sonatype.nexus.plugins:nexus-repository-composer\" version=\"0.0.2\"\u003e\n   +     \u003cdetails\u003eorg.sonatype.nexus.plugins:nexus-repository-composer\u003c/details\u003e\n   +     \u003cbundle\u003emvn:org.sonatype.nexus.plugins/nexus-repository-composer/0.0.2\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## The Fine Print\n\nIt is worth noting that this is **NOT SUPPORTED** by Sonatype, and is a contribution of ours\nto 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 Composer support in regard to this plugin\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 creating and using this plugin and 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-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreelancer%2Fnexus-repository-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreelancer%2Fnexus-repository-composer/lists"}