as addition since your solutions doesn’t work for my case
the solution for my problem was for to add a appending transformer to my shade config in my pom see code below thx @yrodiere your post guide me the way to this solution
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
....
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>
META-INF/services/org.hibernate.search.engine.environment.bean.spi.BeanConfigurer
</resource>
</transformer>
</transformers>
<filters>
<filter>
…
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>