Whatever archiveType is set (zip, jar, tar.gz...) we get a jar archive when using configuration goal (mojo).
It looks like archiveType is only used to set file extension name but not the appropriate underlying archiver.
My use case requires a ".tar.gz". Eventually I get a file with the right extension et it is not a "tar.gz" archive but a jar one.
When looking at the code, I can see that only the JarArchiver (https://github.com/khmarbaise/multienv-maven-plugin/blob/multienv-maven-plugin-0.3.1/src/main/java/com/soebes/maven/plugins/multienv/ConfigurationMojo.java#L36) is used.
Whatever archiveType is set (zip, jar, tar.gz...) we get a jar archive when using configuration goal (mojo).
It looks like archiveType is only used to set file extension name but not the appropriate underlying archiver.
My use case requires a ".tar.gz". Eventually I get a file with the right extension et it is not a "tar.gz" archive but a jar one.
When looking at the code, I can see that only the JarArchiver (https://github.com/khmarbaise/multienv-maven-plugin/blob/multienv-maven-plugin-0.3.1/src/main/java/com/soebes/maven/plugins/multienv/ConfigurationMojo.java#L36) is used.