Robert Patrick created MENFORCER-439:
----------------------------------------
Summary: 3.1.0 will not run with JDK 7
Key: MENFORCER-439
URL: https://issues.apache.org/jira/browse/MENFORCER-439
Project: Maven Enforcer Plugin
Issue Type: Bug
Components: Plugin
Affects Versions: 3.1.0
Environment: Maven 3.8.6
JDK 7u351
Reporter: Robert Patrick
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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)