|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <groupId>io.github.ke</groupId> |
| 6 | + <groupId>io.github.bella-top</groupId> |
7 | 7 | <artifactId>openai-java</artifactId> |
8 | 8 | <version>0.23.1</version> |
9 | 9 | <packaging>pom</packaging> |
10 | 10 | <description>openai java 版本</description> |
11 | 11 | <name>openai-java</name> |
| 12 | + <url>https://github.com/bella-top/bella-openapi</url> |
| 13 | + |
12 | 14 | <licenses> |
13 | 15 | <license> |
14 | 16 | <name>The MIT License</name> |
15 | 17 | <url>https://www.mit.edu/~amini/LICENSE.md</url> |
16 | 18 | <distribution>repo</distribution> |
17 | 19 | </license> |
18 | 20 | </licenses> |
| 21 | + |
19 | 22 | <developers> |
20 | 23 | <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 | + |
| 26 | + <organization>Bella</organization> |
| 27 | + <organizationUrl>https://api.bella.top</organizationUrl> |
27 | 28 | </developer> |
28 | 29 | </developers> |
29 | 30 |
|
| 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 | + |
30 | 50 | <properties> |
31 | 51 | <java.version>1.8</java.version> |
32 | 52 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
62 | 82 | </dependencies> |
63 | 83 |
|
64 | 84 |
|
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> |
83 | 104 |
|
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> |
93 | 126 |
|
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> |
95 | 149 |
|
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> |
97 | 165 | </project> |
0 commit comments