Skip to content

Possibility to just flatten CI-friendly properties? #51

Closed
@Antibrumm

Description

Hi

I just found the flatten plugin while trying to adapt the CI-friendly versioning approach. As the maven project we are building is supposed to be used as a library I will have to flatten the version before installing the pom(s). So i tried to integrate the flatten-plugin and, if I did not miss something, there is no possibility to limit the properties that should be flattened. Is this correct?

From what I was able to understand and achieve I saw that all properties are flattened and several cleanup processes ran. I'm searching for a solution where we can fix the versions of the project for redistribution but keep intact any other dynamic resolutions.

Namely only the revision property:

<version>1.0.0.${revision}</version>

But ignoring other dependency versions like:

<properties><spring-version>4.3.6</spring-version></properties>

I think this makes more sense for the case Continuous Deployment, efficiently replacing the maven-release-plugin.

Is this already possible or is there any plan to bring such a feature?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions