Maven - Use JDK 7 to Compile for JVM 5

后端 未结 5 1007
迷失自我
迷失自我 2021-01-02 02:19

I\'ve been trying to get this to work for a while now but no luck yet.

I want to run with JAVA_HOME pointing to JDK7 but I want to compile a project for

5条回答
  •  借酒劲吻你
    2021-01-02 03:00

    You can use the bootclasspath configuration option on the maven-compiler-plugin if needed:

    
        xxxxxxxxx
    
    

    You can read more about it here. See the note under the example.

提交回复
热议问题