Skip to content

gitflow-helper-maven-plugin is not compatible with maven plugins that rewrite the POM file #127

@glimmerveen

Description

@glimmerveen

When you have a project that uses a maven plugin that rewrites the POM file (such as the flatten-maven-plugin) in combination with the gitflow-helper-maven-plugin, you'll notice that the rewritten POM file(s) are correctly uploaded to the stage repository, but not to the releases repository.

The issue is that when the build on master executes, it does download all artefacts that were build and deployed to stage, except the POM file itself. As a result, the POM file finally published into the releases repository is not the same as the one deployed to stage, but the POM file from git itself in case a plugin is activated that tries to rewrite the POM file (ie. flatten-maven-plugin).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions