File tree Expand file tree Collapse file tree 2 files changed +52
-44
lines changed
Expand file tree Collapse file tree 2 files changed +52
-44
lines changed Original file line number Diff line number Diff line change 2626
2727deploy :
2828 # Deploying
29- GPG_TTY=$$(tty ) $(MVN ) clean compile deploy
29+ GPG_TTY=$$(tty ) $(MVN ) clean compile deploy -P release
Original file line number Diff line number Diff line change 208208 </plugins >
209209 </build >
210210 </profile >
211+ <profile >
212+ <id >release</id >
213+ <build >
214+ <plugins >
215+ <plugin >
216+ <groupId >org.apache.maven.plugins</groupId >
217+ <artifactId >maven-source-plugin</artifactId >
218+ <version >3.0.1</version >
219+ <executions >
220+ <execution >
221+ <id >attach-sources</id >
222+ <goals >
223+ <goal >jar-no-fork</goal >
224+ </goals >
225+ </execution >
226+ </executions >
227+ </plugin >
228+ <plugin >
229+ <groupId >org.apache.maven.plugins</groupId >
230+ <artifactId >maven-javadoc-plugin</artifactId >
231+ <version >3.0.0</version >
232+ <executions >
233+ <execution >
234+ <id >attach-javadocs</id >
235+ <goals >
236+ <goal >jar</goal >
237+ </goals >
238+ <configuration >
239+ <doclint >none</doclint >
240+ </configuration >
241+ </execution >
242+ </executions >
243+ </plugin >
244+ <plugin >
245+ <groupId >org.apache.maven.plugins</groupId >
246+ <artifactId >maven-gpg-plugin</artifactId >
247+ <version >1.6</version >
248+ <executions >
249+ <execution >
250+ <id >sign-artifacts</id >
251+ <phase >verify</phase >
252+ <goals >
253+ <goal >sign</goal >
254+ </goals >
255+ </execution >
256+ </executions >
257+ </plugin >
258+ </plugins >
259+ </build >
260+ </profile >
211261 </profiles >
262+
212263 <build >
213264 <resources >
214265 <resource >
276327 </execution >
277328 </executions >
278329 </plugin >
279- <plugin >
280- <groupId >org.apache.maven.plugins</groupId >
281- <artifactId >maven-source-plugin</artifactId >
282- <version >3.0.1</version >
283- <executions >
284- <execution >
285- <id >attach-sources</id >
286- <goals >
287- <goal >jar-no-fork</goal >
288- </goals >
289- </execution >
290- </executions >
291- </plugin >
292- <plugin >
293- <groupId >org.apache.maven.plugins</groupId >
294- <artifactId >maven-javadoc-plugin</artifactId >
295- <version >3.0.0</version >
296- <executions >
297- <execution >
298- <id >attach-javadocs</id >
299- <goals >
300- <goal >jar</goal >
301- </goals >
302- <configuration >
303- <doclint >none</doclint >
304- </configuration >
305- </execution >
306- </executions >
307- </plugin >
308- <plugin >
309- <groupId >org.apache.maven.plugins</groupId >
310- <artifactId >maven-gpg-plugin</artifactId >
311- <version >1.6</version >
312- <executions >
313- <execution >
314- <id >sign-artifacts</id >
315- <phase >verify</phase >
316- <goals >
317- <goal >sign</goal >
318- </goals >
319- </execution >
320- </executions >
321- </plugin >
322330 </plugins >
323331 </build >
324332</project >
You can’t perform that action at this time.
0 commit comments