Skip to content

inputMavenArtifact failing to rely on the dependencyManagement section #225

Description

@tarun-bb

I am using maven-boat-plugin version 0.14.8 where when using inputMavenArtifact feature of this plugin, boat plugin is unable to inherit version of api-spec from dependency-management section.

slack conversation : https://backbase.slack.com/archives/CMU9PLZ5Z/p1629373147018900

Expected behaviour : inputMavenArtifact should recognise ${card-management-api.version} from dependency-management
Actual behaviour : Plugin failed to recognise the version and forced me to provide a exact version instead

<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.backbase</groupId>
                <artifactId>backbase-bom</artifactId>
                <version>${backbase-bom.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
<inputMavenArtifact>
                                <groupId>com.backbase.dbs.cards</groupId>
                                <artifactId>card-manager</artifactId>
                                <version>2.23</version>
                               <!-- <version>${card-management-api.version}</version>-->
                                <type>zip</type>
                                <classifier>api</classifier>
                                <overWrite>true</overWrite>
                                <fileName>card-manager/card-manager-client-api-v2.2.5.yaml</fileName>
</inputMavenArtifact>

Activity

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

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