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

Update bill of materials (BOM) to define version for each dependency #379

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

rainermueller
Copy link
Contributor

Description

To omit the versions in pom.xml the dependencies in org.zalando:logbook-bom must define <version>${logbook.version}</version>

Motivation and Context

We still have to define the dependency version due to following error

[ERROR] 'dependencies.dependency.version' for org.zalando:logbook-servlet:jar is missing. @ com.inventage.demo:backend-war:[unknown-version]

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@@ -20,30 +20,37 @@
<dependency>
<groupId>org.zalando</groupId>
<artifactId>logbook-api</artifactId>
<version>1.12.0-SNAPSHOT</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to use a property pointing to it's own version? Otherwise we need to make sure to bump this here:

./mvnw versions:set -D newVersion=${release}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running mvn versions:set -D newVersion=1.12.0 locally just runs fine.

All dependencies in org.zalando:logbook-bom are updated to <version>1.12.0</version>

@whiskeysierra whiskeysierra merged commit 9fbad2d into zalando:master Nov 1, 2018
@whiskeysierra
Copy link
Collaborator

I released your fix as 1.11.1 to central. Thanks a lot for the contribution! 🎉

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

Successfully merging this pull request may close these issues.

2 participants