1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+
6+ <groupId >com.quasarbyte.llmcodereview</groupId >
7+ <artifactId >llm-code-review-plugin-test</artifactId >
8+ <version >1.0-SNAPSHOT</version >
9+
10+ <properties >
11+ <maven .compiler.source>8</maven .compiler.source>
12+ <maven .compiler.target>8</maven .compiler.target>
13+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14+ <!-- Default baseUrl value -->
15+ <baseUrl >http://127.0.0.1:1234/v1/</baseUrl >
16+ </properties >
17+
18+ <build >
19+ <plugins >
20+ <plugin >
21+ <groupId >com.quasarbyte.llm.codereview</groupId >
22+ <artifactId >llm-code-review-maven-plugin</artifactId >
23+ <version >0.1.0-SNAPSHOT</version >
24+ <configuration >
25+ <reviewParameter >
26+ <reviewName >Find critical defects in code</reviewName >
27+ <llmChatCompletionConfiguration >
28+ <model >qwen3-8b</model >
29+ </llmChatCompletionConfiguration >
30+ <systemPrompts >
31+ <systemPrompt >You are code review assistant.</systemPrompt >
32+ </systemPrompts >
33+ <reviewPrompts >
34+ <reviewPrompt >Please review all these Java files</reviewPrompt >
35+ <reviewPrompt >Comment style: Human like, friendly, natural, and professional tone; ideal for PRs, reports, and communication.</reviewPrompt >
36+ </reviewPrompts >
37+ <targets >
38+ <target >
39+ <fileGroups >
40+ <fileGroup >
41+ <paths >
42+ <path >src/main/**.java</path >
43+ </paths >
44+ <rules >
45+ <rule >
46+ <code >001</code >
47+ <description >Find possible java.lang.ArrayIndexOutOfBoundsException</description >
48+ <severity >critical</severity >
49+ </rule >
50+ </rules >
51+ </fileGroup >
52+ </fileGroups >
53+ </target >
54+ </targets >
55+ </reviewParameter >
56+ <llmClientConfiguration >
57+ <baseUrl >${baseUrl} </baseUrl >
58+ <apiKey >demo</apiKey >
59+ </llmClientConfiguration >
60+ <buildFailureConfiguration >
61+ <warningThreshold >10</warningThreshold >
62+ <criticalThreshold >1</criticalThreshold >
63+ </buildFailureConfiguration >
64+ </configuration >
65+ <executions >
66+ <execution >
67+ <goals >
68+ <goal >llm-code-review</goal >
69+ </goals >
70+ </execution >
71+ </executions >
72+ </plugin >
73+ </plugins >
74+ </build >
75+
76+ <profiles >
77+ <profile >
78+ <id >ollama</id >
79+ <properties >
80+ <baseUrl >http://127.0.0.1:11434/v1/</baseUrl >
81+ </properties >
82+ </profile >
83+ <profile >
84+ <id >lm-studio</id >
85+ <activation >
86+ <activeByDefault >true</activeByDefault >
87+ </activation >
88+ <properties >
89+ <baseUrl >http://127.0.0.1:1234/v1/</baseUrl >
90+ </properties >
91+ </profile >
92+ <profile >
93+ <id >lm-studio-docker</id >
94+ <properties >
95+ <baseUrl >http://host.docker.internal:1234/v1/</baseUrl >
96+ </properties >
97+ </profile >
98+ </profiles >
99+ </project >
0 commit comments