File tree Expand file tree Collapse file tree 1 file changed +23
-38
lines changed Expand file tree Collapse file tree 1 file changed +23
-38
lines changed Original file line number Diff line number Diff line change 151
151
</execution >
152
152
</executions >
153
153
</plugin >
154
+ <plugin >
155
+ <groupId >org.apache.maven.plugins</groupId >
156
+ <artifactId >maven-gpg-plugin</artifactId >
157
+ <executions >
158
+ <execution >
159
+ <id >sign-artifacts</id >
160
+ <phase >verify</phase >
161
+ <goals >
162
+ <goal >sign</goal >
163
+ </goals >
164
+ <configuration >
165
+ <keyname >${gpg.keyname} </keyname >
166
+ <passphraseServerId >${gpg.keyname} </passphraseServerId >
167
+ <skip >${skipSigning} </skip >
168
+ </configuration >
169
+ </execution >
170
+ </executions >
171
+ </plugin >
154
172
<plugin >
155
173
<groupId >org.sonatype.plugins</groupId >
156
174
<artifactId >nexus-staging-maven-plugin</artifactId >
166
184
<artifactId >maven-release-plugin</artifactId >
167
185
<configuration >
168
186
<autoVersionSubmodules >true</autoVersionSubmodules >
169
- <!-- <useReleaseProfile>false</useReleaseProfile> -- >
187
+ <useReleaseProfile >false</useReleaseProfile >
170
188
<releaseProfiles >release</releaseProfiles >
171
189
<goals >deploy</goals >
172
190
</configuration >
176
194
177
195
<profiles >
178
196
<profile >
179
- <id >release-sign-artifacts</id >
180
- <activation >
181
- <property >
182
- <name >performRelease</name >
183
- <value >true</value >
184
- </property >
185
- </activation >
186
- <build >
187
- <pluginManagement >
188
- <plugins >
189
- <plugin >
190
- <groupId >org.apache.maven.plugins</groupId >
191
- <artifactId >maven-release-plugin</artifactId >
192
- <version >${release-plugin.version} </version >
193
- </plugin >
194
- </plugins >
195
- </pluginManagement >
196
- <plugins >
197
- <plugin >
198
- <groupId >org.apache.maven.plugins</groupId >
199
- <artifactId >maven-gpg-plugin</artifactId >
200
- <executions >
201
- <execution >
202
- <id >sign-artifacts</id >
203
- <phase >install</phase >
204
- <goals >
205
- <goal >sign</goal >
206
- </goals >
207
- <configuration >
208
- <keyname >${gpg.keyname} </keyname >
209
- <passphraseServerId >${gpg.keyname} </passphraseServerId >
210
- </configuration >
211
- </execution >
212
- </executions >
213
- </plugin >
214
- </plugins >
215
- </build >
197
+ <id >signing</id >
198
+ <properties >
199
+ <skipSigning >false</skipSigning >
200
+ </properties >
216
201
</profile >
217
202
</profiles >
218
203
<version >1.6.0-SNAPSHOT</version >
You can’t perform that action at this time.
0 commit comments