Skip to content

[MPOM-387] Enforcer enforceBytecodeVersion applies to everything #291

@jira-importer

Description

@jira-importer

Tamas Cservenak opened MPOM-387 and commented

In Maven Parent POM the enforcer enforceBytecodeVersion is added without any special configuration, which IMHO is wrong.

For example, this rule prevents to use Java 11 test-only dependencies on a project that is otherwise producing Java 8 artifact.

IMHO, applying this rule on everything makes no sense, at lest test scope should be ignored (if not provided as well, as one have no control what is provided).


1 votes, 2 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions