|
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.5.4-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>
|
|
118 | 118 | <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id>
|
119 | 119 | <local.staging.releases.repo.name>Local Staging Directory Releases Repository</local.staging.releases.repo.name>
|
120 | 120 | <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url>
|
121 |
| - <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id> |
122 |
| - <ossrh.snapshots.repo.name>Sonatype OSSRH Snapshots</ossrh.snapshots.repo.name> |
123 |
| - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 121 | + <central.releases.repo.id>central-releases</central.releases.repo.id> |
| 122 | + <central.releases.repo.name>Maven Central Releases Repository</central.releases.repo.name> |
| 123 | + <central.releases.repo.url>https://central.sonatype.com/api/v1/publisher/</central.releases.repo.url> |
| 124 | + <central.snapshots.repo.id>central-snapshots</central.snapshots.repo.id> |
| 125 | + <central.snapshots.repo.name>Maven Central Snapshots Repository</central.snapshots.repo.name> |
| 126 | + <central.snapshots.repo.url>https://central.sonatype.com/repository/maven-snapshots/</central.snapshots.repo.url> |
| 127 | + |
124 | 128 |
|
125 | 129 | <maven.compiler.target>11</maven.compiler.target>
|
126 | 130 | <maven.compiler.source>11</maven.compiler.source>
|
127 | 131 | <maven.min.version>3.9.7</maven.min.version>
|
128 | 132 |
|
129 | 133 | </properties>
|
130 |
| - |
| 134 | + |
131 | 135 | <dependencyManagement>
|
132 | 136 | <dependencies>
|
133 | 137 | <dependency>
|
|
246 | 250 | </dependencyManagement>
|
247 | 251 |
|
248 | 252 | <distributionManagement>
|
249 |
| - <repository> |
250 |
| - <id>${local.staging.releases.repo.id}</id> |
251 |
| - <name>${local.staging.releases.repo.name}</name> |
252 |
| - <url>${local.staging.releases.repo.url}</url> |
253 |
| - </repository> |
254 |
| - <snapshotRepository> |
255 |
| - <id>${ossrh.snapshots.repo.id}</id> |
256 |
| - <name>${ossrh.snapshots.repo.name}</name> |
257 |
| - <url>${ossrh.snapshots.repo.url}</url> |
258 |
| - </snapshotRepository> |
| 253 | + <repository> |
| 254 | + <id>${central.releases.repo.id}</id> |
| 255 | + <name>${central.releases.repo.name}</name> |
| 256 | + <url>${central.releases.repo.url}</url> |
| 257 | + </repository> |
| 258 | + <snapshotRepository> |
| 259 | + <id>${central.snapshots.repo.id}</id> |
| 260 | + <name>${central.snapshots.repo.name}</name> |
| 261 | + <url>${central.snapshots.repo.url}</url> |
| 262 | + </snapshotRepository> |
259 | 263 | </distributionManagement>
|
260 | 264 |
|
261 | 265 | <build>
|
|
333 | 337 | </plugins>
|
334 | 338 | </build>
|
335 | 339 |
|
| 340 | + <profiles> |
| 341 | + <profile> |
| 342 | + <id>release</id> |
| 343 | + <activation> |
| 344 | + <property> |
| 345 | + <name>performRelease</name> |
| 346 | + <value>true</value> |
| 347 | + </property> |
| 348 | + </activation> |
| 349 | + <build> |
| 350 | + <pluginManagement> |
| 351 | + <plugins> |
| 352 | + <plugin> |
| 353 | + <groupId>org.apache.maven.plugins</groupId> |
| 354 | + <artifactId>maven-deploy-plugin</artifactId> |
| 355 | + <configuration> |
| 356 | + <altReleaseDeploymentRepository>${local.staging.releases.repo.id}::${local.staging.releases.repo.url}</altReleaseDeploymentRepository> |
| 357 | + </configuration> |
| 358 | + </plugin> |
| 359 | + </plugins> |
| 360 | + </pluginManagement> |
| 361 | + </build> |
| 362 | + </profile> |
| 363 | + </profiles> |
336 | 364 | </project>
|
0 commit comments