|
8 | 8 | <groupId>com.github.switcherapi</groupId> |
9 | 9 | <artifactId>switcher-client</artifactId> |
10 | 10 | <packaging>jar</packaging> |
11 | | - <version>2.2.3-SNAPSHOT</version> |
| 11 | + <version>2.2.3</version> |
12 | 12 |
|
13 | 13 | <name>Switcher Client</name> |
14 | 14 | <description>Switcher Client SDK for working with Switcher API</description> |
|
51 | 51 | <maven.compiler.target>${java.version}</maven.compiler.target> |
52 | 52 | <argLine /> |
53 | 53 |
|
54 | | - <!-- rest/json libs --> |
55 | | - <gson.version>2.12.1</gson.version> |
56 | | - |
57 | 54 | <!-- utils --> |
| 55 | + <gson.version>2.13.1</gson.version> |
58 | 56 | <commons-lang3.version>3.17.0</commons-lang3.version> |
59 | 57 | <commons-net.version>3.11.1</commons-net.version> |
60 | 58 | <slf4j-api.version>2.0.17</slf4j-api.version> |
61 | 59 |
|
62 | 60 | <!-- test --> |
63 | | - <okhttp.version>5.0.0-alpha.14</okhttp.version> |
64 | | - <junit.version>5.12.0</junit.version> |
| 61 | + <okhttp.version>5.0.0-alpha.16</okhttp.version> |
| 62 | + <junit-jupiter.version>5.13.0</junit-jupiter.version> |
65 | 63 | <junit-pioneer.version>2.3.0</junit-pioneer.version> |
| 64 | + <junit-platform-launcher.version>1.13.0</junit-platform-launcher.version> |
66 | 65 |
|
67 | 66 | <!-- Plugins --> |
68 | 67 | <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> |
69 | 68 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
70 | 69 | <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> |
71 | | - <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> |
72 | | - <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
| 70 | + <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version> |
73 | 71 | <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> |
74 | 72 | <sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version> |
75 | | - <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> |
| 73 | + <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> |
| 74 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
76 | 75 |
|
77 | 76 | <!-- Sonar --> |
78 | 77 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
|
115 | 114 | <dependency> |
116 | 115 | <groupId>org.junit.jupiter</groupId> |
117 | 116 | <artifactId>junit-jupiter-engine</artifactId> |
118 | | - <version>${junit.version}</version> |
| 117 | + <version>${junit-jupiter.version}</version> |
119 | 118 | <scope>provided</scope> |
120 | 119 | </dependency> |
121 | 120 | <dependency> |
122 | 121 | <groupId>org.junit.jupiter</groupId> |
123 | 122 | <artifactId>junit-jupiter-params</artifactId> |
124 | | - <version>${junit.version}</version> |
| 123 | + <version>${junit-jupiter.version}</version> |
| 124 | + <scope>test</scope> |
| 125 | + </dependency> |
| 126 | + <dependency> |
| 127 | + <groupId>org.junit.platform</groupId> |
| 128 | + <artifactId>junit-platform-launcher</artifactId> |
| 129 | + <version>${junit-platform-launcher.version}</version> |
125 | 130 | <scope>test</scope> |
126 | 131 | </dependency> |
127 | 132 | <dependency> |
|
150 | 155 | </dependency> |
151 | 156 | </dependencies> |
152 | 157 |
|
153 | | - <dependencyManagement> |
154 | | - <dependencies> |
155 | | - <dependency> |
156 | | - <groupId>junit</groupId> |
157 | | - <artifactId>junit</artifactId> |
158 | | - <version>4.13.2</version> |
159 | | - </dependency> |
160 | | - |
161 | | - <dependency> |
162 | | - <groupId>org.junit.platform</groupId> |
163 | | - <artifactId>junit-platform-launcher</artifactId> |
164 | | - <version>1.12.0</version> |
165 | | - <scope>test</scope> |
166 | | - </dependency> |
167 | | - </dependencies> |
168 | | - </dependencyManagement> |
169 | | - |
170 | | - <distributionManagement> |
171 | | - <snapshotRepository> |
172 | | - <id>ossrh</id> |
173 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
174 | | - </snapshotRepository> |
175 | | - <repository> |
176 | | - <id>ossrh</id> |
177 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
178 | | - </repository> |
179 | | - </distributionManagement> |
180 | | - |
181 | 158 | <profiles> |
182 | 159 | <profile> |
183 | 160 | <id>coverage</id> |
|
325 | 302 | </configuration> |
326 | 303 | </plugin> |
327 | 304 |
|
328 | | - <!-- Exclude log4j2 properties --> |
| 305 | + <!-- Publish to Maven Central --> |
329 | 306 | <plugin> |
330 | | - <groupId>org.apache.maven.plugins</groupId> |
331 | | - <artifactId>maven-jar-plugin</artifactId> |
332 | | - <version>${maven-jar-plugin.version}</version> |
| 307 | + <groupId>org.sonatype.central</groupId> |
| 308 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 309 | + <version>${central-publishing-maven-plugin.version}</version> |
| 310 | + <extensions>true</extensions> |
333 | 311 | <configuration> |
334 | | - <excludes> |
335 | | - <exclude>**/log4j2.properties</exclude> |
336 | | - </excludes> |
| 312 | + <publishingServerId>central</publishingServerId> |
| 313 | + <autoPublish>true</autoPublish> |
337 | 314 | </configuration> |
338 | 315 | </plugin> |
339 | 316 | </plugins> |
|
0 commit comments