File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed
Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 2020 server-id : central
2121 server-username : CENTRAL_TOKEN_USERNAME
2222 server-password : CENTRAL_TOKEN_PASSWORD
23- gpg-private-key : ${{ secrets. GPG_SIGNING_KEY }}
23+ gpg-private-key : GPG_SIGNING_KEY
2424 gpg-passphrase : GPG_SIGNING_KEY_PASSWORD
2525 - name : Build with Maven
2626 run : mvn -B package --file pom.xml
2929 env :
3030 CENTRAL_TOKEN_USERNAME : ${{ secrets.CENTRAL_TOKEN_USERNAME }}
3131 CENTRAL_TOKEN_PASSWORD : ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
32+ GPG_SIGNING_KEY : ${{ secrets.GPG_SIGNING_KEY }}
3233 GPG_SIGNING_KEY_PASSWORD : ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}
Original file line number Diff line number Diff line change 129129 <sortPom >
130130 <expandEmptyElements >false</expandEmptyElements >
131131 <sortDependencies >scope,groupId,artifactId</sortDependencies >
132- <sortPlugins >groupId,artifactId</sortPlugins >
133132 </sortPom >
134133 </pom >
135134 </configuration >
156155 <id >release</id >
157156 <build >
158157 <plugins >
159- <plugin >
160- <groupId >org.apache.maven.plugins</groupId >
161- <artifactId >maven-gpg-plugin</artifactId >
162- <version >${maven-gpg-plugin.version} </version >
163- <configuration >
164- <gpgArguments >
165- <arg >--pinentry-mode</arg >
166- <arg >loopback</arg >
167- </gpgArguments >
168- </configuration >
169- <executions >
170- <execution >
171- <id >sign-artifacts</id >
172- <goals >
173- <goal >sign</goal >
174- </goals >
175- <phase >verify</phase >
176- </execution >
177- </executions >
178- </plugin >
179158 <plugin >
180159 <groupId >org.apache.maven.plugins</groupId >
181160 <artifactId >maven-javadoc-plugin</artifactId >
209188 </execution >
210189 </executions >
211190 </plugin >
191+ <plugin >
192+ <groupId >org.apache.maven.plugins</groupId >
193+ <artifactId >maven-gpg-plugin</artifactId >
194+ <version >${maven-gpg-plugin.version} </version >
195+ <configuration >
196+ <gpgArguments >
197+ <arg >--pinentry-mode</arg >
198+ <arg >loopback</arg >
199+ </gpgArguments >
200+ </configuration >
201+ <executions >
202+ <execution >
203+ <id >sign-artifacts</id >
204+ <goals >
205+ <goal >sign</goal >
206+ </goals >
207+ <phase >verify</phase >
208+ </execution >
209+ </executions >
210+ </plugin >
212211 <plugin >
213212 <groupId >org.sonatype.central</groupId >
214213 <artifactId >central-publishing-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments