79427217

Date: 2025-02-10 13:35:04
Score: 4
Natty:
Report link

Don't have enough reputation yet to to comment a comment, hence another top-level post: Thanks, @fungtional, using something along the lines of

<plugin>
    <artifactId>maven-shade-plugin</artifactId>
    <version>...</version>
    <executions>
        <execution>
            <configuration>
                <transformers combine.children="append">
                    <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
                        <resource>
                            META-INF/services/org.flywaydb.core.extensibility.Plugin</resource>
                    </transformer>
                    ...
                </transformers>
                ...
            </configuration>
        </execution>
    </executions>
</plugin>

works like a charm! Would have loved to flag your comment as working solution...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): Don't have enough reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @fungtional
  • Low reputation (1):
Posted by: Torsten Crass