Maven: Output JAR with arbitrary extension
问题 I have a Java project that, when mvn install is executed on it, generates a JAR file. So far so good. After that generation, I'd like to rename the resultant JAR file to something with an arbitrary extension. For example, say the resultant JAR that is generated is called "Foo.jar", I'd like to rename it to "Foo.baz" I'm trying to ascertain the magical plugin combo that will allow me to do this. So far, I've tried the following, based on this SO answer: <project> ... <build> <finalName>Foo<