Skip to content

Skipped artifact still results in a deployed module #132

Description

@dsyer

Describe the bug

Module with 0 artifacts is plublished instead of skipping entirely.

Current behavior

After #39 was fixed I see maven.deploy.skip=true causing the artifactory plugin to print "...will not be deployed because 'maven.deploy.skip' property is true." Good. But it still publishes a module with 0 artifacts. Shouldn't it just skip that module completely?

Reproduction steps

Configure a submodule with maven.dploy.skip=true

Expected behavior

No module published.

Artifactory Maven plugin version

3.6.2

Operating system type and version

Ubuntu 22

JFrog Artifactory version

No response

Maven version

No response

Metadata

Metadata

Assignees

No one assigned

    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