-
Notifications
You must be signed in to change notification settings - Fork 27
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
allow the jakarta version of @Generated
instead of the javax one.
#93
Comments
…enerated annotation.
Yes, this is very important, the tests are broken when migrating to Spring Boot 3 because of this annotation. Is there a new version of the plugin probably? Version |
As a workaround for the current plugin version The template files are taken from here, and just replaced <templates>
<!-- specify the base directory where to look for templates -->
<!-- !!! No file separator at the end, else it will still silently take the default templates -->
<templatesDirectory>${project.basedir}/src/test/resources/assertj/templates</templatesDirectory>
<assertionClass>_ins_custom_assertion_class_template.txt</assertionClass>
<softEntryPointAssertionClass>_ins_soft_assertions_entry_point_class_template.txt</softEntryPointAssertionClass>
<junitSoftEntryPointAssertionClass>_ins_junit_soft_assertions_entry_point_class_template.txt</junitSoftEntryPointAssertionClass>
<bddEntryPointAssertionClass>_ins_bdd_assertions_entry_point_class_template.txt</bddEntryPointAssertionClass>
<assertionsEntryPointClass>_ins_standard_assertions_entry_point_class_template.txt</assertionsEntryPointClass>
</templates> |
all javax modules are being replaced with jakarta, this includes
@javax.annotation.Generated
. This is replaced by@jakarta.annotation.Generated
, allow users to choose which annotation they want on the generated classes.(Related to assertj/assertj-assertions-generator#194 )
(I'm also making a PR for this one)
The text was updated successfully, but these errors were encountered: