|
25 | 25 | <artifactId>jboss-parent</artifactId> |
26 | 26 | <version>49</version> |
27 | 27 | </parent> |
28 | | - |
| 28 | + |
29 | 29 | <groupId>org.hibernate.tool</groupId> |
30 | 30 | <artifactId>hibernate-tools-parent</artifactId> |
31 | 31 | <version>6.6.18-SNAPSHOT</version> |
32 | 32 |
|
33 | 33 | <packaging>pom</packaging> |
34 | | - |
| 34 | + |
35 | 35 | <name>Hibernate Tools Parent Project</name> |
36 | 36 |
|
37 | 37 | <url>http://hibernate.org/tools/</url> |
|
119 | 119 | <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id> |
120 | 120 | <local.staging.releases.repo.name>Local Staging Directory Releases Repository</local.staging.releases.repo.name> |
121 | 121 | <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url> |
122 | | - <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id> |
123 | | - <ossrh.snapshots.repo.name>Sonatype OSSRH Snapshots</ossrh.snapshots.repo.name> |
124 | | - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 122 | + <central.releases.repo.id>central-releases</central.releases.repo.id> |
| 123 | + <central.releases.repo.name>Maven Central Releases Repository</central.releases.repo.name> |
| 124 | + <central.releases.repo.url>https://central.sonatype.com/api/v1/publisher/</central.releases.repo.url> |
| 125 | + <central.snapshots.repo.id>central-snapshots</central.snapshots.repo.id> |
| 126 | + <central.snapshots.repo.name>Maven Central Snapshots Repository</central.snapshots.repo.name> |
| 127 | + <central.snapshots.repo.url>https://central.sonatype.com/repository/maven-snapshots/</central.snapshots.repo.url> |
| 128 | + |
125 | 129 |
|
126 | 130 | <maven.compiler.target>11</maven.compiler.target> |
127 | 131 | <maven.compiler.source>11</maven.compiler.source> |
128 | 132 | <maven.min.version>3.9.7</maven.min.version> |
129 | 133 |
|
130 | 134 | </properties> |
131 | | - |
| 135 | + |
132 | 136 | <dependencyManagement> |
133 | 137 | <dependencies> |
134 | 138 | <dependency> |
|
247 | 251 | </dependencyManagement> |
248 | 252 |
|
249 | 253 | <distributionManagement> |
250 | | - <repository> |
251 | | - <id>${local.staging.releases.repo.id}</id> |
252 | | - <name>${local.staging.releases.repo.name}</name> |
253 | | - <url>${local.staging.releases.repo.url}</url> |
254 | | - </repository> |
255 | | - <snapshotRepository> |
256 | | - <id>${ossrh.snapshots.repo.id}</id> |
257 | | - <name>${ossrh.snapshots.repo.name}</name> |
258 | | - <url>${ossrh.snapshots.repo.url}</url> |
259 | | - </snapshotRepository> |
| 254 | + <repository> |
| 255 | + <id>${central.releases.repo.id}</id> |
| 256 | + <name>${central.releases.repo.name}</name> |
| 257 | + <url>${central.releases.repo.url}</url> |
| 258 | + </repository> |
| 259 | + <snapshotRepository> |
| 260 | + <id>${central.snapshots.repo.id}</id> |
| 261 | + <name>${central.snapshots.repo.name}</name> |
| 262 | + <url>${central.snapshots.repo.url}</url> |
| 263 | + </snapshotRepository> |
260 | 264 | </distributionManagement> |
261 | 265 |
|
262 | 266 | <build> |
|
334 | 338 | </plugins> |
335 | 339 | </build> |
336 | 340 |
|
| 341 | + <profiles> |
| 342 | + <profile> |
| 343 | + <id>release</id> |
| 344 | + <activation> |
| 345 | + <property> |
| 346 | + <name>performRelease</name> |
| 347 | + <value>true</value> |
| 348 | + </property> |
| 349 | + </activation> |
| 350 | + <build> |
| 351 | + <pluginManagement> |
| 352 | + <plugins> |
| 353 | + <plugin> |
| 354 | + <groupId>org.apache.maven.plugins</groupId> |
| 355 | + <artifactId>maven-deploy-plugin</artifactId> |
| 356 | + <configuration> |
| 357 | + <altReleaseDeploymentRepository>${local.staging.releases.repo.id}::${local.staging.releases.repo.url}</altReleaseDeploymentRepository> |
| 358 | + </configuration> |
| 359 | + </plugin> |
| 360 | + </plugins> |
| 361 | + </pluginManagement> |
| 362 | + </build> |
| 363 | + </profile> |
| 364 | + </profiles> |
337 | 365 | </project> |
0 commit comments