Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7140

Drools 8 enforce JDK and Maven versions as a rule

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Issue Description:

      Reference code review: https://github.com/kiegroup/drools/pull/4656#pullrequestreview-1094393730

      at least version.org.apache.maven is the one used by Drools.

      On checking this PR however I reckon we actually are not enforcing maven/JDK version like we do for kogito, for instance:

      https://github.com/kiegroup/kogito-runtimes/blob/main/kogito-build/kogito-build-no-bom-parent/pom.xml#L205-L223

      In other words from the reference:
      https://maven.apache.org/pom.html#prerequisites

      We're not doing either.

      Also, I believe we will need to enforce a Maven version for the build of Drools compatible with Quarkus, which is not necessarily the version which Drools uses of Maven internally for kie-ci etc.

      As part of the requirement from this jira it is to update the file

      drools-docs/src/antora-template.yml
      

      as followup to DROOLS-7133.

      Acceptance Criteria:

      Enforcer rule kogito style

      make sure Antora uses same maven property

      Out of Scope:

      as otherwise specified

      Additional Information

      n/a

            mmortari@redhat.com Matteo Mortari
            mmortari@redhat.com Matteo Mortari
            Daniel Rosa Daniel Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: