Skip to content

Commit e665504

Browse files
committed
update javadoc
1 parent c5d128b commit e665504

File tree

3 files changed

+39
-21
lines changed

3 files changed

+39
-21
lines changed

LICENSE

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,6 @@
175175

176176
END OF TERMS AND CONDITIONS
177177

178-
APPENDIX: How to apply the Apache License to your work.
179-
180-
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
182-
replaced with your own identifying information. (Don't include
183-
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. We also recommend that a
185-
file or class name and description of purpose be included on the
186-
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
188-
189178
Copyright 2025 Fu Cheng
190179

191180
Licensed under the Apache License, Version 2.0 (the "License");

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add Maven dependency.
1616
<dependency>
1717
<groupId>com.javaaidev</groupId>
1818
<artifactId>springai-openai-client</artifactId>
19-
<version>0.5.0</version>
19+
<version>0.5.1</version>
2020
</dependency>
2121
```
2222

pom.xml

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.javaaidev</groupId>
88
<artifactId>springai-openai-client</artifactId>
9-
<version>0.5.0</version>
9+
<version>0.5.1</version>
1010

1111
<name>OpenAI ChatModel</name>
1212
<description>Spring AI ChatModel for OpenAI using official Java SDK</description>
@@ -37,11 +37,12 @@
3737

3838
<properties>
3939
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40-
<maven.compiler.source>17</maven.compiler.source>
41-
<maven.compiler.target>17</maven.compiler.target>
40+
<java.version>17</java.version>
41+
<maven.compiler.source>${java.version}</maven.compiler.source>
42+
<maven.compiler.target>${java.version}</maven.compiler.target>
4243
<kotlin.version>1.9.25</kotlin.version>
4344
<kotlin.code.style>official</kotlin.code.style>
44-
<kotlin.compiler.jvmTarget>17</kotlin.compiler.jvmTarget>
45+
<kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget>
4546
<spring-ai.version>1.0.0-M5</spring-ai.version>
4647
<openai-java.version>0.44.3</openai-java.version>
4748
</properties>
@@ -90,18 +91,42 @@
9091
</execution>
9192
</executions>
9293
</plugin>
94+
<plugin>
95+
<groupId>org.jetbrains.dokka</groupId>
96+
<artifactId>dokka-maven-plugin</artifactId>
97+
<version>2.0.0</version>
98+
<executions>
99+
<execution>
100+
<phase>package</phase>
101+
<goals>
102+
<goal>dokka</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
<configuration>
107+
<jdkVersion>${java.version}</jdkVersion>
108+
<pluginsConfiguration>
109+
<org.jetbrains.dokka.base.DokkaBase>
110+
<footerMessage>(c) Fu Cheng @ JavaAIDev.com 2025</footerMessage>
111+
</org.jetbrains.dokka.base.DokkaBase>
112+
</pluginsConfiguration>
113+
</configuration>
114+
</plugin>
93115
<plugin>
94116
<groupId>org.apache.maven.plugins</groupId>
95-
<artifactId>maven-javadoc-plugin</artifactId>
96-
<version>3.6.3</version>
117+
<artifactId>maven-jar-plugin</artifactId>
118+
<version>3.3.0</version>
97119
<executions>
98120
<execution>
99-
<id>attach-javadocs</id>
121+
<id>dokka-jar</id>
122+
<phase>package</phase>
100123
<goals>
101124
<goal>jar</goal>
102125
</goals>
103126
<configuration>
104-
<failOnError>false</failOnError>
127+
<classifier>javadoc</classifier>
128+
<classesDirectory>${project.build.directory}/dokka</classesDirectory>
129+
<skipIfEmpty>true</skipIfEmpty>
105130
</configuration>
106131
</execution>
107132
</executions>
@@ -160,9 +185,13 @@
160185
<groupId>org.apache.maven.plugins</groupId>
161186
<artifactId>maven-source-plugin</artifactId>
162187
</plugin>
188+
<plugin>
189+
<groupId>org.jetbrains.dokka</groupId>
190+
<artifactId>dokka-maven-plugin</artifactId>
191+
</plugin>
163192
<plugin>
164193
<groupId>org.apache.maven.plugins</groupId>
165-
<artifactId>maven-javadoc-plugin</artifactId>
194+
<artifactId>maven-jar-plugin</artifactId>
166195
</plugin>
167196
<plugin>
168197
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)