[hibernate-dev] [!] Changing how to run tests with proprietary JDBC drivers: Oracle, HANA

Sanne Grinovero sanne at hibernate.org
Thu Aug 9 12:02:03 EDT 2018


On Thu, 9 Aug 2018 at 16:00, Steve Ebersole <steve at hibernate.org> wrote:
>
> "Maven repository" is any thing we want it to be, even a locally hosted repo manager into which we can install any dependencies we want - so it is not available in any "public" repo, but still referrable via normal Gradle means.  Seems by far easier solution...

I hope you like this? It was easy enough, once I learned about it:
 - https://github.com/hibernate/hibernate-orm/blob/cd8b754494617e722097d3612f9bdde7a17710aa/build.gradle#L43-L49

>
>
> On Thu, Aug 9, 2018 at 9:42 AM Sanne Grinovero <sanne at hibernate.org> wrote:
>>
>> I'm setting up some new Oracle integration tests on ci.hibernate.org,
>> and we're having again a similar issue to what we had with SAP HANA:
>>
>>  - some JDBC drivers can not be distributed freely
>>  - we do not want to allow the Hibernate ORM build to load
>> dependencies from a local Maven repository
>>
>> So I'm introducing a new (optional) environment variable described on:
>>  - https://hibernate.atlassian.net/browse/HHH-12901
>>
>> This implies that if you were running these tests locally you will
>> need to adjust; I hope it's not too inconvenient.
>>
>> N.B. the `jdbcDependency` attribute for the matrix configuration needs
>> to change to match the jar name. I'll commit the change for Oracle
>> soon.
>>
>> Thanks,
>> Sanne
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list