|
5 | 5 |
|
6 | 6 | <groupId>dev.nx</groupId>
|
7 | 7 | <artifactId>nx-parent</artifactId>
|
8 |
| - <version>0.0.1</version> |
| 8 | + <version>${revision}</version> |
9 | 9 | <packaging>pom</packaging>
|
10 | 10 |
|
11 | 11 | <name>Nx Parent</name>
|
|
35 | 35 | <url>https://github.com/nrwl/nx/tree/master</url>
|
36 | 36 | </scm>
|
37 | 37 |
|
| 38 | + |
38 | 39 | <modules>
|
39 | 40 | <module>packages/maven/maven-plugin</module>
|
40 | 41 | </modules>
|
41 | 42 |
|
42 | 43 | <properties>
|
| 44 | + <!-- Version --> |
| 45 | + <revision>0.0.1-SNAPSHOT</revision> |
| 46 | + |
| 47 | + <!-- Skip deploying parent POM --> |
| 48 | + <maven.deploy.skip>true</maven.deploy.skip> |
| 49 | + <maven.install.skip>true</maven.install.skip> |
| 50 | + <maven.gpg.skip>true</maven.gpg.skip> |
| 51 | + |
43 | 52 | <!-- Build Properties -->
|
44 | 53 | <maven.compiler.source>17</maven.compiler.source>
|
45 | 54 | <maven.compiler.target>17</maven.compiler.target>
|
|
64 | 73 | <maven.source.plugin.version>3.3.0</maven.source.plugin.version>
|
65 | 74 | <maven.javadoc.plugin.version>3.6.3</maven.javadoc.plugin.version>
|
66 | 75 | <maven.gpg.plugin.version>3.1.0</maven.gpg.plugin.version>
|
67 |
| - <nexus.staging.plugin.version>1.6.13</nexus.staging.plugin.version> |
68 | 76 | </properties>
|
69 | 77 |
|
70 | 78 | <dependencyManagement>
|
|
255 | 263 | </build>
|
256 | 264 |
|
257 | 265 | <profiles>
|
258 |
| - <!-- Release Profile --> |
| 266 | + <!-- Release Profile - plugins configured here are inherited by child modules --> |
259 | 267 | <profile>
|
260 | 268 | <id>release</id>
|
261 | 269 | <build>
|
262 |
| - <plugins> |
263 |
| - <plugin> |
264 |
| - <groupId>org.apache.maven.plugins</groupId> |
265 |
| - <artifactId>maven-source-plugin</artifactId> |
266 |
| - </plugin> |
267 |
| - <plugin> |
268 |
| - <groupId>org.apache.maven.plugins</groupId> |
269 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
270 |
| - </plugin> |
271 |
| - <plugin> |
272 |
| - <groupId>org.apache.maven.plugins</groupId> |
273 |
| - <artifactId>maven-gpg-plugin</artifactId> |
274 |
| - <version>${maven.gpg.plugin.version}</version> |
275 |
| - <executions> |
276 |
| - <execution> |
277 |
| - <id>sign-artifacts</id> |
278 |
| - <phase>verify</phase> |
279 |
| - <goals> |
280 |
| - <goal>sign</goal> |
281 |
| - </goals> |
282 |
| - </execution> |
283 |
| - </executions> |
284 |
| - </plugin> |
285 |
| - <plugin> |
286 |
| - <groupId>org.sonatype.plugins</groupId> |
287 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
288 |
| - <version>${nexus.staging.plugin.version}</version> |
289 |
| - <extensions>true</extensions> |
290 |
| - <configuration> |
291 |
| - <serverId>ossrh</serverId> |
292 |
| - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
293 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
294 |
| - </configuration> |
295 |
| - </plugin> |
296 |
| - </plugins> |
| 270 | + <pluginManagement> |
| 271 | + <plugins> |
| 272 | + <plugin> |
| 273 | + <groupId>org.apache.maven.plugins</groupId> |
| 274 | + <artifactId>maven-gpg-plugin</artifactId> |
| 275 | + <version>${maven.gpg.plugin.version}</version> |
| 276 | + <executions> |
| 277 | + <execution> |
| 278 | + <id>sign-artifacts</id> |
| 279 | + <phase>verify</phase> |
| 280 | + <goals> |
| 281 | + <goal>sign</goal> |
| 282 | + </goals> |
| 283 | + </execution> |
| 284 | + </executions> |
| 285 | + </plugin> |
| 286 | + <plugin> |
| 287 | + <groupId>org.sonatype.central</groupId> |
| 288 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 289 | + <version>0.9.0</version> |
| 290 | + <extensions>true</extensions> |
| 291 | + <configuration> |
| 292 | + <publishingServerId>central</publishingServerId> |
| 293 | + </configuration> |
| 294 | + </plugin> |
| 295 | + </plugins> |
| 296 | + </pluginManagement> |
297 | 297 | </build>
|
298 | 298 | </profile>
|
299 | 299 | </profiles>
|
|
0 commit comments