Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-439

3.1.0 will not run with JDK 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.1.0
    • None
    • Plugin
    • None
    • Maven 3.8.6
      JDK 7u351

    Description

      Using JDK 7u351 to run an integration-test build on some older software, we get an error because one of the plugin's dependencies seems to require JDK 8.  Maven 3.8.6 is supposed to support JDK 7 so it would be good if the core plugins followed that lead.  Is there an earlier version we can use to get around this issue? 

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (enforce-build-environment) on project weblogic-deploy-alias-test-generate: Execution enforce-build-environment of goal org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce failed: Unable to load the mojo 'enforce' in the plugin 'org.apache.maven.plugins:maven-enforcer-plugin:3.1.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/apache/maven/plugins/enforcer/EnforceMojo : Unsupported major.minor version 52.0

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhpatrick00 Robert Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: