Transform ServiceLoader services
[netconf.git] / netconf / shaded-sshd-jar / pom.xml
index efb01483457d1c2e8a9f6545e5dfbb922c3f5122..c3f5b2c61eb67a77afc9490b9f6a48151ea18218 100644 (file)
@@ -79,7 +79,6 @@
                                     <artifact>*</artifact>
                                     <excludes>
                                         <exclude>META-INF/MANIFEST.MF</exclude>
-                                        <exclude>META-INF/services/**</exclude>
                                         <exclude>.cache/formatter-maven-cache.properties</exclude>
                                     </excludes>
                                 </filter>
@@ -89,7 +88,6 @@
                                         <exclude>META-INF/DEPENDENCIES</exclude>
                                         <exclude>META-INF/LICENSE</exclude>
                                         <exclude>META-INF/NOTICE</exclude>
-                                        <exclude>META-INF/services/**</exclude>
                                     </excludes>
                                 </filter>
                             </filters>
                                     <shadedPattern>org.opendaylight.netconf.shaded.eddsa</shadedPattern>
                                 </relocation>
                             </relocations>
+                            <transformers>
+                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+                            </transformers>
                         </configuration>
                     </execution>
                 </executions>