HHH-2188 - Add Java 9 automatic module name hinting

This commit is contained in:
Steve Ebersole 2017-12-29 11:47:11 -06:00
parent 46a9813815
commit c490e94755
2 changed files with 7 additions and 4 deletions

View File

@ -40,6 +40,9 @@ dependencies {
paxExamVersion = '4.4.0'
paxExamUrlVersion = '2.4.1'
karafVersion = '3.0.3'
// paxExamVersion = '4.11.0'
// karafVersion = '4.1.2'
}
compile( project( ':hibernate-core' ) )
@ -174,8 +177,8 @@ karafFeatures {
}
bundle {
match {
group = 'org.hibernate.javax.persistence'
module = 'hibernate-jpa-2.1-api'
group = 'javax.persistence'
module = 'javax.persistence-api'
}
dependency = true
}

View File

@ -200,8 +200,8 @@ public class OsgiIntegrationTest {
assertTrue( featuresService.isInstalled( featuresService.getFeature( "hibernate-orm" ) ) );
assertTrue( featuresService.isInstalled( featuresService.getFeature( "hibernate-envers" ) ) );
assertActiveBundle( "org.hibernate.core" );
assertActiveBundle( "org.hibernate.envers" );
assertActiveBundle( "org.hibernate.orm.core" );
assertActiveBundle( "org.hibernate.orm.envers" );
}
@Test