[hibernate-issues] [JIRA] (HHH-13973) OSGi integration tests should not rely on snapshots from the global maven cache

Sanne Grinovero (JIRA) jira at hibernate.atlassian.net
Thu Apr 23 07:25:59 EDT 2020


Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HHH-13973?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 ) HHH-13973 ( https://hibernate.atlassian.net/browse/HHH-13973?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 ) OSGi integration tests should not rely on snapshots from the global maven cache ( https://hibernate.atlassian.net/browse/HHH-13973?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Unassigned Components: build Created: 23/Apr/2020 04:25 AM Fix Versions: 5.5.0.Beta2 Priority: Major Reporter: Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea )

Currently the Karaf integration tests are depending on the `publishToMavenLocal` tasks from the hibernate-core and the hibernate-envers modules.

To avoid all problems related with the shared namespace of the snapshot in Maven, we could publish them into a temporary folder of the build directory; then reconfigure Karaf to use this alternative source for dependencies.

An example of the Karaf configuration can be found in Hibernate Search:

https://github.com/hibernate/hibernate-search/blob/5.11/integrationtest/osgi/karaf-it/src/test/java/org/hibernate/search/test/integration/osgi/HibernateSearchWithKarafIT.java#L196-L226

( https://hibernate.atlassian.net/browse/HHH-13973#add-comment?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13973#add-comment?atlOrigin=eyJpIjoiNGI1ZDg4NzliNzUzNGMyMGJmOTlmYjcwYTY1YWM4ZTkiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:63ccdc5 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200423/41bf11d5/attachment.html 


More information about the hibernate-issues mailing list