Skip to content

Commit 95a7d78

Browse files
committed
update pom for publish
1 parent f2f7bf4 commit 95a7d78

File tree

1 file changed

+87
-1
lines changed

1 file changed

+87
-1
lines changed

pom.xml

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,34 @@
66

77
<groupId>io.github.alexcheng1982</groupId>
88
<artifactId>spring-ai-dashscope-client</artifactId>
9-
<version>0.1.0</version>
9+
<version>0.1.1</version>
10+
11+
<name>Aliyun Dashscope Spring AI Client</name>
12+
<description>Aliyun Dashscope Spring AI Client</description>
13+
<url>https://github.com/JavaAIDev/spring-ai-dashscope-client</url>
14+
<licenses>
15+
<license>
16+
<name>The Apache Software License, Version 2.0</name>
17+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
</license>
19+
</licenses>
20+
21+
<developers>
22+
<developer>
23+
<name>Fu Cheng</name>
24+
<email>[email protected]</email>
25+
</developer>
26+
</developers>
27+
28+
<scm>
29+
<connection>
30+
scm:git:git://github.com/JavaAIDev/spring-ai-dashscope-client.git
31+
</connection>
32+
<developerConnection>
33+
scm:git:ssh://github.com:JavaAIDev/spring-ai-dashscope-client.git
34+
</developerConnection>
35+
<url>http://github.com/JavaAIDev/spring-ai-dashscope-client</url>
36+
</scm>
1037

1138
<properties>
1239
<maven.compiler.source>17</maven.compiler.source>
@@ -40,6 +67,65 @@
4067
</dependency>
4168
</dependencies>
4269

70+
<build>
71+
<plugins>
72+
<plugin>
73+
<groupId>org.sonatype.central</groupId>
74+
<artifactId>central-publishing-maven-plugin</artifactId>
75+
<version>0.4.0</version>
76+
<extensions>true</extensions>
77+
<configuration>
78+
<publishingServerId>ossrh</publishingServerId>
79+
<tokenAuth>true</tokenAuth>
80+
<autoPublish>true</autoPublish>
81+
</configuration>
82+
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-source-plugin</artifactId>
86+
<version>2.2.1</version>
87+
<executions>
88+
<execution>
89+
<id>attach-sources</id>
90+
<goals>
91+
<goal>jar-no-fork</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-javadoc-plugin</artifactId>
99+
<version>3.6.3</version>
100+
<executions>
101+
<execution>
102+
<id>attach-javadocs</id>
103+
<goals>
104+
<goal>jar</goal>
105+
</goals>
106+
<configuration>
107+
<failOnError>false</failOnError>
108+
</configuration>
109+
</execution>
110+
</executions>
111+
</plugin>
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-gpg-plugin</artifactId>
115+
<version>3.1.0</version>
116+
<executions>
117+
<execution>
118+
<id>sign-artifacts</id>
119+
<phase>verify</phase>
120+
<goals>
121+
<goal>sign</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
43129
<repositories>
44130
<repository>
45131
<id>spring-milestones</id>

0 commit comments

Comments
 (0)