Skip to content

Commit f59daf3

Browse files
author
lanzhengjian
committed
fix pom
1 parent 72aae37 commit f59daf3

File tree

4 files changed

+78
-42
lines changed

4 files changed

+78
-42
lines changed

demo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111

1212
<modelVersion>4.0.0</modelVersion>
13-
13+
<name>demo</name>
1414
<artifactId>demo</artifactId>
1515
<version>1.3.0</version>
1616
<packaging>jar</packaging>
@@ -67,7 +67,7 @@
6767
<plugin>
6868
<groupId>org.springframework.boot</groupId>
6969
<artifactId>spring-boot-maven-plugin</artifactId>
70-
<version>2.6.6</version>
70+
<version>${spring-boot.version}</version>
7171
<executions>
7272
<execution>
7373
<goals>

engine/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<artifactId>engine</artifactId>
88
<version>1.3.0</version>
99
<packaging>jar</packaging>
10+
<name>engine</name>
1011

1112
<parent>
1213
<artifactId>turbo</artifactId>

parallel-plugin/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
<version>1.3.0</version>
1010
</parent>
1111

12+
<name>parallel-plugin</name>
1213
<artifactId>parallel-plugin</artifactId>
13-
<version>1.0.0</version>
14+
<version>1.1.0</version>
1415
<packaging>jar</packaging>
1516

1617
<properties>

pom.xml

Lines changed: 73 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -168,40 +168,43 @@
168168
</dependencyManagement>
169169

170170
<distributionManagement>
171+
<snapshotRepository>
172+
<id>ossrh</id>
173+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
174+
</snapshotRepository>
171175
<repository>
172176
<id>ossrh</id>
173177
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
174178
</repository>
175179
</distributionManagement>
176180

177-
<profiles>
178-
<profile>
179-
<id>java21-doclint-disabled</id>
180-
<activation>
181-
<jdk>[21,)</jdk>
182-
</activation>
183-
<properties>
184-
<javadoc.opts>-Xdoclint:none</javadoc.opts>
185-
</properties>
186-
</profile>
187-
</profiles>
188-
189181
<build>
190182
<plugins>
191183
<plugin>
192184
<groupId>org.apache.maven.plugins</groupId>
193185
<artifactId>maven-compiler-plugin</artifactId>
194-
<version>3.1</version>
186+
<version>3.11.0</version>
195187
<configuration>
196188
<source>21</source>
197189
<target>21</target>
198190
<encoding>UTF-8</encoding>
191+
<compilerArgs>
192+
<arg>-parameters</arg>
193+
</compilerArgs>
194+
</configuration>
195+
</plugin>
196+
<plugin>
197+
<groupId>org.apache.maven.plugins</groupId>
198+
<artifactId>maven-resources-plugin</artifactId>
199+
<version>3.3.1</version>
200+
<configuration>
201+
<encoding>UTF-8</encoding>
199202
</configuration>
200203
</plugin>
201204
<plugin>
202205
<groupId>org.apache.maven.plugins</groupId>
203206
<artifactId>maven-source-plugin</artifactId>
204-
<version>2.2.1</version>
207+
<version>3.3.0</version>
205208
<executions>
206209
<execution>
207210
<id>attach-sources</id>
@@ -214,41 +217,72 @@
214217
<plugin>
215218
<groupId>org.apache.maven.plugins</groupId>
216219
<artifactId>maven-javadoc-plugin</artifactId>
217-
<version>2.9</version>
220+
<version>3.6.3</version>
221+
<configuration>
222+
<encoding>UTF-8</encoding>
223+
<charset>UTF-8</charset>
224+
<docencoding>UTF-8</docencoding>
225+
<doclint>none</doclint>
226+
<source>21</source>
227+
</configuration>
218228
<executions>
219229
<execution>
220230
<id>attach-javadocs</id>
221231
<goals>
222232
<goal>jar</goal>
223233
</goals>
224-
<configuration>
225-
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
226-
<additionalparam>${javadoc.opts}</additionalparam>
227-
</configuration>
228-
</execution>
229-
</executions>
230-
</plugin>
231-
<plugin>
232-
<groupId>org.apache.maven.plugins</groupId>
233-
<artifactId>maven-gpg-plugin</artifactId>
234-
<version>1.5</version>
235-
<executions>
236-
<execution>
237-
<id>ossrh</id>
238-
<phase>verify</phase>
239-
<goals>
240-
<goal>sign</goal>
241-
</goals>
242-
<configuration>
243-
<gpgArguments>
244-
<arg>--pinentry-mode</arg>
245-
<arg>loopback</arg>
246-
</gpgArguments>
247-
</configuration>
248234
</execution>
249235
</executions>
250236
</plugin>
251237
</plugins>
252238
</build>
253239

240+
<profiles>
241+
<profile>
242+
<id>java21-doclint-disabled</id>
243+
<activation>
244+
<jdk>[21,)</jdk>
245+
</activation>
246+
<properties>
247+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
248+
</properties>
249+
</profile>
250+
<profile>
251+
<id>release</id>
252+
<build>
253+
<plugins>
254+
<plugin>
255+
<groupId>org.apache.maven.plugins</groupId>
256+
<artifactId>maven-gpg-plugin</artifactId>
257+
<version>3.2.5</version>
258+
<executions>
259+
<execution>
260+
<id>ossrh</id>
261+
<phase>verify</phase>
262+
<goals>
263+
<goal>sign</goal>
264+
</goals>
265+
<configuration>
266+
<gpgArguments>
267+
<arg>--pinentry-mode</arg>
268+
<arg>loopback</arg>
269+
</gpgArguments>
270+
</configuration>
271+
</execution>
272+
</executions>
273+
</plugin>
274+
<plugin>
275+
<groupId>org.sonatype.central</groupId>
276+
<artifactId>central-publishing-maven-plugin</artifactId>
277+
<version>0.5.0</version>
278+
<extensions>true</extensions>
279+
<configuration>
280+
<publishingServerId>ossrh</publishingServerId>
281+
</configuration>
282+
</plugin>
283+
</plugins>
284+
</build>
285+
</profile>
286+
</profiles>
287+
254288
</project>

0 commit comments

Comments
 (0)