Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6801

Use maven.compiler.release to ensure the desired binary compilation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 25.0.0.Beta1
    • None
    • Build System
    • None

      The maven compiler plugin is being configured with maven.compiler.target and maven.compiler.source properties.

      However, the recommended way is to use maven.compiler.release instead because it sets the location of system modules automatically.

      --source and --target could lead to class files that cannot run on the desired JDK.

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: