GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [core] Update maven-enforcer-plugin to require Java 11 · Issue #2484 · pmd/pmd

[core] Update maven-enforcer-plugin to require Java 11 #2484

New issue
Copy link
New issue
Copy link
Closed
#2485
Closed
[core] Update maven-enforcer-plugin to require Java 11#2484
#2485
Copy link
Labels
an:enhancementAn improvement on existing features / rules
Milestone
6.24.0

Description

@oowekyala
oowekyala
opened on May 14, 2020
Issue body actions

Is your feature request related to a problem? Please describe.
The maven build currently require java 10, which is not supported anymore by Oracle, and not widely available. Builds on JDK 10 may not be reliable (specifically, the javadoc plugin could fail), while they work on JDK 11+. Our CI doesn't even use Java 10, but an OpenJDK 11 distribution

Describe the solution you'd like
Require Java 11+. This is the latest LTS

pmd/pom.xml

Lines 444 to 446 in a12d13a

<requireJavaVersion>
<version>[10,)</version>
</requireJavaVersion>

Describe alternatives you've considered
None, requiring Java 10 doesn't make sense anymore

Additional context
Javadoc plugin failure on jdk 10:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project pmd-cpp: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - javadoc: warning - You have not specified the version of HTML to use.
[ERROR] The default is currently HTML 4.01, but this will change to HTML5
[ERROR] in a future release. To suppress this warning, please specify the
[ERROR] version of HTML used in your documentation comments and to be
[ERROR] generated by this doclet, using the -html4 or -html5 options.
[ERROR] javadoc: error - An internal exception has occurred.
[ERROR] (com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.apache.tools.ant.Task not found)

Activity

  1. oowekyala
    added
    an:enhancementAn improvement on existing features / rules
    on May 14, 2020
  2. jsotuyod
    added
    has:pr
    on May 14, 2020
  3. adangel
    added this to the 6.24.0 milestone on May 14, 2020
  4. adangel
    closed this as completedin c739b9con May 14, 2020
  5. adangel
    closed this as completedin #2485on May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rules

    Type

    No type

    Projects

    No projects

      Milestone

      • 6.24.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.