Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1015

Java source/target versions should be configurable in JavaCompilerFacet

    XMLWordPrintable

Details

    Description

      I see https://github.com/forge/core/blob/master/project-model-maven/src/main/java/org/jboss/forge/maven/facets/MavenJavaSourceFacet.java#L182 has hardcoded source/target versions for the maven-compiler-plugin configuration

      IMHO, these (along the encoding) should be overrideable via CLI options. Also, the default version should be inferred from the currently running JVM. One caveat though, is that would make forge build tests dependent on the running JVM.

      Attachments

        Issue Links

          Activity

            People

              ivan_stefanov Ivan St. Ivanov (Inactive)
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: