|
1 | 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">
|
2 | 2 | <modelVersion>4.0.0</modelVersion>
|
3 | 3 |
|
4 |
| - <groupId>com.github.jonasrutishauser</groupId> |
| 4 | + <groupId>io.github.jonasrutishauser</groupId> |
5 | 5 | <artifactId>parent</artifactId>
|
6 | 6 | <version>21-SNAPSHOT</version>
|
7 | 7 | <packaging>pom</packaging>
|
|
13 | 13 | <licenses>
|
14 | 14 | <license>
|
15 | 15 | <name>GNU LGPL 3</name>
|
16 |
| - <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> |
| 16 | + <url>https://www.gnu.org/licenses/lgpl-3.0.txt</url> |
17 | 17 | </license>
|
18 | 18 | </licenses>
|
19 | 19 |
|
|
44 | 44 | </ciManagement>
|
45 | 45 |
|
46 | 46 | <distributionManagement>
|
47 |
| - <snapshotRepository> |
48 |
| - <id>ossrh</id> |
49 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
50 |
| - </snapshotRepository> |
51 |
| - <repository> |
52 |
| - <id>ossrh</id> |
53 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
54 |
| - </repository> |
55 | 47 | <site>
|
56 | 48 | <id>github</id>
|
57 | 49 | <url>${distributionManagement.site.url}</url>
|
|
64 | 56 |
|
65 | 57 | <maven.compiler.source>1.8</maven.compiler.source>
|
66 | 58 | <maven.compiler.target>1.8</maven.compiler.target>
|
| 59 | + <maven.compiler.release>8</maven.compiler.release> |
67 | 60 |
|
68 | 61 | <site.path>/snapshot</site.path>
|
69 | 62 |
|
|
78 | 71 | <url>https://jonasrutishauser.github.io/${root.artifactId}${site.path}</url>
|
79 | 72 |
|
80 | 73 | <plugin.assembly.version>3.7.1</plugin.assembly.version>
|
81 |
| - <plugin.changes.version>2.12.1</plugin.changes.version> |
82 |
| - <plugin.changelog.version>2.3</plugin.changelog.version> |
| 74 | + <plugin.central-publishing.version>0.6.0</plugin.central-publishing.version> |
83 | 75 | <plugin.clean.version>3.4.0</plugin.clean.version>
|
84 | 76 | <plugin.compiler.version>3.13.0</plugin.compiler.version>
|
85 |
| - <plugin.dependency.version>3.7.1</plugin.dependency.version> |
86 |
| - <plugin.deploy.version>3.1.2</plugin.deploy.version> |
| 77 | + <plugin.dependency.version>3.8.0</plugin.dependency.version> |
| 78 | + <plugin.deploy.version>3.1.3</plugin.deploy.version> |
87 | 79 | <plugin.enforcer.version>3.5.0</plugin.enforcer.version>
|
88 |
| - <plugin.gpg.version>3.2.4</plugin.gpg.version> |
89 |
| - <plugin.install.version>3.1.2</plugin.install.version> |
| 80 | + <plugin.gpg.version>3.2.7</plugin.gpg.version> |
| 81 | + <plugin.install.version>3.1.3</plugin.install.version> |
90 | 82 | <plugin.jacoco.version>0.8.12</plugin.jacoco.version>
|
91 | 83 | <plugin.jar.version>3.4.2</plugin.jar.version>
|
92 |
| - <plugin.javadoc.version>3.7.0</plugin.javadoc.version> |
93 |
| - <plugin.jxr.version>3.4.0</plugin.jxr.version> |
94 |
| - <plugin.nexus-staging.version>1.7.0</plugin.nexus-staging.version> |
95 |
| - <plugin.plugin.version>3.13.1</plugin.plugin.version> |
96 |
| - <plugin.project-info-reports.version>3.6.1</plugin.project-info-reports.version> |
97 |
| - <plugin.release.version>3.1.0</plugin.release.version> |
| 84 | + <plugin.javadoc.version>3.10.1</plugin.javadoc.version> |
| 85 | + <plugin.jxr.version>3.5.0</plugin.jxr.version> |
| 86 | + <plugin.plugin.version>3.15.0</plugin.plugin.version> |
| 87 | + <plugin.project-info-reports.version>3.8.0</plugin.project-info-reports.version> |
| 88 | + <plugin.release.version>3.1.1</plugin.release.version> |
98 | 89 | <plugin.resources.version>3.3.1</plugin.resources.version>
|
99 |
| - <plugin.site.version>3.12.1</plugin.site.version> |
| 90 | + <plugin.site.version>3.21.0</plugin.site.version> |
100 | 91 | <plugin.source.version>3.3.1</plugin.source.version>
|
101 |
| - <plugin.surefire.version>3.3.0</plugin.surefire.version> |
102 |
| - <plugin.taglist.version>3.0.0</plugin.taglist.version> |
103 |
| - <plugin.versions.version>2.17.0</plugin.versions.version> |
| 92 | + <plugin.surefire.version>3.5.1</plugin.surefire.version> |
| 93 | + <plugin.taglist.version>3.2.1</plugin.taglist.version> |
| 94 | + <plugin.versions.version>2.17.1</plugin.versions.version> |
104 | 95 | <wagon.git.version>1.1.1</wagon.git.version>
|
105 | 96 | </properties>
|
106 | 97 |
|
|
157 | 148 | </requireMavenVersion>
|
158 | 149 | <requireProperty>
|
159 | 150 | <property>project.description</property>
|
160 |
| - <message>Project description must be specified (requirement for OSSRH).</message> |
| 151 | + <message>Project description must be specified (requirement for maven central).</message> |
161 | 152 | </requireProperty>
|
162 | 153 | <requireProperty>
|
163 | 154 | <property>project.name</property>
|
164 |
| - <message>Project name must be specified (requirement for OSSRH).</message> |
| 155 | + <message>Project name must be specified (requirement for maven central).</message> |
165 | 156 | </requireProperty>
|
166 | 157 | <requireProperty>
|
167 | 158 | <property>project.url</property>
|
168 |
| - <message>Project url must be specified (requirement for OSSRH).</message> |
| 159 | + <message>Project url must be specified (requirement for maven central).</message> |
169 | 160 | </requireProperty>
|
170 | 161 | <requireProperty>
|
171 | 162 | <property>project.licenses</property>
|
172 |
| - <message>At least on license must be specified (requirement for OSSRH).</message> |
| 163 | + <message>At least on license must be specified (requirement for maven central).</message> |
173 | 164 | </requireProperty>
|
174 | 165 | <requireProperty>
|
175 | 166 | <property>project.developers</property>
|
176 |
| - <message>At least one developer must be specified (requirement for OSSRH).</message> |
| 167 | + <message>At least one developer must be specified (requirement for maven central).</message> |
177 | 168 | </requireProperty>
|
178 | 169 | <requireProperty>
|
179 | 170 | <property>project.scm.connection</property>
|
180 |
| - <message>scm section should be defined in project (requirement for OSSRH).</message> |
| 171 | + <message>scm section should be defined in project (requirement for maven central).</message> |
181 | 172 | </requireProperty>
|
182 | 173 | </rules>
|
183 | 174 | </configuration>
|
|
206 | 197 | </executions>
|
207 | 198 | </plugin>
|
208 | 199 | <plugin>
|
209 |
| - <groupId>org.sonatype.plugins</groupId> |
210 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
211 |
| - <version>${plugin.nexus-staging.version}</version> |
| 200 | + <groupId>org.sonatype.central</groupId> |
| 201 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 202 | + <version>${plugin.central-publishing.version}</version> |
212 | 203 | <extensions>true</extensions>
|
213 | 204 | <configuration>
|
214 |
| - <serverId>ossrh</serverId> |
215 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
216 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 205 | + <publishingServerId>central</publishingServerId> |
| 206 | + <autoPublish>true</autoPublish> |
| 207 | + <deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName> |
217 | 208 | </configuration>
|
218 | 209 | </plugin>
|
219 | 210 | </plugins>
|
|
317 | 308 | <artifactId>maven-enforcer-plugin</artifactId>
|
318 | 309 | <version>${plugin.enforcer.version}</version>
|
319 | 310 | </plugin>
|
320 |
| - <plugin> |
321 |
| - <artifactId>maven-changes-plugin</artifactId> |
322 |
| - <version>${plugin.changes.version}</version> |
323 |
| - </plugin> |
324 |
| - <plugin> |
325 |
| - <artifactId>maven-changelog-plugin</artifactId> |
326 |
| - <version>${plugin.changelog.version}</version> |
327 |
| - </plugin> |
328 | 311 | <plugin>
|
329 | 312 | <artifactId>maven-jxr-plugin</artifactId>
|
330 | 313 | <version>${plugin.jxr.version}</version>
|
|
370 | 353 | <reporting>
|
371 | 354 | <plugins>
|
372 | 355 | <plugin>
|
373 |
| - <artifactId>maven-plugin-plugin</artifactId> |
| 356 | + <artifactId>maven-plugin-report-plugin</artifactId> |
| 357 | + <version>${plugin.plugin.version}</version> |
| 358 | + <reportSets> |
| 359 | + <reportSet> |
| 360 | + <reports> |
| 361 | + <report>report-no-fork</report> |
| 362 | + </reports> |
| 363 | + </reportSet> |
| 364 | + </reportSets> |
374 | 365 | </plugin>
|
375 | 366 | <plugin>
|
376 | 367 | <artifactId>maven-project-info-reports-plugin</artifactId>
|
|
434 | 425 | <reportSets>
|
435 | 426 | <reportSet>
|
436 | 427 | <reports>
|
437 |
| - <report>javadoc</report> |
| 428 | + <report>javadoc-no-fork</report> |
438 | 429 | </reports>
|
439 | 430 | </reportSet>
|
440 | 431 | </reportSets>
|
|
460 | 451 | </reportSet>
|
461 | 452 | </reportSets>
|
462 | 453 | </plugin>
|
463 |
| - <plugin> |
464 |
| - <artifactId>maven-changes-plugin</artifactId> |
465 |
| - <reportSets> |
466 |
| - <reportSet> |
467 |
| - <reports> |
468 |
| - <report>github-report</report> |
469 |
| - </reports> |
470 |
| - <configuration> |
471 |
| - <includeOpenIssues>false</includeOpenIssues> |
472 |
| - <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
473 |
| - </configuration> |
474 |
| - </reportSet> |
475 |
| - </reportSets> |
476 |
| - </plugin> |
477 |
| - <plugin> |
478 |
| - <artifactId>maven-changelog-plugin</artifactId> |
479 |
| - <configuration> |
480 |
| - <displayFileDetailUrl>${project.scm.url}/blob/master/%FILE%</displayFileDetailUrl> |
481 |
| - <displayChangeSetDetailUrl>${project.scm.url}/commit/</displayChangeSetDetailUrl> |
482 |
| - <displayFileRevDetailUrl>${project.scm.url}/blob/%REV%/%FILE%</displayFileRevDetailUrl> |
483 |
| - <range>365</range> |
484 |
| - </configuration> |
485 |
| - </plugin> |
486 | 454 | <plugin>
|
487 | 455 | <groupId>org.codehaus.mojo</groupId>
|
488 | 456 | <artifactId>versions-maven-plugin</artifactId>
|
|
0 commit comments