|
8 | 8 | <groupId>com.github.switcherapi</groupId> |
9 | 9 | <artifactId>switcher-client</artifactId> |
10 | 10 | <packaging>jar</packaging> |
11 | | - <version>1.6.3</version> |
| 11 | + <version>1.6.4-SNAPSHOT</version> |
12 | 12 |
|
13 | 13 | <name>Switcher Client</name> |
14 | 14 | <description>Switcher Client SDK for working with Switcher API</description> |
|
63 | 63 | <slf4j-api.version>2.0.17</slf4j-api.version> |
64 | 64 |
|
65 | 65 | <!-- test --> |
66 | | - <okhttp.version>5.0.0-alpha.14</okhttp.version> |
67 | | - <junit.version>5.12.0</junit.version> |
| 66 | + <okhttp.version>5.0.0-alpha.16</okhttp.version> |
| 67 | + <junit-jupiter.version>5.13.0</junit-jupiter.version> |
68 | 68 | <junit-pioneer.version>1.9.1</junit-pioneer.version> |
| 69 | + <junit-platform-launcher.version>1.13.0</junit-platform-launcher.version> |
69 | 70 |
|
70 | 71 | <!-- Plugins --> |
71 | 72 | <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> |
72 | 73 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
73 | 74 | <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> |
74 | | - <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> |
75 | 75 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
76 | 76 | <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> |
77 | 77 | <sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version> |
78 | 78 | <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> |
| 79 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
79 | 80 |
|
80 | 81 | <!-- Sonar --> |
81 | 82 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
|
136 | 137 | <dependency> |
137 | 138 | <groupId>org.junit.jupiter</groupId> |
138 | 139 | <artifactId>junit-jupiter-engine</artifactId> |
139 | | - <version>${junit.version}</version> |
| 140 | + <version>${junit-jupiter.version}</version> |
140 | 141 | <scope>provided</scope> |
141 | 142 | </dependency> |
142 | 143 | <dependency> |
143 | 144 | <groupId>org.junit.jupiter</groupId> |
144 | 145 | <artifactId>junit-jupiter-params</artifactId> |
145 | | - <version>${junit.version}</version> |
| 146 | + <version>${junit-jupiter.version}</version> |
| 147 | + <scope>test</scope> |
| 148 | + </dependency> |
| 149 | + <dependency> |
| 150 | + <groupId>org.junit.platform</groupId> |
| 151 | + <artifactId>junit-platform-launcher</artifactId> |
| 152 | + <version>${junit-platform-launcher.version}</version> |
146 | 153 | <scope>test</scope> |
147 | 154 | </dependency> |
148 | 155 | <dependency> |
|
171 | 178 | </dependency> |
172 | 179 | </dependencies> |
173 | 180 |
|
174 | | - <dependencyManagement> |
175 | | - <dependencies> |
176 | | - <dependency> |
177 | | - <groupId>junit</groupId> |
178 | | - <artifactId>junit</artifactId> |
179 | | - <version>4.13.2</version> |
180 | | - </dependency> |
181 | | - |
182 | | - <dependency> |
183 | | - <groupId>org.junit.platform</groupId> |
184 | | - <artifactId>junit-platform-launcher</artifactId> |
185 | | - <version>1.12.0</version> |
186 | | - <scope>test</scope> |
187 | | - </dependency> |
188 | | - |
189 | | - <dependency> |
190 | | - <groupId>com.fasterxml.jackson.core</groupId> |
191 | | - <artifactId>jackson-annotations</artifactId> |
192 | | - <version>2.18.3</version> |
193 | | - </dependency> |
194 | | - |
195 | | - <dependency> |
196 | | - <groupId>com.fasterxml.jackson.core</groupId> |
197 | | - <artifactId>jackson-databind</artifactId> |
198 | | - <version>2.18.3</version> |
199 | | - </dependency> |
200 | | - |
201 | | - <dependency> |
202 | | - <groupId>com.fasterxml.jackson.module</groupId> |
203 | | - <artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId> |
204 | | - <version>2.18.3</version> |
205 | | - </dependency> |
206 | | - </dependencies> |
207 | | - </dependencyManagement> |
208 | | - |
209 | | - <distributionManagement> |
210 | | - <snapshotRepository> |
211 | | - <id>ossrh</id> |
212 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
213 | | - </snapshotRepository> |
214 | | - <repository> |
215 | | - <id>ossrh</id> |
216 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
217 | | - </repository> |
218 | | - </distributionManagement> |
219 | | - |
220 | 181 | <profiles> |
221 | 182 | <profile> |
222 | 183 | <id>coverage</id> |
|
361 | 322 | <version>${maven-surefire-plugin.version}</version> |
362 | 323 | </plugin> |
363 | 324 |
|
364 | | - <!-- Exclude log4j2 properties --> |
| 325 | + <!-- Publish to Maven Central --> |
365 | 326 | <plugin> |
366 | | - <groupId>org.apache.maven.plugins</groupId> |
367 | | - <artifactId>maven-jar-plugin</artifactId> |
368 | | - <version>${maven-jar-plugin.version}</version> |
| 327 | + <groupId>org.sonatype.central</groupId> |
| 328 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 329 | + <version>${central-publishing-maven-plugin.version}</version> |
| 330 | + <extensions>true</extensions> |
369 | 331 | <configuration> |
370 | | - <excludes> |
371 | | - <exclude>**/log4j2.properties</exclude> |
372 | | - </excludes> |
| 332 | + <publishingServerId>central</publishingServerId> |
| 333 | + <autoPublish>true</autoPublish> |
373 | 334 | </configuration> |
374 | 335 | </plugin> |
375 | 336 | </plugins> |
|
0 commit comments