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

Gradle integration test failing in main for Jackson 3.0.0-SNAPSHOT #24

Open
cowtowncoder opened this issue Mar 1, 2025 · 1 comment

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Mar 1, 2025

(note: continuation of #23 -- also note: branch is "main", not "master" like most Jackson repos)

Looks like improved Gradle metadata test is failing when merged to 3.0, with:

[ERROR] Failures: 
[ERROR]   GradleTest.testJacksonBomDependency:29->build:62 FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':checkMetadata'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find tools.jackson:jackson-bom:3.0.0-rc1-SNAPSHOT.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/tools/jackson/jackson-bom/3.0.0-rc1-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/tools/jackson/jackson-bom/3.0.0-rc1-SNAPSHOT/jackson-bom-3.0.0-rc1-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/tools/jackson/jackson-bom/3.0.0-rc1-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/tools/jackson/jackson-bom/3.0.0-rc1-SNAPSHOT/jackson-bom-3.0.0-rc1-SNAPSHOT.pom
     Required by:
         project :

which I think is just because "new" Jackson (3.0) packages (under "tools.jackson.") get published to different Maven Central Nexus repo.
Main pom.xml has settings, so I think something similar is just needed for Gradle build file or settings.

@cowtowncoder
Copy link
Member Author

cowtowncoder commented Mar 1, 2025

@jjohannes I was hoping you had an idea of what is happening here -- I suspect it's relatively simple config setting thing as I suggested above.

@cowtowncoder cowtowncoder changed the title Gradle integration test failing in master for Jackson 3.0.0-SNAPSHOT Gradle integration test failing in main for Jackson 3.0.0-SNAPSHOT Mar 1, 2025
cowtowncoder added a commit that referenced this issue Mar 1, 2025
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