Hi,
You're right I was so upset I forgot to explain the context. Sorry for that.
And I've now two CodeQL Action, and the first is still present fails :
[2024-05-04 17:03:48] [autobuild] java.lang.TypeNotPresentException: Type org.eclipse.tycho.pomless.TychoTeslaProjectBuilder not present
...
[2024-05-04 17:03:48] [autobuild] Caused by: java.lang.UnsupportedClassVersionError: org/eclipse/tycho/pomless/TychoTeslaProjectBuilder has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
If I look above the error message :
Attempting to automatically build java code
Picked up JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
/opt/hostedtoolcache/CodeQL/2.17.1/x64/codeql/java/tools/autobuild.sh
Picked up JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
[2024-05-04 17:03:34] Build directory is .
[2024-05-04 17:03:34] [autobuild] > mvn clean package -f pom.xml -B -V -e -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true -Dspotless.check.skip=true
[2024-05-04 17:03:34] [autobuild] Picked up JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
[2024-05-04 17:03:36] [autobuild] Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
[2024-05-04 17:03:36] [autobuild] Maven home: /usr/share/apache-maven-3.8.8
[2024-05-04 17:03:36] [autobuild] Java version: 11.0.22, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/temurin-11-jdk-amd64
[2024-05-04 17:03:36] [autobuild] Default locale: en, platform encoding: UTF-8
[2024-05-04 17:03:36] [autobuild] OS name: "linux", version: "6.5.0-1018-azure", arch: "amd64", family: "unix"
So who/what is the way to configure/disable this "default" codeQL action ?
Thank you for your help.
Laurent
Its a bit hard without knowing the "many many approaches" and why they
don't work, but maybe you can get some inspiration from the platform
workflow:
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/.github/workflows/codeQLworkflow.yml
You can even reuse it in you repository if you like as done here:
https://github.com/eclipse-platform/eclipse.platform/blob/master/.github/workflows/codeql.yml
Am 04.05.24 um 16:27 schrieb Laurent Caron via nebula-dev:
> Hi
>
> I've been fighting against CodeQL since we updated the Java Version.
>
> CodeQL wants to use JDK11 :
>
> 2024-05-04T14:22:06.6262550Z [2024-05-04 14:22:06] Build directory is .
> 2024-05-04T14:22:06.7571768Z [2024-05-04 14:22:06] [autobuild] > mvn
> clean package -f pom.xml -B -V -e -Dfindbugs.skip -Dcheckstyle.skip
> -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip -Dmaven.javadoc.skip
> -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true
> -Dspotless.check.skip=true
> 2024-05-04T14:22:07.6164942Z [2024-05-04 14:22:07] [autobuild] Picked up
> JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
> 2024-05-04T14:22:11.0884046Z [2024-05-04 14:22:11] [autobuild] Apache
> Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
> 2024-05-04T14:22:11.0885878Z [2024-05-04 14:22:11] [autobuild] Maven
> home: /usr/share/apache-maven-3.8.8
> *2024-05-04T14:22:11.0887650Z [2024-05-04 14:22:11] [autobuild] Java
> version: 11.0.22, vendor: Eclipse Adoptium, runtime:
> /usr/lib/jvm/temurin-11-jdk-amd64
> *
> I've tried many many approaches, but without success.
>
> I've noticed that this CodeQL is not present for other eclipse projects
> I know. Is this action cancelable ?
>
> Thank you for your help
>
> Laurent
>
>
> _______________________________________________
> nebula-dev mailing list
> nebula-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nebula-dev