Skip to content

Commit abc2dc5

Browse files
committed
hack pom.xml for jacksonAnnotationsVersion-2.21
1 parent 4dd46a5 commit abc2dc5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

build.savant

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,11 @@ target(name: "pom", description: "Updates the pom.xml file") {
124124
pom.update()
125125

126126
// Hack. I think we need to update the pom plugin to optionally remove -{integration} from versions.
127+
// Hack-2. Because jacksonAnnotationsVersion = "2.21", need to overwrite what the pom plugin writes
127128
file.copy(to: ".") {
128129
fileSet(dir: ".", includePatterns: [~/pom.xml/])
129130
filter(token: "-\\{integration\\}", value: "")
131+
filter(token: "2.21.0", value: "2.21")
130132
}
131133
ensureFileNotChanged("pom.xml", "pom")
132134
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<dependency>
7777
<groupId>com.fasterxml.jackson.core</groupId>
7878
<artifactId>jackson-annotations</artifactId>
79-
<version>2.21.0</version>
79+
<version>2.21</version>
8080
<type>jar</type>
8181
<scope>compile</scope>
8282
<optional>false</optional>

0 commit comments

Comments
 (0)