Skip to content

Conversation

@vpavic
Copy link
Contributor

@vpavic vpavic commented Feb 28, 2017

Since hibernate-entitymanager was merged into hibernate-core in Hibernate 5.2 (hibernate-entitymanager is empty artifact present only for backwards compatibility reasons and will be removed in Hibernate 6.0), and with Boot 2.0 supporting Hibernate 5.2 as minimum, dependency management for hibernate-entitymanager should be removed and hibernate-core should be used directly instead.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 28, 2017
@wilkinsona wilkinsona added priority: normal type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 28, 2017
@wilkinsona wilkinsona added this to the 2.0.0.M1 milestone Feb 28, 2017
@snicoll snicoll closed this in 1c789f1 Mar 2, 2017
snicoll added a commit that referenced this pull request Mar 2, 2017
* pr/8433:
  Remove dependency management for `hibernate-entitymanager`
@snicoll
Copy link
Member

snicoll commented Mar 2, 2017

Thanks @vpavic !

@vpavic vpavic deleted the polish-hibernate-deps branch March 2, 2017 17:57
@wilkinsona
Copy link
Member

With hindsight, I think this was a mistake as it goes against our policy of being happy to provide dependency management for all of a library's modules. The artifact's still there in 5.2 so I think it still makes sense to provide dependency management for it. If someone tries to use 6.0 instead (no idea if that'll work at runtime) the dependency management for a module that doesn't exist in that version won't do any harm.

@wilkinsona wilkinsona removed this from the 2.0.0.M1 milestone Mar 6, 2017
@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply priority: normal type: enhancement A general enhancement and removed priority: normal type: enhancement A general enhancement status: declined A suggestion or change that we don't feel we should currently apply labels Mar 6, 2017
@wilkinsona
Copy link
Member

Actually, we need some of the changes: removing the hibernate-entitymanager dependency from our own poms is still a good thing to do.

@wilkinsona wilkinsona added this to the 2.0.0.M1 milestone Mar 6, 2017
wilkinsona added a commit that referenced this pull request Mar 6, 2017
This commit reinstates dependency management for
hibernate-entitymanager as, while empty, it remains part of Hibernate
5.2.x and people may still have a dependency upon it.

It also reinstates the configuration of skipping the jar during TLD
scanning so that any application that does depend on
hibernate-entitymanager doesn't scan it for TLDs.

See gh-8433
@wilkinsona wilkinsona changed the title Remove dependency management for hibernate-entitymanager Remove redundant hibernate-core dependencies Mar 6, 2017
@wilkinsona wilkinsona changed the title Remove redundant hibernate-core dependencies Remove redundant hibernate-entitymanager dependencies Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants