Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNTEyN2E4...
) / Bug (
https://hibernate.atlassian.net/browse/HSEARCH-4724?atlOrigin=eyJpIjoiNTE...
) HSEARCH-4724 (
https://hibernate.atlassian.net/browse/HSEARCH-4724?atlOrigin=eyJpIjoiNTE...
) Classpath scanning ignores classes within complicated JARs (
https://hibernate.atlassian.net/browse/HSEARCH-4724?atlOrigin=eyJpIjoiNTE...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The code within {{org.hibernate.search.util.common.jar.impl.JarUtils#jarOrDirectoryPath}}
only works for “normal” JARs located on where the filesystem classes directory is the root
of the JAR (code source location protocol = file); it will not work for Spring-boot’s JARs
in particular, where classes are located in {{/BOOT-INF/classes}} within other JARs the
JAR (code source location protocol = jar)
This makes the feature useless in a lot of applications, e.g. for Quarkus or Spring Boot’s
fat JARs , and maybe also Quarkus.
See also:
*
[
https://github.com/anothergoodguy/spring-data-hibernate-search/pull/1|htt...]
(
https://hibernate.atlassian.net/browse/HSEARCH-4724#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4724#add-comment?atlOrigin...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- sha1:d23b292 )