Skip to content

Bump org.jsonschema2pojo:jsonschema2pojo-maven-plugin from 1.1.2 to 1.3.3#171

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/org.jsonschema2pojo-jsonschema2pojo-maven-plugin-1.3.3
Open

Bump org.jsonschema2pojo:jsonschema2pojo-maven-plugin from 1.1.2 to 1.3.3#171
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/org.jsonschema2pojo-jsonschema2pojo-maven-plugin-1.3.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Bumps org.jsonschema2pojo:jsonschema2pojo-maven-plugin from 1.1.2 to 1.3.3.

Release notes

Sourced from org.jsonschema2pojo:jsonschema2pojo-maven-plugin's releases.

1.3.3

No release notes provided.

1.3.2

  • Could not apply requested plugin error when using version 1.3.1 of Gradle plugin 'org.jsonschema2pojo' (#1769)

1.3.1

  • Add plexus-utils dependency, as this is no longer provided in Maven 3.9 (#1751)

1.3.0

  • Migrate publishing from legacy OSSRH to Maven Central Portal (#1747)
  • Remove Ant task (no longer supported) (#1743)
  • Require JDK 17 (#1741)
  • Add Jackson 3 annotation support (#1740)
  • Prevent StackOverflowError when root is self-referencing (#1679)
  • Fix 'AbstractCompile.destinationDir property has been deprecated' error when using Gradle 8 (#1646)
  • Fix problems with remote URL (e.g. http) when using Maven Plugin (#1614)
  • Fix generics class warning when using generated base builder class (#1587)
  • Allow URL(s) as source in jsonschema2pojo-gradle-plugin (#1554)

1.2.2

  • Don't log ClassAlreadyExistsException for Enum (#1597)
  • Prevent generating duplicate constructors when all properties are required; and both includeAllPropertiesConstructor and includeRequiredPropertiesConstructor are true (#1553)
  • Add support for property names containing question mark(s) (#1522)
  • Avoid NPE when setting additionalProperties path (#1515)

1.2.1

  • Fix detection of targetVersion for Android gradle builds (#1487)

1.2.0

  • Avoid output to System.err when finding unique Enum name (#1485)
  • Add useful debug logging when reading schemas and creating classes (#1483)
  • Use targetVersion to decide which Generated annotation to add (#1482)
  • Add Javadoc to constructors parameters for properties that have title/description/$comment (#1481)
  • Choose default targetVersion using Gradle/Maven configuration (#1478)
  • Use Mojo Annotations instead of Javadoc tags in the Maven Plugin (#1476)
  • Add Email bean validation annotation for "format":"email" (#1475)
  • Allow empty string and underscore as property name (#1468)
  • Use Object as the type in case schema property contains mixed types (#1456)
  • "Path not present" error when processing multiple JSON files having objects with the same name (#1427)

1.1.3

  • Add command line option to print version (#1458)
  • Accept multiple values provided with single "-s"/"--source" argument (#1457)
  • Avoid deprecation warning with Gradle plugin re Gradle 8.0 and IncrementalTaskInputs (#1454)
  • java.lang.OutOfMemoryError: Java heap space (#1423)
  • Properties with special character in the name (#, /, etc) cause IllegalArgumentException 'Path not present' when using 1.1.2 (#1402)
  • Add builder method to create a new instance of the builder (#1396)
  • Added support for JSON-B (#1385)
  • Get Stackoverflow error if array items schema contains trees/cycle dependencies for children (#1376)
Changelog

Sourced from org.jsonschema2pojo:jsonschema2pojo-maven-plugin's changelog.

1.3.3

  • Support type-use annotations for map value validation (Map<String, @​Valid T>) (#1774)
  • Ignore null values when generating item type from array examples (#1772)
  • Support type-use annotations for array item validation (List<@​Valid T>) (#1771)

1.3.2

  • Could not apply requested plugin error when using version 1.3.1 of Gradle plugin 'org.jsonschema2pojo' (#1769)

1.3.1

  • Add plexus-utils dependency, as this is no longer provided in Maven 3.9 (#1751)

1.3.0

  • Migrate publishing from legacy OSSRH to Maven Central Portal (#1747)
  • Remove Ant task (no longer supported) (#1743)
  • Require JDK 17 (#1741)
  • Add Jackson 3 annotation support (#1740)
  • Prevent StackOverflowError when root is self-referencing (#1679)
  • Fix 'AbstractCompile.destinationDir property has been deprecated' error when using Gradle 8 (#1646)
  • Fix problems with remote URL (e.g. http) when using Maven Plugin (#1614)
  • Fix generics class warning when using generated base builder class (#1587)
  • Allow URL(s) as source in jsonschema2pojo-gradle-plugin (#1554)

1.2.2

  • Don't log ClassAlreadyExistsException for Enum (#1597)
  • Prevent generating duplicate constructors when all properties are required; and both includeAllPropertiesConstructor and includeRequiredPropertiesConstructor are true (#1553)
  • Add support for property names containing question mark(s) (#1522)
  • Avoid NPE when setting additionalProperties path (#1515)

1.2.1

  • Fix detection of targetVersion for Android gradle builds (#1487)

1.2.0

  • Avoid output to System.err when finding unique Enum name (#1485)
  • Add useful debug logging when reading schemas and creating classes (#1483)
  • Use targetVersion to decide which Generated annotation to add (#1482)
  • Add Javadoc to constructors parameters for properties that have title/description/$comment (#1481)
  • Choose default targetVersion using Gradle/Maven configuration (#1478)
  • Use Mojo Annotations instead of Javadoc tags in the Maven Plugin (#1476)
  • Add Email bean validation annotation for "format":"email" (#1475)
  • Allow empty string and underscore as property name (#1468)
  • Use Object as the type in case schema property contains mixed types (#1456)
  • "Path not present" error when processing multiple JSON files having objects with the same name (#1427)

1.1.3

  • Add command line option to print version (#1458)
  • Accept multiple values provided with single "-s"/"--source" argument (#1457)
  • Avoid deprecation warning with Gradle plugin re Gradle 8.0 and IncrementalTaskInputs (#1454)
  • java.lang.OutOfMemoryError: Java heap space (#1423)
  • Properties with special character in the name (#, /, etc) cause IllegalArgumentException 'Path not present' when using 1.1.2 (#1402)
  • Add builder method to create a new instance of the builder (#1396)

... (truncated)

Commits
  • ad02aab [maven-release-plugin] prepare release jsonschema2pojo-1.3.3
  • beebaf9 Avoid publishing integration tests
  • 49171ff Merge pull request #1774 from joelittlejohn/valid-annotates-value-type-on-maps
  • 6beff79 Support type-use annotations for map value validation (Map<String, @​Valid T>)
  • dc4677a Ensure integration tests are not published during deploy
  • 8833225 Remove noisy warnings and unnecessary info from the build
  • 21da375 Avoid producing javadocs unless we are running a release
  • e27cc47 Upgrade github actions
  • a57294d Dependency and plugin upgrades
  • 49f1f19 Upgrade dependencies for all examples
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels May 26, 2026
@apupier
Copy link
Copy Markdown
Contributor

apupier commented May 26, 2026

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/maven/org.jsonschema2pojo-jsonschema2pojo-maven-plugin-1.3.3 branch from ed875ca to c767e51 Compare May 26, 2026 15:20
@apupier
Copy link
Copy Markdown
Contributor

apupier commented May 26, 2026

requires manual change:


Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project camel-example-mapstruct: Compilation failure: Compilation failure: 
Error:  /home/runner/work/camel-examples/camel-examples/mapstruct/target/generated-sources/jsonschema2pojo/org/apache/camel/example/model/Beverage.java:[6,24] package javax.annotation does not exist
Error:  /home/runner/work/camel-examples/camel-examples/mapstruct/target/generated-sources/jsonschema2pojo/org/apache/camel/example/model/Beverage.java:[21,2] cannot find symbol
Error:    symbol: class Generated
Error:  /home/runner/work/camel-examples/camel-examples/mapstruct/target/generated-sources/jsonschema2pojo/org/apache/camel/example/model/Beer.java:[6,24] package javax.annotation does not exist
Error:  /home/runner/work/camel-examples/camel-examples/mapstruct/target/generated-sources/jsonschema2pojo/org/apache/camel/example/model/Beer.java:[28,2] cannot find symbol
Error:    symbol: class Generated

Bumps [org.jsonschema2pojo:jsonschema2pojo-maven-plugin](https://github.com/joelittlejohn/jsonschema2pojo)
from 1.1.2 to 1.3.3.
- [Release
notes](https://github.com/joelittlejohn/jsonschema2pojo/releases)
- [Changelog](https://github.com/joelittlejohn/jsonschema2pojo/blob/master/CHANGELOG.md)
- [Commits](joelittlejohn/jsonschema2pojo@jsonschema2pojo-1.1.2...jsonschema2pojo-1.3.3)

---
updated-dependencies:
- dependency-name: org.jsonschema2pojo:jsonschema2pojo-maven-plugin
  dependency-version: 1.3.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Starting from 1.2.0, the targetVersion must be specified to have the
@Genrated correct package used

Signed-off-by: dependabot[bot] <support@github.com>
@apupier apupier force-pushed the dependabot/maven/org.jsonschema2pojo-jsonschema2pojo-maven-plugin-1.3.3 branch from c767e51 to 39a8064 Compare May 27, 2026 09:03
@apupier
Copy link
Copy Markdown
Contributor

apupier commented May 27, 2026

remaining failures are jooq and couchbase tests which are failing on main branch

@apupier apupier requested a review from oscerd May 27, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant