Download the PHP package memfinis/nexus-composer-push without Composer
On this page you can find all versions of the php package memfinis/nexus-composer-push. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download memfinis/nexus-composer-push
More information about memfinis/nexus-composer-push
Files in memfinis/nexus-composer-push
Package nexus-composer-push
Short Description Provide a Push command to composer to push to Nexus repositories
License
Informations about the package nexus-composer-push
Nexus Push command for composer
This composer plugin provide a composer nexus-push
command that allow to push the current package into a Nexus
Composer repository hosted with nexus-repository-composer.
Installation
Usage
Many of the options are optional since they can be added directly to the composer.json
file.
Configuration
It's possible to add some configurations inside the composer.json
file
Above configuration may be called unique repository configuration format, as you can only configue one nexus repository in composer.json.
In practice, for security reasons, different versions of component code, such as production and development, often apply different deployment policy, such as disable redeploy for the production version and allow redeploy for the development version, so they need to be stored in different nexus repositories. For versions later than 0.1.5, the command-line parameter -- repository is introduced to meet this requirement. To enable the -- repository parameter, the composer.json file needs to be in the following format:
Above configuration may be called multi repository configuration format.
The new version continues to support parsing the unique repository configuration format, but remember that you cannot use the -- repository command line argument in this scenario.
The username
and password
can be specified in the auth.json
file on a per-user basis with the authentication mechanism provided by Composer.
Source type, URL, reference
This is an optional part that can be added to the composer.json file provided for the package which can contain the source reference for this version. This option is useful in case you have a source manager and you would like to have a direct link to the source of an specific version. The example above given will read the last commit ID from git and the remote address from git as well which is quiet simple and useful.
All versions of nexus-composer-push with dependencies
ext-curl Version *
ext-json Version *
ext-zip Version *
composer-plugin-api Version ^1.1|^2.0
guzzlehttp/guzzle Version ^6.0|^7.0
symfony/finder Version ^3.0|^4.0|^5.0
symfony/filesystem Version ^3.0|^4.0|^5.0