|
156 | 156 | </mailingList>
|
157 | 157 | </mailingLists>
|
158 | 158 |
|
159 |
| - <modules> |
160 |
| - <module>bom/public</module> |
161 |
| - <module>build/parents/relocation</module> |
162 |
| - <module>build/parents/build</module> |
163 |
| - <module>build/enforcer</module> |
164 |
| - <module>build/config</module> |
165 |
| - <module>build/parents/internal</module> |
166 |
| - <module>util/internal/test/common</module> |
167 |
| - <module>util/internal/test/orm</module> |
168 |
| - <module>build/parents/public</module> |
169 |
| - <module>util/common</module> |
170 |
| - <module>engine</module> |
171 |
| - <module>backend/lucene</module> |
172 |
| - <module>backend/elasticsearch</module> |
173 |
| - <module>backend/elasticsearch-aws</module> |
174 |
| - <module>mapper/pojo-base</module> |
175 |
| - <module>mapper/pojo-standalone</module> |
176 |
| - <module>mapper/orm</module> |
177 |
| - <module>mapper/orm-outbox-polling</module> |
178 |
| - <module>mapper/orm-coordination-outbox-polling</module> |
179 |
| - <module>mapper/orm-batch-jsr352/core</module> |
180 |
| - <module>mapper/orm-batch-jsr352/jberet</module> |
181 |
| - <module>mapper/orm-jakarta-batch/core</module> |
182 |
| - <module>mapper/orm-jakarta-batch/jberet</module> |
183 |
| - <module>v5migrationhelper/engine</module> |
184 |
| - <module>v5migrationhelper/orm</module> |
185 |
| - <module>util/internal/integrationtest</module> |
186 |
| - <module>build/parents/integrationtest</module> |
187 |
| - <module>build/parents/springtest</module> |
188 |
| - <module>integrationtest</module> |
189 |
| - <module>documentation</module> |
190 |
| - <module>lucene-next</module> |
191 |
| - </modules> |
192 |
| - |
193 | 159 | <properties>
|
194 | 160 | <!--
|
195 | 161 | Version to be used as baseline for API/SPI change reports,
|
|
270 | 236 | <version.enforcer.plugin>3.5.0</version.enforcer.plugin>
|
271 | 237 | <version.project-info.plugin>3.9.0</version.project-info.plugin>
|
272 | 238 | <version.japicmp.plugin>0.23.1</version.japicmp.plugin>
|
273 |
| - <version.nexus-staging.plugin>1.7.0</version.nexus-staging.plugin> |
274 | 239 | <version.deploy.plugin>3.1.4</version.deploy.plugin>
|
275 |
| - <version.gpg.plugin>3.2.7</version.gpg.plugin> |
276 | 240 | <version.flatten-maven-plugin>1.7.0</version.flatten-maven-plugin>
|
277 | 241 | <version.assembly.plugin>3.7.1</version.assembly.plugin>
|
278 | 242 | <version.buildhelper.plugin>3.6.0</version.buildhelper.plugin>
|
|
318 | 282 |
|
319 | 283 | <!-- Repository Deployment URLs -->
|
320 | 284 |
|
321 |
| - <ossrh.releases.repo.id>ossrh</ossrh.releases.repo.id> |
322 |
| - <ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ossrh.releases.repo.url> |
323 |
| - <ossrh.releases.repo.baseUrl>https://oss.sonatype.org/</ossrh.releases.repo.baseUrl> |
| 285 | + <!-- We always publish to a local directory, JReleaser is supposed to take care of publishing to Nexus: --> |
| 286 | + <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id> |
| 287 | + <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url> |
324 | 288 | <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id>
|
325 | 289 | <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url>
|
326 | 290 |
|
|
329 | 293 | Specific modules will override the setting at their own level.
|
330 | 294 | -->
|
331 | 295 | <deploy.skip>true</deploy.skip>
|
332 |
| - <maven-deploy-plugin.skip>true</maven-deploy-plugin.skip> |
333 | 296 |
|
334 | 297 | <!-- Can be overridden by subprojects if dependency convergence cannot be achieved -->
|
335 | 298 | <enforcer.dependencyconvergence.skip>false</enforcer.dependencyconvergence.skip>
|
|
496 | 459 | </sonar.cpd.exclusions>
|
497 | 460 | </properties>
|
498 | 461 |
|
| 462 | + <modules> |
| 463 | + <module>bom/public</module> |
| 464 | + <module>build/parents/relocation</module> |
| 465 | + <module>build/parents/build</module> |
| 466 | + <module>build/enforcer</module> |
| 467 | + <module>build/config</module> |
| 468 | + <module>build/parents/internal</module> |
| 469 | + <module>util/internal/test/common</module> |
| 470 | + <module>util/internal/test/orm</module> |
| 471 | + <module>build/parents/public</module> |
| 472 | + <module>util/common</module> |
| 473 | + <module>engine</module> |
| 474 | + <module>backend/lucene</module> |
| 475 | + <module>backend/elasticsearch</module> |
| 476 | + <module>backend/elasticsearch-aws</module> |
| 477 | + <module>mapper/pojo-base</module> |
| 478 | + <module>mapper/pojo-standalone</module> |
| 479 | + <module>mapper/orm</module> |
| 480 | + <module>mapper/orm-outbox-polling</module> |
| 481 | + <module>mapper/orm-coordination-outbox-polling</module> |
| 482 | + <module>mapper/orm-batch-jsr352/core</module> |
| 483 | + <module>mapper/orm-batch-jsr352/jberet</module> |
| 484 | + <module>mapper/orm-jakarta-batch/core</module> |
| 485 | + <module>mapper/orm-jakarta-batch/jberet</module> |
| 486 | + <module>v5migrationhelper/engine</module> |
| 487 | + <module>v5migrationhelper/orm</module> |
| 488 | + <module>util/internal/integrationtest</module> |
| 489 | + <module>build/parents/integrationtest</module> |
| 490 | + <module>build/parents/springtest</module> |
| 491 | + <module>integrationtest</module> |
| 492 | + <module>documentation</module> |
| 493 | + <module>lucene-next</module> |
| 494 | + </modules> |
| 495 | + |
499 | 496 | <build>
|
500 | 497 | <defaultGoal>install</defaultGoal>
|
501 | 498 | <pluginManagement>
|
|
555 | 552 | </executions>
|
556 | 553 | </plugin>
|
557 | 554 | <!-- We want to deploy the public BOM, so we manage this plugin in the root pom. -->
|
558 |
| - <plugin> |
559 |
| - <groupId>org.sonatype.plugins</groupId> |
560 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
561 |
| - <version>${version.nexus-staging.plugin}</version> |
562 |
| - <configuration> |
563 |
| - <skipNexusStagingDeployMojo>${deploy.skip}</skipNexusStagingDeployMojo> |
564 |
| - </configuration> |
565 |
| - </plugin> |
566 |
| - <!-- We want to disable this plugin as soon as possible, hence we manage it in the root pom. --> |
567 | 555 | <plugin>
|
568 | 556 | <groupId>org.apache.maven.plugins</groupId>
|
569 | 557 | <artifactId>maven-deploy-plugin</artifactId>
|
570 | 558 | <version>${version.deploy.plugin}</version>
|
571 |
| - </plugin> |
572 |
| - <!-- Public BOM must be also signed, so we manage this plugin in the root pom. --> |
573 |
| - <plugin> |
574 |
| - <groupId>org.apache.maven.plugins</groupId> |
575 |
| - <artifactId>maven-gpg-plugin</artifactId> |
576 |
| - <version>${version.gpg.plugin}</version> |
577 |
| - <executions> |
578 |
| - <execution> |
579 |
| - <id>sign-artifacts</id> |
580 |
| - <phase>verify</phase> |
581 |
| - <goals> |
582 |
| - <goal>sign</goal> |
583 |
| - </goals> |
584 |
| - <configuration> |
585 |
| - <skip>${deploy.skip}</skip> |
586 |
| - <homedir>${env.RELEASE_GPG_HOMEDIR}</homedir> |
587 |
| - <bestPractices>true</bestPractices> |
588 |
| - </configuration> |
589 |
| - </execution> |
590 |
| - </executions> |
| 559 | + <configuration> |
| 560 | + <skip>${deploy.skip}</skip> |
| 561 | + </configuration> |
591 | 562 | </plugin>
|
592 | 563 | <!-- Public BOM will be flattened too, so we manage this plugin in the root pom. -->
|
593 | 564 | <plugin>
|
|
1140 | 1111 | </plugins>
|
1141 | 1112 | </pluginManagement>
|
1142 | 1113 | <plugins>
|
1143 |
| - <!-- Skip the deploy plugin explicitly: we use nexus-staging-maven-plugin instead --> |
1144 |
| - <plugin> |
1145 |
| - <groupId>org.apache.maven.plugins</groupId> |
1146 |
| - <artifactId>maven-deploy-plugin</artifactId> |
1147 |
| - <configuration> |
1148 |
| - <skip>${maven-deploy-plugin.skip}</skip> |
1149 |
| - </configuration> |
1150 |
| - </plugin> |
1151 |
| - <!-- |
1152 |
| - Configure the nexus-staging-maven-plugin explicitly (without <extension>true</extension>) |
1153 |
| - in order to work around a problem in the "reports" module (see that module's POM for more info). |
1154 |
| - --> |
1155 |
| - <plugin> |
1156 |
| - <groupId>org.sonatype.plugins</groupId> |
1157 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
1158 |
| - <extensions>false</extensions><!-- This is essential: do not put true here --> |
1159 |
| - <configuration> |
1160 |
| - <serverId>${ossrh.releases.repo.id}</serverId> |
1161 |
| - <!-- The following, by default, is only used for actual releases, not for snapshot deployments --> |
1162 |
| - <nexusUrl>${ossrh.releases.repo.baseUrl}</nexusUrl> |
1163 |
| - <!-- oss.sonatype.org has been very slow when closing repositories lately; |
1164 |
| - let's raise the timeout until we switch to s01.sonatype.org --> |
1165 |
| - <stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes> |
1166 |
| - </configuration> |
1167 |
| - <executions> |
1168 |
| - <execution> |
1169 |
| - <id>default-deploy</id> |
1170 |
| - <phase>deploy</phase> |
1171 |
| - <goals> |
1172 |
| - <!-- |
1173 |
| - This will only put artifacts in a staging directory. |
1174 |
| - See the "reports" module for actual deployment, at the end of the build. |
1175 |
| - --> |
1176 |
| - <goal>deploy</goal> |
1177 |
| - </goals> |
1178 |
| - </execution> |
1179 |
| - </executions> |
1180 |
| - </plugin> |
1181 | 1114 | <plugin>
|
1182 | 1115 | <groupId>org.apache.maven.plugins</groupId>
|
1183 | 1116 | <artifactId>maven-compiler-plugin</artifactId>
|
|
1251 | 1184 |
|
1252 | 1185 | <distributionManagement>
|
1253 | 1186 | <repository>
|
1254 |
| - <id>${ossrh.releases.repo.id}</id> |
1255 |
| - <name>OSSRH Releases Repository</name> |
1256 |
| - <url>${ossrh.releases.repo.url}</url> |
| 1187 | + <id>${local.staging.releases.repo.id}</id> |
| 1188 | + <name>Local Staging Directory Releases Repository</name> |
| 1189 | + <url>${local.staging.releases.repo.url}</url> |
1257 | 1190 | </repository>
|
1258 | 1191 | <snapshotRepository>
|
1259 | 1192 | <id>${ossrh.snapshots.repo.id}</id>
|
|
1347 | 1280 | <!-- We want this execution to happen before moditect (which executes at package phase) -->
|
1348 | 1281 | <javadoc.generate.jar.phase>prepare-package</javadoc.generate.jar.phase>
|
1349 | 1282 | </properties>
|
1350 |
| - <build> |
1351 |
| - <plugins> |
1352 |
| - <plugin> |
1353 |
| - <groupId>org.apache.maven.plugins</groupId> |
1354 |
| - <artifactId>maven-gpg-plugin</artifactId> |
1355 |
| - </plugin> |
1356 |
| - </plugins> |
1357 |
| - </build> |
1358 | 1283 | </profile>
|
1359 | 1284 |
|
1360 | 1285 | <profile>
|
|
1800 | 1725 | -->
|
1801 | 1726 | <id>reproducibility-check</id>
|
1802 | 1727 | <properties>
|
1803 |
| - <maven-deploy-plugin.skip>false</maven-deploy-plugin.skip> |
1804 | 1728 | <maven.javadoc.skip>true</maven.javadoc.skip>
|
1805 | 1729 | <skipTests>true</skipTests>
|
1806 |
| - <gpg.skip>true</gpg.skip> |
1807 | 1730 | </properties>
|
1808 | 1731 | </profile>
|
1809 | 1732 |
|
|
0 commit comments