|
1 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion>
|
3 |
| - <parent> |
4 |
| - <groupId>org.sonatype.oss</groupId> |
5 |
| - <artifactId>oss-parent</artifactId> |
6 |
| - <version>9</version> |
7 |
| - </parent> |
8 | 4 | <groupId>io.vavr</groupId>
|
9 | 5 | <artifactId>vavr-test</artifactId>
|
10 | 6 | <version>0.11.0-SNAPSHOT</version>
|
|
98 | 94 | <module>
|
99 | 95 | <moduleInfoSource>
|
100 | 96 | module io.vavr.test {
|
101 |
| - exports io.vavr.test; |
102 |
| - requires io.vavr; |
| 97 | + exports io.vavr.test; |
| 98 | + requires io.vavr; |
103 | 99 | }
|
104 | 100 | </moduleInfoSource>
|
105 | 101 | </module>
|
|
254 | 250 | <artifactId>maven-jar-plugin</artifactId>
|
255 | 251 | <version>${maven.jar.version}</version>
|
256 | 252 | </plugin>
|
| 253 | + <plugin> |
| 254 | + <groupId>org.apache.maven.plugins</groupId> |
| 255 | + <artifactId>maven-deploy-plugin</artifactId> |
| 256 | + <version>${maven.deploy.version}</version> |
| 257 | + </plugin> |
257 | 258 | <plugin>
|
258 | 259 | <groupId>org.apache.maven.plugins</groupId>
|
259 | 260 | <artifactId>maven-javadoc-plugin</artifactId>
|
260 | 261 | <version>${maven.javadoc.version}</version>
|
261 | 262 | <executions>
|
262 | 263 | <execution>
|
263 | 264 | <id>attach-javadocs</id>
|
264 |
| - <phase>prepare-package</phase> |
265 | 265 | <goals>
|
266 | 266 | <goal>jar</goal>
|
267 | 267 | </goals>
|
268 | 268 | </execution>
|
269 | 269 | </executions>
|
270 | 270 | <configuration>
|
271 |
| - <links> |
272 |
| - <link>https://docs.oracle.com/javase/8/docs/api/</link> |
273 |
| - </links> |
274 |
| - <stylesheetfile>${basedir}/../.javadoc/stylesheet.css</stylesheetfile> |
| 271 | + <failOnWarnings>false</failOnWarnings> |
| 272 | + <failOnError>true</failOnError> |
275 | 273 | </configuration>
|
276 | 274 | </plugin>
|
277 | 275 | <plugin>
|
|
307 | 305 | <artifactId>maven-surefire-plugin</artifactId>
|
308 | 306 | <version>${maven.surefire.version}</version>
|
309 | 307 | <configuration>
|
310 |
| - <!-- ForkJoinPool parallelism for io.vavr.concurrent.Future. |
311 |
| - Typically this is the number of cores by default. |
312 |
| - In the travis-ci build env this is currently set to 1. --> |
313 |
| - <!--<argLine>-Djava.util.concurrent.ForkJoinPool.common.parallelism=1</argLine>--> |
314 | 308 | <parallel>all</parallel>
|
315 | 309 | <threadCount>4</threadCount>
|
316 | 310 | <reuseForks>true</reuseForks>
|
317 | 311 | </configuration>
|
318 | 312 | </plugin>
|
| 313 | + <plugin> |
| 314 | + <groupId>org.sonatype.central</groupId> |
| 315 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 316 | + <version>0.8.0</version> |
| 317 | + <extensions>true</extensions> |
| 318 | + <configuration> |
| 319 | + <publishingServerId>central</publishingServerId> |
| 320 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 321 | + <autoPublish>true</autoPublish> |
| 322 | + </configuration> |
| 323 | + </plugin> |
319 | 324 | </plugins>
|
320 | 325 | </build>
|
321 | 326 | <profiles>
|
322 | 327 | <profile>
|
323 |
| - <id>sonatype-oss-release</id> |
324 |
| - <build> |
325 |
| - <plugins> |
326 |
| - <plugin> |
327 |
| - <groupId>org.apache.maven.plugins</groupId> |
328 |
| - <artifactId>maven-source-plugin</artifactId> |
329 |
| - <version>${maven.source.version}</version> |
330 |
| - <executions> |
331 |
| - <execution> |
332 |
| - <id>attach-sources</id> |
333 |
| - <phase>prepare-package</phase> |
334 |
| - <goals> |
335 |
| - <goal>jar-no-fork</goal> |
336 |
| - <goal>test-jar-no-fork</goal> |
337 |
| - </goals> |
338 |
| - </execution> |
339 |
| - </executions> |
340 |
| - </plugin> |
341 |
| - <plugin> |
342 |
| - <groupId>org.apache.maven.plugins</groupId> |
343 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
344 |
| - <version>3.11.2</version> |
345 |
| - <executions> |
346 |
| - <execution> |
347 |
| - <id>attach-javadocs</id> |
348 |
| - <goals> |
349 |
| - <goal>jar</goal> |
350 |
| - </goals> |
351 |
| - </execution> |
352 |
| - </executions> |
353 |
| - <configuration> |
354 |
| - <links> |
355 |
| - <link>https://docs.oracle.com/javase/8/docs/api/</link> |
356 |
| - </links> |
357 |
| - <stylesheetfile>${basedir}/../.javadoc/stylesheet.css</stylesheetfile> |
358 |
| - </configuration> |
359 |
| - </plugin> |
360 |
| - <plugin> |
361 |
| - <groupId>org.apache.maven.plugins</groupId> |
362 |
| - <artifactId>maven-gpg-plugin</artifactId> |
363 |
| - <version>3.2.8</version> |
364 |
| - <executions> |
365 |
| - <execution> |
366 |
| - <id>sign-artifacts</id> |
367 |
| - <phase>verify</phase> |
368 |
| - <goals> |
369 |
| - <goal>sign</goal> |
370 |
| - </goals> |
371 |
| - <configuration> |
372 |
| - <gpgArguments> |
373 |
| - <arg>--pinentry-mode</arg> |
374 |
| - <arg>loopback</arg> |
375 |
| - </gpgArguments> |
376 |
| - </configuration> |
377 |
| - </execution> |
378 |
| - </executions> |
379 |
| - </plugin> |
380 |
| - |
381 |
| - <plugin> |
382 |
| - <groupId>org.sonatype.central</groupId> |
383 |
| - <artifactId>central-publishing-maven-plugin</artifactId> |
384 |
| - <version>0.8.0</version> |
385 |
| - <extensions>true</extensions> |
386 |
| - <configuration> |
387 |
| - <publishingServerId>central</publishingServerId> |
388 |
| - <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
389 |
| - </configuration> |
390 |
| - </plugin> |
391 |
| - |
392 |
| - <plugin> |
393 |
| - <groupId>org.apache.maven.plugins</groupId> |
394 |
| - <artifactId>maven-deploy-plugin</artifactId> |
395 |
| - <configuration> |
396 |
| - <skip>true</skip> |
397 |
| - </configuration> |
398 |
| - </plugin> |
399 |
| - </plugins> |
400 |
| - </build> |
401 |
| - </profile> |
402 |
| - |
403 |
| - <profile> |
404 |
| - <id>release-sign-artifacts</id> |
405 |
| - <activation> |
406 |
| - <property> |
407 |
| - <!-- Automatically set to true on mvn release:perform --> |
408 |
| - <name>performRelease</name> |
409 |
| - <value>true</value> |
410 |
| - </property> |
411 |
| - </activation> |
| 328 | + <id>maven-central-release</id> |
412 | 329 | <build>
|
413 | 330 | <plugins>
|
414 | 331 | <plugin>
|
|
0 commit comments