4
4
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
5
<modelVersion >4.0.0</modelVersion >
6
6
7
+ <profiles >
8
+ <profile >
9
+ <id >deploy</id >
10
+
11
+ <distributionManagement >
12
+ <snapshotRepository >
13
+ <id >ossrh</id >
14
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
15
+ </snapshotRepository >
16
+ <repository >
17
+ <id >ossrh</id >
18
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
19
+ </repository >
20
+ </distributionManagement >
21
+
22
+ <build >
23
+ <plugins >
24
+ <plugin >
25
+ <groupId >org.sonatype.plugins</groupId >
26
+ <artifactId >nexus-staging-maven-plugin</artifactId >
27
+ <version >1.6.8</version >
28
+ <extensions >true</extensions >
29
+ <configuration >
30
+ <serverId >ossrh</serverId >
31
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
32
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
33
+ </configuration >
34
+ </plugin >
35
+
36
+ <plugin >
37
+ <groupId >org.apache.maven.plugins</groupId >
38
+ <artifactId >maven-gpg-plugin</artifactId >
39
+ <version >1.6</version >
40
+ <executions >
41
+ <execution >
42
+ <id >sign-artifacts</id >
43
+ <phase >verify</phase >
44
+ <goals >
45
+ <goal >sign</goal >
46
+ </goals >
47
+ <configuration >
48
+ <gpgArguments >
49
+ <arg >--pinentry-mode</arg >
50
+ <arg >loopback</arg >
51
+ </gpgArguments >
52
+ </configuration >
53
+ </execution >
54
+ </executions >
55
+ </plugin >
56
+ </plugins >
57
+ </build >
58
+ </profile >
59
+ </profiles >
60
+
7
61
<properties >
8
62
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
9
63
</properties >
43
97
<tag >HEAD</tag >
44
98
</scm >
45
99
46
- <distributionManagement >
47
- <snapshotRepository >
48
- <id >ossrh</id >
49
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
50
- </snapshotRepository >
51
- <repository >
52
- <id >ossrh</id >
53
- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
54
- </repository >
55
- </distributionManagement >
56
-
57
100
<build >
58
101
<plugins >
59
102
<plugin >
111
154
</configuration >
112
155
</plugin >
113
156
114
- <plugin >
115
- <groupId >org.sonatype.plugins</groupId >
116
- <artifactId >nexus-staging-maven-plugin</artifactId >
117
- <version >1.6.8</version >
118
- <extensions >true</extensions >
119
- <configuration >
120
- <serverId >ossrh</serverId >
121
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
122
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
123
- </configuration >
124
- </plugin >
125
-
126
- <plugin >
127
- <groupId >org.apache.maven.plugins</groupId >
128
- <artifactId >maven-gpg-plugin</artifactId >
129
- <version >1.6</version >
130
- <executions >
131
- <execution >
132
- <id >sign-artifacts</id >
133
- <phase >verify</phase >
134
- <goals >
135
- <goal >sign</goal >
136
- </goals >
137
- <configuration >
138
- <gpgArguments >
139
- <arg >--pinentry-mode</arg >
140
- <arg >loopback</arg >
141
- </gpgArguments >
142
- </configuration >
143
- </execution >
144
- </executions >
145
- </plugin >
146
-
147
157
<!-- tests -->
148
158
<plugin >
149
159
<groupId >org.apache.maven.plugins</groupId >
174
184
</dependency >
175
185
</dependencies >
176
186
177
- </project >
187
+ </project >
0 commit comments