github / github/codeql-cli-binaries
[Java][maven] "No source code was seen and extracted"
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 1k
- Fork
- 184
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When I compile a java project built by maven, codeql tell me "No source code was seen and extracted".
1. cmd is: codeql database create sonar.db -l java -c "./gradlew --no-build-cache clean classes"
2. The project is built correctly, and many *.class are generated.
3. There only "codeql-database.yml", "log", "working" files in codeql database directory.
The reason is maybe that codeql cannot "Intercepted call" with Java correctly. But I don't know why codeql cannot hook Java compiler.
[build-tracer.log.txt](https://github.com/github/codeql-cli-binaries/files/9811352/build-tracer.log.txt)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with build-tracer.log.txt and the reported database-create command, then determine why the Gradle/Maven Java compilation is not intercepted. Reproduce the build and inspect whether the resulting database contains extracted Java source; done means the compiled project produces a usable CodeQL database.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100