github / github/codeql

The generated java database resource (XML file) is duplicate

未关闭
#12,351 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

Java Project: https://github.com/tangxiaofeng7/SecExample
Compile Command:`codeql database create DatabaseName --language=java --command="mvn clean install"`

In the generated database src. zip, resource has been changed into two copies. For example, **UsernameMapper.xml**
, in addition to the `src/main/resources/mapper/` directory, also has an identical file in the `classes/` directory, resulting in my query results changing from two to four.
![image](https://user-images.githubusercontent.com/73651912/222324424-d7406c22-602f-4156-a64b-71fcf29bc80d.png)

I make sure I delete the `target/` directory under the java project

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。