Skip to content

Bump org.glassfish.expressly:expressly from 5.0.0 to 6.0.0 #2362

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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ io-vertx-vertx-web-client = { group = "io.vertx", name = "vertx-web-client", ver
org-apache-logging-log4j-log4j-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4jVersion" }
org-assertj-assertj-core = { group = "org.assertj", name = "assertj-core", version.ref = "assertjVersion" }
org-ehcache-ehcache = { group = "org.ehcache", name = "ehcache", version = "3.10.8" }
org-glassfish-expressly-expressly = { group = "org.glassfish.expressly", name = "expressly", version = "5.0.0" }
org-glassfish-expressly-expressly = { group = "org.glassfish.expressly", name = "expressly", version = "6.0.0" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm for this one you probably want to bump it in pair with

org-hibernate-validator-hibernate-validator = { group = "org.hibernate.validator", name = "hibernate-validator", version = "8.0.2.Final" }

expressly 5 + HV 8
expressly 6 + HV 9

with that said .... if HV is here just for tests ... you can always make it work without expressly:
hibernate/hibernate-orm@58d2239

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and if you want to keep expressly, then probably it would make sense to add it to the ignore rules for dependabot so that it would get updated in pair with HV to match the version it targets..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I will try to remove it for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the test will fail without it. I will try to see what I can do with dependabot

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rigth ... you need to switch the interpolator if you want to remove the dependency... if you add the XML https://github.com/hibernate/hibernate-orm/blob/58d2239d850ad700d9348d13ca24de9ef4865887/hibernate-c3p0/src/test/resources/META-INF/validation.xml it should do the trick

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and just in case you'd want to ignore the updates, here's an example from Search 🙈😃 : https://github.com/hibernate/hibernate-search/blob/9d88f870b7e33728a70969d8eaf4f0bf27cb0137/.github/dependabot.yml#L92-L95

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to be notified when there's a new release, and ignore it if I'm not interested or doesn't work.

I think I will just create a group for validator with hibernate-validator and glassfish and evaluate case by case.
Considering that we only use it for testing, it should be fine to have a more relaxed rule for it.

I will re-evaluate if it becomes too much of a chore to keep it up to date

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I will just lock the version to 5 until we change hibernate-validator to 9

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rigth ... you need to switch the interpolator if you want to remove the dependency... if you add the XML https://github.com/hibernate/hibernate-orm/blob/58d2239d850ad700d9348d13ca24de9ef4865887/hibernate-c3p0/src/test/resources/META-INF/validation.xml it should do the trick

By the way... why is this not the default?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org-hibernate-orm-hibernate-core = { group = "org.hibernate.orm", name = "hibernate-core", version.ref = "hibernateOrmVersion" }
org-hibernate-orm-hibernate-jcache = { group = "org.hibernate.orm", name = "hibernate-jcache", version.ref = "hibernateOrmVersion" }
org-hibernate-orm-hibernate-jpamodelgen = { group = "org.hibernate.orm", name = "hibernate-jpamodelgen", version.ref = "hibernateOrmVersion" }
Expand Down
Loading