Skip to content

The allowed values of the compress setting have been depricated #188

@grybd1

Description

@grybd1

This code block

        if (compress != null) {
            commandArguments.add(" --compress");
            if (compress < 0 || compress > 2) {
                throw new MojoFailureException("The given compress parameters " + compress + " is not in the valid value range from 0..2");
            }
            commandArguments.add(" " + compress);
        }

in JavaFXJLinkMojo.java restricts the compress argument to 0, 1 or 2. These values are depricated and replaced by zip-[0-9]. I don't believe the default should be changed but allowing the new values to be specified in the pom plugin configuration would be a good thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions