Skip to content

Regression "Prefix ... NOT allowed from ..." #11856

@shoffmeister

Description

@shoffmeister

Affected version

4.0.0-rc5

Bug description

Maven 4.0.0-rc5 regresses relative to 3.9.14 in resolving / downloading a specific internal project / library against a specific internal artifact server, yielding

Prefix dhbcore/dhbcore/7.0.1.3/dhbcore-7.0.1.3.jar NOT allowed from my-server-id (https://my-jfrog-artifactory-remote-server/artifactory/my-virtual-repository, default, releases)

To reproduce locally,

rm -rf ~/.m2/repository/dhbcore/

~/apache-maven-3.9.14/bin/mvn \
  org.apache.maven.plugins:maven-dependency-plugin:3.3.0:get \
  -Dartifact=dhbcore:dhbcore:7.0.1.3

// works

rm -rf ~/.m2/repository/dhbcore/

~/apache-maven-4.0.0-rc-5/bin/mvn \
  org.apache.maven.plugins:maven-dependency-plugin:3.3.0:get \
  -Dartifact=dhbcore:dhbcore:7.0.1.3

--> Fails with Prefix ... NOT allowed ....

I am slightly at a loss how to debug this, to be honest; advice appreciated.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions