Skip to content

fails if the flatten maven plugin is used #66

@dimovelev

Description

@dimovelev

we use the flatten maven plugin to achieve ci friendly versions - https://maven.apache.org/maven-ci-friendly.html
the build fails with such an exception:

[ERROR] Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.2.5:flatten (flatten) on project kafka-bridge: 1 problem was encountered while building the effective model for net.payback.core.microservices.kafka-bridge:kafka-bridge:1.0-SNAPSHOT
[ERROR] [FATAL] Non-readable POM C:\Users\dvelev_ext\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.5.5\spring-boot-dependencies-2.5.5.pom: C:\Users\dvelev_ext\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.5.5\spring-boot-dependencies-2.5.5.pom (The system cannot find the path specified) @ C:\Users\dvelev_ext\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.5.5\spring-boot-dependencies-2.5.5.pom
[ERROR]

It looks like the flatten plugin searches for the artefacts without the releases/snapshots prefix. I am not sure whether this is a bug of this extension or the flatten plugin though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions