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

Java source/target versions should be configurable in JavaCompilerFacet

    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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ivan_stefanov Ivan St. Ivanov
                  Reporter:
                  fbricon Fred Bricon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: