|
135 | 135 | <artifactId>maven-resources-plugin</artifactId> |
136 | 136 | <version>3.3.1</version> |
137 | 137 | </plugin> |
138 | | - <plugin> |
139 | | - <groupId>org.apache.maven.plugins</groupId> |
140 | | - <artifactId>maven-compiler-plugin</artifactId> |
141 | | - <version>3.14.1</version> |
142 | | - <configuration> |
143 | | - <compilerVersion>1.8</compilerVersion> |
144 | | - <fork>true</fork> |
145 | | - <debug>true</debug> |
146 | | - <optimize>true</optimize> |
147 | | - <showDeprecation>true</showDeprecation> |
148 | | - <showWarnings>true</showWarnings> |
149 | | - <source>8</source> |
150 | | - <target>8</target> |
151 | | - <excludes> |
152 | | - <exclude>**/package-info.java</exclude> |
153 | | - </excludes> |
154 | | - </configuration> |
155 | | - </plugin> |
156 | | - <plugin> |
157 | | - <groupId>org.apache.maven.plugins</groupId> |
158 | | - <artifactId>maven-surefire-plugin</artifactId> |
159 | | - <version>3.5.2</version> |
160 | | - <configuration> |
161 | | - <includes> |
162 | | - <include>**/*Test.java</include> |
163 | | - </includes> |
164 | | - <systemPropertyVariables> |
165 | | - <logback.configurationFile>${logging.config}</logback.configurationFile> |
166 | | - <logLevel>${logging.logLevel}</logLevel> |
167 | | - </systemPropertyVariables> |
168 | | - <trimStackTrace>false</trimStackTrace> |
169 | | - </configuration> |
170 | | - </plugin> |
171 | 138 | <plugin> |
172 | 139 | <groupId>org.apache.maven.plugins</groupId> |
173 | 140 | <artifactId>maven-javadoc-plugin</artifactId> |
|
192 | 159 | <tagNameFormat>v@{project.version}</tagNameFormat> |
193 | 160 | </configuration> |
194 | 161 | </plugin> |
195 | | - <plugin> |
196 | | - <groupId>org.sonatype.central</groupId> |
197 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
198 | | - <version>0.9.0</version> |
199 | | - <extensions>true</extensions> |
200 | | - <configuration> |
201 | | - <publishingServerId>central</publishingServerId> |
202 | | - <deploymentName>io.tarantool.testcontainers-java-tarantool</deploymentName> |
203 | | - </configuration> |
204 | | - </plugin> |
205 | 162 | <plugin> |
206 | 163 | <groupId>org.jacoco</groupId> |
207 | 164 | <artifactId>jacoco-maven-plugin</artifactId> |
|
231 | 188 | </build> |
232 | 189 |
|
233 | 190 | <profiles> |
| 191 | + <profile> |
| 192 | + <id>unit</id> |
| 193 | + <build> |
| 194 | + <plugins> |
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-compiler-plugin</artifactId> |
| 198 | + <version>3.14.1</version> |
| 199 | + <configuration> |
| 200 | + <compilerVersion>1.8</compilerVersion> |
| 201 | + <fork>true</fork> |
| 202 | + <debug>true</debug> |
| 203 | + <optimize>true</optimize> |
| 204 | + <showDeprecation>true</showDeprecation> |
| 205 | + <showWarnings>true</showWarnings> |
| 206 | + <source>8</source> |
| 207 | + <target>8</target> |
| 208 | + <excludes> |
| 209 | + <exclude>**/package-info.java</exclude> |
| 210 | + </excludes> |
| 211 | + </configuration> |
| 212 | + </plugin> |
| 213 | + <plugin> |
| 214 | + <groupId>org.apache.maven.plugins</groupId> |
| 215 | + <artifactId>maven-surefire-plugin</artifactId> |
| 216 | + <version>3.5.2</version> |
| 217 | + <configuration> |
| 218 | + <includes> |
| 219 | + <include>**/*Test.java</include> |
| 220 | + </includes> |
| 221 | + <systemPropertyVariables> |
| 222 | + <logback.configurationFile>${logging.config}</logback.configurationFile> |
| 223 | + <logLevel>${logging.logLevel}</logLevel> |
| 224 | + </systemPropertyVariables> |
| 225 | + <trimStackTrace>false</trimStackTrace> |
| 226 | + </configuration> |
| 227 | + </plugin> |
| 228 | + </plugins> |
| 229 | + </build> |
| 230 | + </profile> |
234 | 231 | <profile> |
235 | 232 | <id>integration</id> |
236 | 233 | <build> |
237 | 234 | <plugins> |
238 | 235 | <plugin> |
239 | 236 | <groupId>org.apache.maven.plugins</groupId> |
240 | 237 | <artifactId>maven-antrun-plugin</artifactId> |
241 | | - <version>3.0.0</version> |
| 238 | + <version>3.2.0</version> |
242 | 239 | <executions> |
243 | 240 | <execution> |
244 | 241 | <id>process-test-classes</id> |
|
251 | 248 | </plugin> |
252 | 249 | <plugin> |
253 | 250 | <artifactId>maven-surefire-plugin</artifactId> |
254 | | - <version>3.0.0-M5</version> |
| 251 | + <version>3.5.2</version> |
255 | 252 | <configuration> |
256 | 253 | <includes> |
257 | 254 | <include>**/*IT.java</include> |
|
270 | 267 | </build> |
271 | 268 | </profile> |
272 | 269 | <profile> |
273 | | - <id>release</id> |
| 270 | + <id>tarantool-container</id> |
274 | 271 | <build> |
275 | 272 | <plugins> |
| 273 | + <plugin> |
| 274 | + <groupId>org.apache.maven.plugins</groupId> |
| 275 | + <artifactId>maven-surefire-plugin</artifactId> |
| 276 | + <version>3.5.2</version> |
| 277 | + <configuration> |
| 278 | + <includes> |
| 279 | + <include>**/*TarantoolContainer*IT.java</include> |
| 280 | + </includes> |
| 281 | + <systemPropertyVariables> |
| 282 | + <logback.configurationFile>${logging.config}</logback.configurationFile> |
| 283 | + <logLevel>${logging.logLevel}</logLevel> |
| 284 | + </systemPropertyVariables> |
| 285 | + <trimStackTrace>false</trimStackTrace> |
| 286 | + </configuration> |
| 287 | + </plugin> |
| 288 | + </plugins> |
| 289 | + </build> |
| 290 | + </profile> |
| 291 | + <profile> |
| 292 | + <id>sonatypeSnapshot</id> |
| 293 | + <build> |
| 294 | + <plugins> |
| 295 | + <plugin> |
| 296 | + <groupId>org.sonatype.central</groupId> |
| 297 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 298 | + <version>0.9.0</version> |
| 299 | + <extensions>true</extensions> |
| 300 | + <configuration> |
| 301 | + <publishingServerId>central-portal-snapshots</publishingServerId> |
| 302 | + <deploymentName>io.tarantool.testcontainers-java-tarantool</deploymentName> |
| 303 | + <waitUntil>uploaded</waitUntil> |
| 304 | + </configuration> |
| 305 | + </plugin> |
| 306 | + </plugins> |
| 307 | + </build> |
| 308 | + </profile> |
| 309 | + <profile> |
| 310 | + <id>sonatypeRelease</id> |
| 311 | + <build> |
| 312 | + <plugins> |
| 313 | + <plugin> |
| 314 | + <groupId>org.sonatype.central</groupId> |
| 315 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 316 | + <version>0.9.0</version> |
| 317 | + <extensions>true</extensions> |
| 318 | + <configuration> |
| 319 | + <publishingServerId>central</publishingServerId> |
| 320 | + <deploymentName>io.tarantool.testcontainers-java-tarantool</deploymentName> |
| 321 | + <waitUntil>uploaded</waitUntil> |
| 322 | + </configuration> |
| 323 | + </plugin> |
276 | 324 | <plugin> |
277 | 325 | <artifactId>maven-source-plugin</artifactId> |
278 | 326 | <version>3.3.1</version> |
|
340 | 388 | </plugins> |
341 | 389 | </build> |
342 | 390 | </profile> |
343 | | - <profile> |
344 | | - <id>tarantool-container</id> |
345 | | - <build> |
346 | | - <plugins> |
347 | | - <plugin> |
348 | | - <groupId>org.apache.maven.plugins</groupId> |
349 | | - <artifactId>maven-surefire-plugin</artifactId> |
350 | | - <version>3.5.2</version> |
351 | | - <configuration> |
352 | | - <includes> |
353 | | - <include>**/*TarantoolContainer*IT.java</include> |
354 | | - </includes> |
355 | | - <systemPropertyVariables> |
356 | | - <logback.configurationFile>${logging.config}</logback.configurationFile> |
357 | | - <logLevel>${logging.logLevel}</logLevel> |
358 | | - </systemPropertyVariables> |
359 | | - <trimStackTrace>false</trimStackTrace> |
360 | | - </configuration> |
361 | | - </plugin> |
362 | | - </plugins> |
363 | | - </build> |
364 | | - </profile> |
365 | 391 | </profiles> |
| 392 | + |
| 393 | + <repositories> |
| 394 | + <repository> |
| 395 | + <name>Central Portal Snapshots</name> |
| 396 | + <id>central-portal-snapshots</id> |
| 397 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 398 | + <releases> |
| 399 | + <enabled>false</enabled> |
| 400 | + </releases> |
| 401 | + <snapshots> |
| 402 | + <enabled>true</enabled> |
| 403 | + </snapshots> |
| 404 | + </repository> |
| 405 | + </repositories> |
366 | 406 | </project> |
0 commit comments