backbase-openapi-tools icon indicating copy to clipboard operation
backbase-openapi-tools copied to clipboard

inputMavenArtifact failing to rely on the dependencyManagement section

Open tarun-bb opened this issue 4 years ago • 0 comments

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>

tarun-bb avatar Aug 19 '21 12:08 tarun-bb