github / github/codeql

The generated java database resource (XML file) is duplicate

Open
#12,351 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.