github / github/codeql-cli-binaries
[Java][maven] "No source code was seen and extracted"
- 主要言語
- 言語のデータがありません
- スター
- 1k
- フォーク
- 184
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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)
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100