Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Steve Ebersole
I asked about this on the gradle-dev list. Seems likely this is a change stemming from the new publishing dsl which i just switched Hibernate to use. On Fri 03 May 2013 08:12:40 AM CDT, Steve Ebersole wrote: > Well purists would argue that relying on transitivity for dependencies > that you ne

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Steve Ebersole
Well purists would argue that relying on transitivity for dependencies that you need for *compilation* is a baad idea. In fact Maven's own primer to dependency management discusses this very thing: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html spe

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Strong Liu
sorry, I missed the provided scope and runtime scope the problem is : now hibernate-core is a runtime scope dependency of h-em so, suppose a project depends on h-em ( compile scope ) and the project uses h-core classes, then the project won't be compiled. since runtime scope dependencies are no

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Steve Ebersole
Have you tried this? Runtimr and compile scopes are both transitive, so the situation you describe should work just as before On 05/03/2013 07:23 AM, Strong Liu wrote: > > On May 3, 2013, at 8:13 PM, Steve Ebersole > wrote: > >> I dont understand what you mean

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Strong Liu
On May 3, 2013, at 8:13 PM, Steve Ebersole wrote: > I dont understand what you mean with HHH-8220. OK its a change, but how is > that breaking any builds? > suppose there is a WAR project that uses hibernate, and it has a compile scope dependency of h-em before this 4.3.0.Beta2, the HEM wi

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Steve Ebersole
I dont understand what you mean with HHH-8220. OK its a change, but how is that breaking any builds? And for JDK 7 we have discussed that on this list already. Gunnar will work on integrating some checks into the build to make sure we are not using JDK 7 features... On 05/03/2013 02:08 AM, S

Re: [hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Gunnar Morling
For the HHH-8219 - usage of JDK 7 API - I'm working on integrating the Animal Sniffer plug-in to check that only Java 6 classes are used in the code base. --Gunnar 2013/5/3 Strong Liu > > https://hibernate.atlassian.net/browse/HHH-8219 > > https://hibernate.atlassian.net/browse/HHH-8220 > > >

[hibernate-dev] breaking compatibility issues found in 4.3.0.Beta3

2013-05-03 Thread Strong Liu
https://hibernate.atlassian.net/browse/HHH-8219 https://hibernate.atlassian.net/browse/HHH-8220 - Best Regards, Strong Liu http://about.me/stliu/bio ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lis