Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-54070

Using Maven with arbitrary Java [rhel-9.6]

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.6
    • rhel-9.6
    • maven
    • None
    • maven-3.6.3-22.el9
    • None
    • rhel-sst-cs-base-utils
    • ssg_core_services
    • 22
    • 24
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide
      • It is possible to install maven-unbound without pulling in any packaged Java
      • maven-unbound works after either setting JAVA_HOME to point to Java installation home, or setting PATH to contain java command, with JAVA_HOME having priority over PATH
      • Basic usage of maven-unbound works with at least one Temurin version
      • Basic usage of maven-unbound works with custom jlink-based Java installation
      Show
      It is possible to install maven-unbound without pulling in any packaged Java maven-unbound works after either setting JAVA_HOME to point to Java installation home, or setting PATH to contain java command, with JAVA_HOME having priority over PATH Basic usage of maven-unbound works with at least one Temurin version Basic usage of maven-unbound works with custom jlink -based Java installation
    • Pass
    • Automated
    • None

      Goal

      • As a RHEL user I want to run RHEL Maven with arbitrary Java runtime I
        provide. I don't want any packaged Java to be installed with Maven
        because it wont't be used and it takes too much space/time to install
        it. I will take responsibility for supplying a suitable Java runtime
        to run Maven with. I acknowledge that this configuration is not
        supported by RHEL.
      • As a user of Java container image based on RHEL UBI (eg. Eclipse
        Temurin UBI image) I want to be able to install RHEL Maven without
        pulling-in RHEL OpenJDK, as it takes considerable space and time.
      • As a developer of a RHEL layered product (eg. OpenShift S2I) I want to
        be able to build a container image based on RHEL with RHEL Maven and
        Java runtime of my choice, either RHEL OpenJDK or arbitrary Java
        runtime I supply, not necessairly packaged as RPM package. In the
        second case, RHEL OpenJDK should not be included in the container
        image.

      Acceptance Criteria

      • It is possible to install maven-unbound without pulling in any packaged Java
      • maven-unbound works after either setting JAVA_HOME to point to Java installation home, or setting PATH to contain java command, with JAVA_HOME having priority over PATH
      • Basic usage of maven-unbound works with at least one Temurin version
      • Basic usage of maven-unbound works with custom jlink-based Java installation

              mizdebsk@redhat.com Mikolaj Izdebski
              mizdebsk@redhat.com Mikolaj Izdebski
              Mikolaj Izdebski Mikolaj Izdebski
              Jakub Heger Jakub Heger
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: