-
Notifications
You must be signed in to change notification settings - Fork 87
/
pom.xml
144 lines (132 loc) · 4.89 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<!--
Sonatype Nexus (TM) Open Source Version
Copyright (c) 2018-present Sonatype, Inc.
All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
Eclipse Foundation. All other trademarks are the property of their respective owners.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-plugins</artifactId>
<version>3.71.0-06</version>
</parent>
<artifactId>composer-parent</artifactId>
<version>0.1.6-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}-parent</name>
<inceptionYear>2018</inceptionYear>
<modules>
<module>nexus-repository-composer</module>
<module>nexus-repository-composer-it</module>
</modules>
<scm>
<developerConnection>scm:git:[email protected]:sonatype-nexus-community/nexus-repository-composer.git</developerConnection>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<nxrm-version>3.71.0-06</nxrm-version>
</properties>
<repositories>
<!-- ensure we can find the parent pom when starting from an empty local .m2 repository -->
<repository>
<id>rso-public-grid</id>
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>rso</serverId>
<nexusUrl>https://repository.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<!--
Ensure use of Java 8, as required by NXRM
-->
<requireJavaVersion>
<version>[1.8,18)</version>
</requireJavaVersion>
<!--
Require Maven 3.3.3+
-->
<requireMavenVersion>
<version>[3.3.3,)</version>
</requireMavenVersion>
<requireNoRepositories>
<allowedRepositories>rso-public-grid</allowedRepositories>
</requireNoRepositories>
</rules>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<!-- Something in the pom hierarchy overrides the default 'pushChanges == true', so we reset that here. -->
<pushChanges>true</pushChanges>
<releaseProfiles>gpg-sign</releaseProfiles>
<!--
CI build runs out of memory during release, with error like this:
Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project nexus-repository-base: Maven execution failed, exit code: '137' -> [Help 1]
TODO: Investigate increasing available memory for the CI build
-->
<arguments>-DskipTests</arguments>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>gpg-sign</id>
<!--
only sign during deploy phase
-->
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>