|
41 | 41 | < url> [email protected]:vietj/childprocess-vertx-ext.git</ url>
|
42 | 42 | </scm>
|
43 | 43 |
|
44 |
| - <distributionManagement> |
45 |
| - <snapshotRepository> |
46 |
| - <id>sonatype-nexus-snapshots</id> |
47 |
| - <name>Sonatype Snapshots Repository</name> |
48 |
| - <url>${sonatype.snapshotRepository}</url> |
49 |
| - </snapshotRepository> |
50 |
| - <repository> |
51 |
| - <id>sonatype-nexus-staging</id> |
52 |
| - <name>Sonatype Release Repository</name> |
53 |
| - <url>${sonatype.releaseRepository}</url> |
54 |
| - </repository> |
55 |
| - </distributionManagement> |
56 |
| - |
57 | 44 | <developers>
|
58 | 45 | <developer>
|
59 | 46 | <name>Julien Viet</name>
|
|
74 | 61 | <!-- Plugin versions -->
|
75 | 62 | <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version>
|
76 | 63 | <maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
|
77 |
| - <maven.source.plugin.version>3.0.1</maven.source.plugin.version> |
| 64 | + <maven.source.plugin.version>3.3.1</maven.source.plugin.version> |
78 | 65 | <maven.resource.plugin.version>2.7</maven.resource.plugin.version>
|
| 66 | + <maven.release.plugin.version>3.1.1</maven.release.plugin.version> |
79 | 67 | <maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version>
|
80 |
| - <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version> |
| 68 | + <maven.gpg.plugin.version>3.2.7</maven.gpg.plugin.version> |
81 | 69 | <maven.dependency.plugin.version>2.10</maven.dependency.plugin.version>
|
82 | 70 | <maven.clean.plugin.version>3.0.0</maven.clean.plugin.version>
|
83 | 71 | <maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
|
|
91 | 79 | <maven.dependency.versions.check.plugin.version>2.0.2</maven.dependency.versions.check.plugin.version>
|
92 | 80 | <maven.asciidoctor.plugin.version>2.1.0</maven.asciidoctor.plugin.version>
|
93 | 81 | <maven.build.helper.maven.plugin.version>3.0.0</maven.build.helper.maven.plugin.version>
|
| 82 | + <maven.central.publishing.maven.plugin.version>0.7.0</maven.central.publishing.maven.plugin.version> |
94 | 83 |
|
95 | 84 | <stack.version>4.5.13</stack.version>
|
96 | 85 | <generated.dir>${project.basedir}/src/main/generated</generated.dir>
|
|
226 | 215 | <artifactId>maven-dependency-plugin</artifactId>
|
227 | 216 | <version>${maven.dependency.plugin.version}</version>
|
228 | 217 | </plugin>
|
| 218 | + <plugin> |
| 219 | + <groupId>org.apache.maven.plugins</groupId> |
| 220 | + <artifactId>maven-source-plugin</artifactId> |
| 221 | + <version>${maven.source.plugin.version}</version> |
| 222 | + </plugin> |
229 | 223 | <plugin>
|
230 | 224 | <groupId>org.apache.maven.plugins</groupId>
|
231 | 225 | <artifactId>maven-install-plugin</artifactId>
|
|
308 | 302 | <link>http://vertx.io/docs/apidocs/</link>
|
309 | 303 | </links>
|
310 | 304 | </configuration>
|
| 305 | + <executions> |
| 306 | + <execution> |
| 307 | + <id>attach-javadocs</id> |
| 308 | + <goals> |
| 309 | + <goal>jar</goal> |
| 310 | + </goals> |
| 311 | + </execution> |
| 312 | + </executions> |
311 | 313 | </plugin>
|
312 | 314 | <plugin>
|
313 |
| - <artifactId>maven-assembly-plugin</artifactId> |
314 |
| - <version>${maven.assembly.plugin.version}</version> |
| 315 | + <groupId>org.apache.maven.plugins</groupId> |
| 316 | + <artifactId>maven-jar-plugin</artifactId> |
315 | 317 | <executions>
|
316 | 318 | <execution>
|
317 |
| - <id>package-sources</id> |
318 |
| - <phase>package</phase> |
| 319 | + <id>attach-test-jar</id> |
319 | 320 | <goals>
|
320 |
| - <goal>single</goal> |
| 321 | + <goal>test-jar</goal> |
321 | 322 | </goals>
|
322 |
| - <configuration> |
323 |
| - <attach>true</attach> |
324 |
| - <archive> |
325 |
| - <!-- Need a manifest to avoid empty archive --> |
326 |
| - <manifest> |
327 |
| - </manifest> |
328 |
| - </archive> |
329 |
| - <descriptors> |
330 |
| - <descriptor>src/assembly/sources.xml</descriptor> |
331 |
| - </descriptors> |
332 |
| - </configuration> |
333 | 323 | </execution>
|
334 | 324 | </executions>
|
335 | 325 | </plugin>
|
|
348 | 338 | </plugin>
|
349 | 339 | <plugin>
|
350 | 340 | <groupId>org.apache.maven.plugins</groupId>
|
351 |
| - <artifactId>maven-jar-plugin</artifactId> |
| 341 | + <artifactId>maven-gpg-plugin</artifactId> |
352 | 342 | <executions>
|
353 | 343 | <execution>
|
354 |
| - <id>attach-test-jar</id> |
| 344 | + <id>sign-artifacts</id> |
| 345 | + <phase>verify</phase> |
355 | 346 | <goals>
|
356 |
| - <goal>test-jar</goal> |
| 347 | + <goal>sign</goal> |
357 | 348 | </goals>
|
358 | 349 | </execution>
|
359 | 350 | </executions>
|
360 | 351 | </plugin>
|
| 352 | + <plugin> |
| 353 | + <groupId>org.sonatype.central</groupId> |
| 354 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 355 | + <version>${maven.central.publishing.maven.plugin.version}</version> |
| 356 | + <extensions>true</extensions> |
| 357 | + <configuration> |
| 358 | + <publishingServerId>central</publishingServerId> |
| 359 | + </configuration> |
| 360 | + </plugin> |
361 | 361 | </plugins>
|
362 | 362 | </build>
|
363 | 363 |
|
|
0 commit comments