Skip to content

Commit 1097a1e

Browse files
committed
deploy
1 parent 3aa64e9 commit 1097a1e

File tree

4 files changed

+109
-41
lines changed

4 files changed

+109
-41
lines changed

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>io.github.ke</groupId>
7+
<groupId>io.github.bella-top</groupId>
88
<artifactId>openai-java</artifactId>
99
<version>0.23.1</version>
1010
</parent>

client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>io.github.ke</groupId>
7+
<groupId>io.github.bella-top</groupId>
88
<artifactId>openai-java</artifactId>
99
<version>0.23.1</version>
1010
</parent>
@@ -18,7 +18,7 @@
1818
<dependencies>
1919
<!-- API Module Dependency -->
2020
<dependency>
21-
<groupId>io.github.ke</groupId>
21+
<groupId>io.github.bella-top</groupId>
2222
<artifactId>api</artifactId>
2323
<version>${project.version}</version>
2424
</dependency>

pom.xml

Lines changed: 104 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,50 @@
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>io.github.ke</groupId>
6+
<groupId>io.github.bella-top</groupId>
77
<artifactId>openai-java</artifactId>
88
<version>0.23.1</version>
99
<packaging>pom</packaging>
1010
<description>openai java 版本</description>
1111
<name>openai-java</name>
12+
<url>https://github.com/bella-top/bella-openapi</url>
13+
1214
<licenses>
1315
<license>
1416
<name>The MIT License</name>
1517
<url>https://www.mit.edu/~amini/LICENSE.md</url>
1618
<distribution>repo</distribution>
1719
</license>
1820
</licenses>
21+
1922
<developers>
2023
<developer>
21-
<id>theokanning</id>
22-
<name>Theo Kanning</name>
23-
</developer>
24-
<developer>
25-
<id>Lambdua</id>
26-
<name>Liang Tao</name>
24+
<name>Bella</name>
25+
<email>[email protected]</email>
26+
<organization>Bella</organization>
27+
<organizationUrl>https://api.bella.top</organizationUrl>
2728
</developer>
2829
</developers>
2930

31+
<scm>
32+
<connection>scm:git:git://github.com/bella-top/bella-opai4j.git</connection>
33+
<developerConnection>scm:git:ssh://github.com:bella-top/bella-opai4j.git</developerConnection>
34+
<url>https://github.com/bella-top/bella-opai4j/tree/main</url>
35+
</scm>
36+
37+
<distributionManagement>
38+
<repository>
39+
<id>central</id>
40+
<name>Central Repository</name>
41+
<url>https://central.sonatype.com/maven/v1</url>
42+
</repository>
43+
<snapshotRepository>
44+
<id>central</id>
45+
<name>Central Repository</name>
46+
<url>https://central.sonatype.com/maven/v1</url>
47+
</snapshotRepository>
48+
</distributionManagement>
49+
3050
<properties>
3151
<java.version>1.8</java.version>
3252
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -62,36 +82,84 @@
6282
</dependencies>
6383

6484

65-
<build>
66-
<plugins>
67-
<plugin>
68-
<groupId>org.apache.maven.plugins</groupId>
69-
<artifactId>maven-clean-plugin</artifactId>
70-
<version>3.1.0</version>
71-
<configuration>
72-
<filesets>
73-
<fileset>
74-
<directory>${project.basedir}</directory>
75-
<includes>
76-
<include>build/**</include>
77-
</includes>
78-
<followSymlinks>false</followSymlinks>
79-
</fileset>
80-
</filesets>
81-
</configuration>
82-
</plugin>
85+
<profiles>
86+
<profile>
87+
<id>release</id>
88+
<build>
89+
<plugins>
90+
<!-- 源码插件 -->
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-source-plugin</artifactId>
94+
<version>3.2.1</version>
95+
<executions>
96+
<execution>
97+
<id>attach-sources</id>
98+
<goals>
99+
<goal>jar-no-fork</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
83104

84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-compiler-plugin</artifactId>
87-
<version>3.10.1</version>
88-
<configuration>
89-
<source>1.8</source>
90-
<target>1.8</target>
91-
</configuration>
92-
</plugin>
105+
<!-- Javadoc插件 -->
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-javadoc-plugin</artifactId>
109+
<version>3.3.0</version>
110+
<configuration>
111+
<encoding>UTF-8</encoding>
112+
<charset>UTF-8</charset>
113+
<docencoding>UTF-8</docencoding>
114+
<failOnError>false</failOnError>
115+
<doclint>none</doclint>
116+
</configuration>
117+
<executions>
118+
<execution>
119+
<id>attach-javadocs</id>
120+
<goals>
121+
<goal>jar</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
93126

94-
</plugins>
127+
<!-- GPG签名插件 -->
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-gpg-plugin</artifactId>
131+
<version>3.0.1</version>
132+
<configuration>
133+
<gpgArguments>
134+
<arg>--pinentry-mode</arg>
135+
<arg>loopback</arg>
136+
</gpgArguments>
137+
<passphrase>${env.MAVEN_GPG_PASSPHRASE}</passphrase>
138+
</configuration>
139+
<executions>
140+
<execution>
141+
<id>sign-artifacts</id>
142+
<phase>verify</phase>
143+
<goals>
144+
<goal>sign</goal>
145+
</goals>
146+
</execution>
147+
</executions>
148+
</plugin>
95149

96-
</build>
150+
<!-- maven deploy插件 -->
151+
<plugin>
152+
<groupId>org.sonatype.central</groupId>
153+
<artifactId>central-publishing-maven-plugin</artifactId>
154+
<version>0.7.0</version>
155+
<extensions>true</extensions>
156+
<configuration>
157+
<publishingServerId>central</publishingServerId>
158+
<autoPublish>true</autoPublish>
159+
</configuration>
160+
</plugin>
161+
</plugins>
162+
</build>
163+
</profile>
164+
</profiles>
97165
</project>

service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>io.github.ke</groupId>
7+
<groupId>io.github.bella-top</groupId>
88
<artifactId>openai-java</artifactId>
99
<version>0.23.1</version>
1010
</parent>
@@ -16,7 +16,7 @@
1616

1717
<dependencies>
1818
<dependency>
19-
<groupId>io.github.ke</groupId>
19+
<groupId>io.github.bella-top</groupId>
2020
<artifactId>client</artifactId>
2121
<version>${project.version}</version>
2222
</dependency>

0 commit comments

Comments
 (0)