github / github/codeql

The generated java database resource (XML file) is duplicate

Aperta
#12,351 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.