Skip to content

Only jar archiveType is valid #31

@benjamin-cartereau

Description

@benjamin-cartereau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions