Skip to content

Commit

Permalink
Fix #52 for 2.14 and above (for 2.13 need to think about what to do)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 27, 2022
1 parent 3010a9e commit eaf1c4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion base/pom.xml
Expand Up @@ -25,6 +25,11 @@ of Jackson: application code should only rely on `jackson-bom`
<moditect.sourceGroup>${project.groupId}</moditect.sourceGroup>
<moditect.sourceArtifact>${project.artifactId}</moditect.sourceArtifact>
<moditect.sourceVersion>${project.version}</moditect.sourceVersion>

<!-- To fix [jackson-bom#52] need to first use better default version for
parent pom, and then also allow override as need be
-->
<jackson-bom.version>${project.parent.version}</jackson-bom.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -184,7 +189,7 @@ of Jackson: application code should only rely on `jackson-bom`
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${project.version}</version>
<version>${jackson-bom.version}</version>
</dependency>
</platformDependencies>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion release-notes/VERSION-2.x
Expand Up @@ -11,7 +11,7 @@ Jackson components (core, modules)

2.14.0 (not yet released)

No changes since 2.13
#52: Gradle reports incorrect jackson-bom dependency version

2.13.2 (06-Mar-2022)

Expand Down

0 comments on commit eaf1c4e

Please sign in to comment.