nexus-repository-composer
nexus-repository-composer copied to clipboard
Can not download any dev packages
Hi,
I have installed this plugin on my nexus 3.38 and it works fine for all packages that are not dev packages. If I try to get dev packages, Nexus throw me a 404 error:
bash-5.1# composer require monolog/monolog:^1.21.0
./composer.json has been updated
Running composer update monolog/monolog
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading monolog/monolog (1.x-dev)
[Composer\Downloader\TransportException]
The "https://xxxxxxx/repository/composer-public/monolog/monolog/1.x-dev/monolog-monolog-1.x-dev.zip" file could not be downloaded (HTTP/2 404 )
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...
bash-5.1# composer require monolog/monolog:1.21.0
./composer.json has been updated
Running composer update monolog/monolog
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Downgrading monolog/monolog (1.x-dev => 1.21.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading monolog/monolog (1.21.0)
- Downgrading monolog/monolog (1.22.1 => 1.21.0): Extracting archive
Generating autoload files
The repo proxy on nexus is configured to use https://packagist.org/
Thanks in advance for your help.
Seems to be a duplicate of #114.