Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.10.1
    • None

    Description

      Would it make sense to add a new parameter for enabling preview features?

      The javac compiler implementation would transform it to a --enable-preview argument

      I think a similar work has been done for -parameters MCOMPILER-298

       

      With this feature it become easy for tool like m2e to automatically configure the IDE base on the maven configuration (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=518218)

      Attachments

        Issue Links

          Activity

            olamy Olivier Lamy added a comment - plexus-compiler PR  https://github.com/codehaus-plexus/plexus-compiler/pull/199  
            olamy Olivier Lamy added a comment - m-compiler-p PR  https://github.com/apache/maven-compiler-plugin/pull/98
            hudson Hudson added a comment -

            Build succeeded in Jenkins: Maven » Maven TLP » maven-compiler-plugin » master #36

            See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-compiler-plugin/job/master/36/

            hudson Hudson added a comment - Build succeeded in Jenkins: Maven » Maven TLP » maven-compiler-plugin » master #36 See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-compiler-plugin/job/master/36/
            hudson Hudson added a comment -

            Build succeeded in Jenkins: Maven » Ci Reporting Builds Tests » maven-compiler-plugin » master #4

            See https://ci-maven.apache.org/job/Maven/job/ci-reporting-test/job/maven-compiler-plugin/job/master/4/

            hudson Hudson added a comment - Build succeeded in Jenkins: Maven » Ci Reporting Builds Tests » maven-compiler-plugin » master #4 See https://ci-maven.apache.org/job/Maven/job/ci-reporting-test/job/maven-compiler-plugin/job/master/4/

            Thank for implementing this. This feature would also be useful when using the eclipse compiler (same flag). (I may try to implement this myself)  

            cguillaume Clément Guillaume added a comment - Thank for implementing this. This feature would also be useful when using the eclipse compiler (same flag). (I may try to implement this myself)  
            olamy Olivier Lamy added a comment -

            cguillaume sounds good. ping me in your pull request in plexus-compiler

            olamy Olivier Lamy added a comment - cguillaume sounds good. ping me in your pull request in plexus-compiler

            People

              olamy Olivier Lamy
              cguillaume Clément Guillaume
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: