Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inputMavenArtifact failing to rely on the dependencyManagement section #225

Open
tarun-bb opened this issue Aug 19, 2021 · 0 comments
Open

Comments

@tarun-bb
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant