You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/11/29 20:31:00 UTC

[jira] [Closed] (MENFORCER-439) 3.1.0 will not run with JDK 7

     [ https://issues.apache.org/jira/browse/MENFORCER-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MENFORCER-439.
------------------------------------
    Resolution: Not A Problem

Did you actually read MENFORCER-387?

> 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
>            Priority: Major
>
> 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)