Skip to content

Commit 801fe48

Browse files
committed
update pom.xml
1 parent e05310a commit 801fe48

1 file changed

Lines changed: 30 additions & 12 deletions

File tree

pom.xml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,29 @@
8282

8383
</dependencies>
8484

85+
<distributionManagement>
86+
<snapshotRepository>
87+
<id>ossrh</id>
88+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
89+
</snapshotRepository>
90+
<repository>
91+
<id>ossrh</id>
92+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
93+
</repository>
94+
</distributionManagement>
95+
8596
<build>
8697
<plugins>
98+
<plugin>
99+
<groupId>org.sonatype.central</groupId>
100+
<artifactId>central-publishing-maven-plugin</artifactId>
101+
<version>0.8.0</version>
102+
<extensions>true</extensions>
103+
<configuration>
104+
<publishingServerId>central</publishingServerId>
105+
</configuration>
106+
</plugin>
107+
87108
<plugin>
88109
<groupId>org.jacoco</groupId>
89110
<artifactId>jacoco-maven-plugin</artifactId>
@@ -113,8 +134,8 @@
113134
<executions>
114135
<execution>
115136
<goals>
116-
<goal>validate</goal>
117-
</goals>
137+
<goal>validate</goal>
138+
</goals>
118139
<phase>validate</phase>
119140
</execution>
120141
</executions>
@@ -123,10 +144,10 @@
123144
<plugin>
124145
<groupId>org.apache.maven.plugins</groupId>
125146
<artifactId>maven-compiler-plugin</artifactId>
126-
<version>3.13.0</version>
147+
<version>3.14.0</version>
127148
<configuration>
128-
<source>11</source>
129-
<target>11</target>
149+
<source>17</source>
150+
<target>17</target>
130151
<parameters>true</parameters>
131152
</configuration>
132153
</plugin>
@@ -149,7 +170,7 @@
149170
<plugin>
150171
<groupId>org.apache.maven.plugins</groupId>
151172
<artifactId>maven-surefire-plugin</artifactId>
152-
<version>3.2.5</version>
173+
<version>3.5.3</version>
153174
<configuration>
154175
<includes>
155176
<include>**/*Test.java</include>
@@ -177,7 +198,7 @@
177198
<plugin>
178199
<groupId>org.apache.maven.plugins</groupId>
179200
<artifactId>maven-javadoc-plugin</artifactId>
180-
<version>3.11.1</version>
201+
<version>3.11.3</version>
181202
<configuration>
182203
<additionalOptions>-Xdoclint:none</additionalOptions>
183204
</configuration>
@@ -209,10 +230,8 @@
209230
</licenseSet>
210231
</licenseSets>
211232
<properties>
212-
213-
<year>${project.inceptionYear}</year>
214-
<currentYear>2022</currentYear>
215-
233+
<year>${project.inceptionYear}</year>
234+
<currentYear>2022</currentYear>
216235
</properties>
217236
<strictCheck>true</strictCheck>
218237
</configuration>
@@ -238,7 +257,6 @@
238257
<groupId>org.apache.maven.plugins</groupId>
239258
<artifactId>maven-surefire-plugin</artifactId>
240259
<configuration>
241-
<!-- Do not exclude stress tests when profile 'stress' is active -->
242260
<excludes/>
243261
</configuration>
244262
</plugin>

0 commit comments

Comments
 (0)