How to appoint specific jdk version for maven to build my project?

前端 未结 3 532
说谎
说谎 2020-12-12 04:33

My problem is: Test cases are green on local, but some are failed on hudson server because of non-supported jdk version. Local is ibm jdk1.6 sr4 windows, but hudson server i

3条回答
  •  情话喂你
    2020-12-12 05:18

    Are you sure? The Hudson should support switching JDKs, I've done it in Jenkins. In worst case you could specify JAVA_HOME env variable in the Hudson build. It is impossible to change in maven, because maven itself needs JDK to start.

提交回复
热议问题