Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Help with CodeQL

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


Back to the top