Uploaded image for project: 'Maven POMs (Moved to GitHub issues) '
  1. Maven POMs (Moved to GitHub issues)
  2. MPOM-387

Enforcer enforceBytecodeVersion applies to everything

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • maven
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            cstamas Tamas Cservenak
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: