File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 232232 </plugins >
233233 </build >
234234 </profile >
235+ <!-- Deployment profile (required so these plugins are only used when deploying) -->
236+ <profile >
237+ <id >deploy</id >
238+ <build >
239+ <plugins >
240+ <!-- Source plugin -->
241+ <plugin >
242+ <groupId >org.apache.maven.plugins</groupId >
243+ <artifactId >maven-source-plugin</artifactId >
244+ <version >3.2.1</version >
245+ <executions >
246+ <execution >
247+ <id >attach-sources</id >
248+ <goals >
249+ <goal >jar-no-fork</goal >
250+ </goals >
251+ </execution >
252+ </executions >
253+ </plugin >
254+
255+ <!-- Javadoc plugin -->
256+ <plugin >
257+ <groupId >org.apache.maven.plugins</groupId >
258+ <artifactId >maven-javadoc-plugin</artifactId >
259+ <version >3.3.1</version >
260+ <executions >
261+ <execution >
262+ <id >attach-javadocs</id >
263+ <goals >
264+ <goal >jar</goal >
265+ </goals >
266+ </execution >
267+ </executions >
268+ </plugin >
269+
270+ <!-- GPG plugin -->
271+ <plugin >
272+ <groupId >org.apache.maven.plugins</groupId >
273+ <artifactId >maven-gpg-plugin</artifactId >
274+ <version >3.0.1</version >
275+ <executions >
276+ <execution >
277+ <id >sign-artifacts</id >
278+ <phase >verify</phase >
279+ <goals >
280+ <goal >sign</goal >
281+ </goals >
282+ <configuration >
283+ <!-- Prevent `gpg` from using pinentry programs -->
284+ <gpgArguments >
285+ <arg >--pinentry-mode</arg >
286+ <arg >loopback</arg >
287+ </gpgArguments >
288+ </configuration >
289+ </execution >
290+ </executions >
291+ </plugin >
292+ </plugins >
293+ </build >
294+ </profile >
235295 </profiles >
236296</project >
You can’t perform that action at this time.
0 commit comments