Skip to content

graphqlcodegen-maven-plugin-3.10.0

Choose a tag to compare

@deweyjose deweyjose released this 05 Sep 14:35
· 16 commits to main since this release
c8c2a90

Highlights

  • schemaJarFilesFromDependencies now supports classifiers (#351, thanks @RienderieN) — reference a classified schema jar directly:
<schemaJarFilesFromDependencies>
  <param>com.example:my-schemas:schema:1.0.0</param>
</schemaJarFilesFromDependencies>

The coordinate form is groupId:artifactId:[classifier:]version — the classifier is optional, so existing 3-part refs keep working.

  • Fixed: SNAPSHOT coordinates never matched (#351) — matching now uses the artifact's base version, so com.example:foo:1.0.0-SNAPSHOT correctly matches an artifact resolved to a timestamped build such as 1.0.0-20260101.120000-3. Previously these silently failed to match.

  • Fixed: non-deterministic jar selection (#351) — when a project depended on both a classified and an unclassified artifact at the same groupId:artifactId:version, matching could pick either one depending on iteration order, so codegen could read the wrong jar between builds.

  • Unmatched coordinates now log a warning (#351) — a coordinate in schemaJarFilesFromDependencies that matches no dependency was previously ignored in silence; it now emits a WARN naming the coordinate.

⚠️ Behavior change

A 3-part groupId:artifactId:version ref now matches only artifacts with no classifier. Previously it matched any artifact at that coordinate, ignoring the classifier — the source of the non-deterministic selection bug above.

If your only dependency at that coordinate carries a classifier and you wrote the ref without it, you were matching by accident and will now be skipped. The fix is to add the classifier to the ref; the new WARN will name any coordinate that stops matching.

What's Changed

  • Bump junit.version from 6.0.3 to 6.1.2 by @dependabot[bot] in #345
  • Bump com.fasterxml.jackson.core:jackson-databind from 2.15.0 to 2.22.0 by @dependabot[bot] in #330
  • Modernize examples: Spring Boot 4.0.7 + DGS framework 12.0.1 + JUnit 6 by @dependabot[bot] in #342
  • fix schemaJarFilesFromDependencies artifactRef version matching and add artifact classifier support by @RienderieN in #351

New Contributors

Full Changelog: graphqlcodegen-maven-plugin-3.9.0...graphqlcodegen-maven-plugin-3.10.0