1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >com.javaaidev</groupId >
8
+ <artifactId >openai-chatmodel-standalone</artifactId >
9
+ <version >0.1.0</version >
10
+
11
+ <properties >
12
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
13
+ <maven .compiler.source>17</maven .compiler.source>
14
+ <maven .compiler.target>17</maven .compiler.target>
15
+ <kotlin .code.style>official</kotlin .code.style>
16
+ <kotlin .compiler.jvmTarget>17</kotlin .compiler.jvmTarget>
17
+ <spring-ai .version>1.0.0-M5</spring-ai .version>
18
+ <openai-java .version>0.22.1</openai-java .version>
19
+ </properties >
20
+
21
+ <repositories >
22
+ <repository >
23
+ <id >mavenCentral</id >
24
+ <url >https://repo1.maven.org/maven2/</url >
25
+ </repository >
26
+ </repositories >
27
+
28
+
29
+ <build >
30
+ <sourceDirectory >src/main/kotlin</sourceDirectory >
31
+ <testSourceDirectory >src/test/kotlin</testSourceDirectory >
32
+ <pluginManagement >
33
+ <plugins >
34
+ <plugin >
35
+ <groupId >org.apache.maven.plugins</groupId >
36
+ <artifactId >maven-surefire-plugin</artifactId >
37
+ <version >3.2.5</version >
38
+ <configuration >
39
+ <excludedGroups >manual</excludedGroups >
40
+ </configuration >
41
+ </plugin >
42
+ <plugin >
43
+ <groupId >org.sonatype.central</groupId >
44
+ <artifactId >central-publishing-maven-plugin</artifactId >
45
+ <version >0.4.0</version >
46
+ <extensions >true</extensions >
47
+ <configuration >
48
+ <publishingServerId >ossrh</publishingServerId >
49
+ <tokenAuth >true</tokenAuth >
50
+ <autoPublish >true</autoPublish >
51
+ </configuration >
52
+ </plugin >
53
+ <plugin >
54
+ <groupId >org.apache.maven.plugins</groupId >
55
+ <artifactId >maven-source-plugin</artifactId >
56
+ <version >2.2.1</version >
57
+ <executions >
58
+ <execution >
59
+ <id >attach-sources</id >
60
+ <goals >
61
+ <goal >jar-no-fork</goal >
62
+ </goals >
63
+ </execution >
64
+ </executions >
65
+ </plugin >
66
+ <plugin >
67
+ <groupId >org.apache.maven.plugins</groupId >
68
+ <artifactId >maven-javadoc-plugin</artifactId >
69
+ <version >3.6.3</version >
70
+ <executions >
71
+ <execution >
72
+ <id >attach-javadocs</id >
73
+ <goals >
74
+ <goal >jar</goal >
75
+ </goals >
76
+ <configuration >
77
+ <failOnError >false</failOnError >
78
+ </configuration >
79
+ </execution >
80
+ </executions >
81
+ </plugin >
82
+ <plugin >
83
+ <groupId >org.apache.maven.plugins</groupId >
84
+ <artifactId >maven-gpg-plugin</artifactId >
85
+ <version >3.1.0</version >
86
+ <executions >
87
+ <execution >
88
+ <id >sign-artifacts</id >
89
+ <phase >verify</phase >
90
+ <goals >
91
+ <goal >sign</goal >
92
+ </goals >
93
+ </execution >
94
+ </executions >
95
+ </plugin >
96
+ </plugins >
97
+ </pluginManagement >
98
+ <plugins >
99
+ <plugin >
100
+ <groupId >org.jetbrains.kotlin</groupId >
101
+ <artifactId >kotlin-maven-plugin</artifactId >
102
+ <version >2.1.10</version >
103
+ <executions >
104
+ <execution >
105
+ <id >compile</id >
106
+ <phase >compile</phase >
107
+ <goals >
108
+ <goal >compile</goal >
109
+ </goals >
110
+ </execution >
111
+ <execution >
112
+ <id >test-compile</id >
113
+ <phase >test-compile</phase >
114
+ <goals >
115
+ <goal >test-compile</goal >
116
+ </goals >
117
+ </execution >
118
+ </executions >
119
+ </plugin >
120
+ <plugin >
121
+ <artifactId >maven-surefire-plugin</artifactId >
122
+ <version >2.22.2</version >
123
+ </plugin >
124
+ <plugin >
125
+ <artifactId >maven-failsafe-plugin</artifactId >
126
+ <version >2.22.2</version >
127
+ </plugin >
128
+ <plugin >
129
+ <groupId >org.sonatype.central</groupId >
130
+ <artifactId >central-publishing-maven-plugin</artifactId >
131
+ </plugin >
132
+ <plugin >
133
+ <groupId >org.apache.maven.plugins</groupId >
134
+ <artifactId >maven-source-plugin</artifactId >
135
+ </plugin >
136
+ <plugin >
137
+ <groupId >org.apache.maven.plugins</groupId >
138
+ <artifactId >maven-javadoc-plugin</artifactId >
139
+ </plugin >
140
+ <plugin >
141
+ <groupId >org.apache.maven.plugins</groupId >
142
+ <artifactId >maven-gpg-plugin</artifactId >
143
+ </plugin >
144
+ </plugins >
145
+ </build >
146
+
147
+ <dependencies >
148
+ <dependency >
149
+ <groupId >org.springframework.ai</groupId >
150
+ <artifactId >spring-ai-core</artifactId >
151
+ <version >${spring-ai.version} </version >
152
+ </dependency >
153
+ <dependency >
154
+ <groupId >com.openai</groupId >
155
+ <artifactId >openai-java</artifactId >
156
+ <version >${openai-java.version} </version >
157
+ </dependency >
158
+ <dependency >
159
+ <groupId >org.jetbrains.kotlin</groupId >
160
+ <artifactId >kotlin-test-junit5</artifactId >
161
+ <version >2.1.10</version >
162
+ <scope >test</scope >
163
+ </dependency >
164
+ <dependency >
165
+ <groupId >org.junit.jupiter</groupId >
166
+ <artifactId >junit-jupiter</artifactId >
167
+ <version >5.10.0</version >
168
+ <scope >test</scope >
169
+ </dependency >
170
+ <dependency >
171
+ <groupId >org.jetbrains.kotlin</groupId >
172
+ <artifactId >kotlin-stdlib</artifactId >
173
+ <version >2.1.10</version >
174
+ </dependency >
175
+ <dependency >
176
+ <groupId >com.fasterxml.jackson.module</groupId >
177
+ <artifactId >jackson-module-kotlin</artifactId >
178
+ <version >2.18.2</version >
179
+ <scope >test</scope >
180
+ </dependency >
181
+ </dependencies >
182
+
183
+ </project >
0 commit comments