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

Java source/target versions should be configurable in JavaCompilerFacet

XMLWordPrintable

      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.

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

                Created:
                Updated:
                Resolved: