Skip to content

Incorrect reading of the file with artifact key identifiers #499

@freedom1b2830

Description

@freedom1b2830

Describe the bug
The plugin ignores the noSig instruction for the artifact, possibly due to the use of capital letters in the version.

To Reproduce

<repository>
	<id>papermc</id>
	<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<dependency>
	<groupId>io.papermc.paper</groupId>
	<artifactId>paper-api</artifactId>
	<version>1.20.1-R0.1-SNAPSHOT</version>
	<scope>provided</scope>
</dependency>

pgp map key file:

io.papermc.paper:paper-api:jar:1.20.1-R0.1-SNAPSHOT = noSig
io.papermc.paper:paper-api:pom:1.20.1-R0.1-SNAPSHOT = noSig

see log
[ERROR] Unsigned artifact not listed in keys map: io.papermc.paper:paper-api:jar:1.20.1-R0.1-SNAPSHOT
[ERROR] Unsigned artifact not listed in keys map: io.papermc.paper:paper-api:pom:1.20.1-R0.1-SNAPSHOT

Expected behavior
plugin version, goal
pgpverify-maven-plugin:1.17.0:check

Metadata

Metadata

Labels

bugSomething isn't working.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions