Rename files inside a jar using some maven plugin
问题 I have a jar build by maven-shade-plugin. It contains META-INF/services with several files. These files have wrong names (because of the bug https://issues.apache.org/jira/browse/MSHADE-182). I'd like to rename these files. What is the easiest way of doing this with maven? 回答1: Dirty hack, but it works for me <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>unpack</id> <phase>package</phase>