Skip to content

[MGPG-93] .asc files are written to a non-existent output directory #251

@jira-importer

Description

@jira-importer

Pawel Veselov opened MGPG-93 and commented

I think this is an instance of MGPG-44, but for a different assembly.
Attempting to sign .war files created in non-standard location causes build to fail:

$ mvn package gpg:sign
[INFO] --- maven-gpg-plugin:3.0.1:sign (default-cli) @ b ---
gpg: using "856916A457583513" as default secret key for signing
gpg: can't create '/home/vps/tmp/gpg-test/mod/target/gpg/../artifacts/b-1-SNAPSHOT.war.asc': No such file or directory
gpg: signing failed: No such file or directory

Structure to reproduce: [^gpg-test.tar.gz]

This can be worked around with using ascDirectory, but I figured it should work without it.


Affects: 3.0.1

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions