Skip to content

Commit 793aa52

Browse files
committed
Try to address #24
1 parent 2f7a952 commit 793aa52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/java/tools/jackson/integtest/gradle/GradleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public class GradleTest
1313
{
1414
/**
15-
* This test calls the Gradle build in 'src/test/resources/com/fasterxml/jackson/integtest/gradle' which:
15+
* This test calls the Gradle build in 'src/test/resources/tools/jackson/integtest/gradle' which:
1616
* - Collects all entries from the latest Jackson BOM
1717
* - Checks the metadata of all the entries if they point back to the BOM
1818
* - If not, it fails which can mean one of the following:

src/test/resources/tools/jackson/integtest/gradle/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ val modulesWithoutGradleMetadata = listOf(
1313
)
1414

1515
dependencies {
16-
// implementation(platform("com.fasterxml.jackson:jackson-bom:+"))
16+
// implementation(platform("tools.jackson:jackson-bom:+"))
1717

1818
// 28-Apr-2023, tatu: Uncomment following (and comment ^^^) to test SNAPSHOT versions
19-
implementation(platform("com.fasterxml.jackson:jackson-bom:2.19.0-SNAPSHOT"))
19+
implementation(platform("tools.jackson:jackson-bom:3.0.0-rc1-SNAPSHOT"))
2020
repositories.maven("https://oss.sonatype.org/content/repositories/snapshots")
2121
}
2222

@@ -68,7 +68,7 @@ tasks.register("checkMetadata") {
6868
val pomModule = pomAllModulesResolved[index]
6969

7070
val pomDependencies = pomModule.dependencies.map { it.toString() }
71-
val gmmDependencies = gmmModule.dependencies.filter { !it.requested.displayName.startsWith("com.fasterxml.jackson:jackson-bom:") }.map { it.toString() }
71+
val gmmDependencies = gmmModule.dependencies.filter { !it.requested.displayName.startsWith("tools.jackson:jackson-bom:") }.map { it.toString() }
7272
if (pomDependencies != gmmDependencies) {
7373
message += "Dependencies of ${pomModule.id} are wrong in Gradle Metadata:" +
7474
"\n POM: ${pomDependencies.joinToString()}" +

0 commit comments

Comments
 (0)