File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 5757 <plugin >
5858 <artifactId >maven-deploy-plugin</artifactId >
5959 </plugin >
60+
61+ <plugin >
62+ <groupId >org.apache.maven.plugins</groupId >
63+ <artifactId >maven-gpg-plugin</artifactId >
64+ </plugin >
65+
66+ <plugin >
67+ <groupId >org.sonatype.plugins</groupId >
68+ <artifactId >nexus-staging-maven-plugin</artifactId >
69+ </plugin >
6070 </plugins >
6171 </build >
6272</project >
Original file line number Diff line number Diff line change 5858 <maven-javadoc-plugin .version>3.2.0</maven-javadoc-plugin .version>
5959 <maven-deploy-plugin .version>3.0.0-M1</maven-deploy-plugin .version>
6060 <maven-install-plugin .version>3.0.0-M1</maven-install-plugin .version>
61+ <maven-gpg-plugin .version>1.5</maven-gpg-plugin .version>
62+ <nexus-staging-maven-plugin .version>1.6.7</nexus-staging-maven-plugin .version>
6163
6264 <jaybird .version>4.0.0.java8</jaybird .version>
6365 <jna .version>5.5.0</jna .version>
9698 <target >${java.version} </target >
9799 </configuration >
98100 </plugin >
101+
102+ <plugin >
103+ <groupId >org.apache.maven.plugins</groupId >
104+ <artifactId >maven-gpg-plugin</artifactId >
105+ </plugin >
106+
107+ <plugin >
108+ <groupId >org.sonatype.plugins</groupId >
109+ <artifactId >nexus-staging-maven-plugin</artifactId >
110+ </plugin >
99111 </plugins >
100112
101113 <pluginManagement >
162174 </execution >
163175 </executions >
164176 </plugin >
177+
178+ <plugin >
179+ <groupId >org.apache.maven.plugins</groupId >
180+ <artifactId >maven-gpg-plugin</artifactId >
181+ <version >${maven-gpg-plugin.version} </version >
182+ <executions >
183+ <execution >
184+ <id >sign-artifacts</id >
185+ <phase >verify</phase >
186+ <goals >
187+ <goal >sign</goal >
188+ </goals >
189+ <configuration >
190+ <gpgArguments >
191+ <arg >--pinentry-mode</arg >
192+ <arg >loopback</arg >
193+ </gpgArguments >
194+ </configuration >
195+ </execution >
196+ </executions >
197+ </plugin >
198+
199+ <plugin >
200+ <groupId >org.sonatype.plugins</groupId >
201+ <artifactId >nexus-staging-maven-plugin</artifactId >
202+ <version >${nexus-staging-maven-plugin.version} </version >
203+ <extensions >true</extensions >
204+ <configuration >
205+ <serverId >ossrh</serverId >
206+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
207+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
208+ </configuration >
209+ </plugin >
165210 </plugins >
166211 </pluginManagement >
167212 </build >
You can’t perform that action at this time.
0 commit comments