|
100 | 100 | <plugin> |
101 | 101 | <groupId>org.apache.maven.plugins</groupId> |
102 | 102 | <artifactId>maven-source-plugin</artifactId> |
103 | | - <version>2.2.1</version> |
| 103 | + <version>3.3.0</version> |
104 | 104 | <executions> |
105 | 105 | <execution> |
106 | 106 | <id>attach-sources</id> |
|
113 | 113 | <plugin> |
114 | 114 | <groupId>org.apache.maven.plugins</groupId> |
115 | 115 | <artifactId>maven-javadoc-plugin</artifactId> |
116 | | - <version>2.9.1</version> |
| 116 | + <version>3.5.0</version> |
117 | 117 | <executions> |
118 | 118 | <execution> |
119 | 119 | <id>attach-javadocs</id> |
|
185 | 185 | <version>1.1.0</version> |
186 | 186 | <configuration> |
187 | 187 | <updatePomFile>true</updatePomFile> |
188 | | - <flattenMode>resolveCiFriendliesOnly</flattenMode> |
| 188 | + <flattenMode>bom</flattenMode> |
189 | 189 | </configuration> |
190 | 190 | <executions> |
191 | 191 | <execution> |
192 | | - <id>flatten</id> |
193 | | - <phase>process-resources</phase> |
| 192 | + <id>flatten.clean</id> |
194 | 193 | <goals> |
195 | | - <goal>flatten</goal> |
| 194 | + <goal>clean</goal> |
196 | 195 | </goals> |
| 196 | + <phase>clean</phase> |
197 | 197 | </execution> |
198 | 198 | <execution> |
199 | | - <id>flatten.clean</id> |
200 | | - <phase>clean</phase> |
| 199 | + <id>flatten</id> |
201 | 200 | <goals> |
202 | | - <goal>clean</goal> |
| 201 | + <goal>flatten</goal> |
203 | 202 | </goals> |
| 203 | + <phase>process-resources</phase> |
204 | 204 | </execution> |
205 | 205 | </executions> |
206 | 206 | </plugin> |
|
211 | 211 | <id>publish-maven-central</id> |
212 | 212 | <build> |
213 | 213 | <plugins> |
| 214 | + <plugin> |
| 215 | + <groupId>org.sonatype.central</groupId> |
| 216 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 217 | + <version>0.5.0</version> |
| 218 | + <extensions>true</extensions> |
| 219 | + <configuration> |
| 220 | + <publishingServerId>central-sonatype-org</publishingServerId> |
| 221 | + <tokenAuth>true</tokenAuth> |
| 222 | + <autoPublish>true</autoPublish> |
| 223 | + <waitUntil>validated</waitUntil> |
| 224 | + </configuration> |
| 225 | + </plugin> |
214 | 226 | <plugin> |
215 | 227 | <groupId>org.apache.maven.plugins</groupId> |
216 | 228 | <artifactId>maven-gpg-plugin</artifactId> |
217 | 229 | <version>1.6</version> |
218 | 230 | <executions> |
219 | 231 | <execution> |
220 | 232 | <id>sign-artifacts</id> |
221 | | - <phase>verify</phase> |
222 | 233 | <goals> |
223 | 234 | <goal>sign</goal> |
224 | 235 | </goals> |
| 236 | + <phase>verify</phase> |
225 | 237 | <configuration> |
226 | 238 | <gpgArguments> |
227 | 239 | <arg>--pinentry-mode</arg> |
|
233 | 245 | </plugin> |
234 | 246 | </plugins> |
235 | 247 | </build> |
| 248 | + </profile> |
| 249 | + <profile> |
| 250 | + <id>publish-github-packages</id> |
236 | 251 | <distributionManagement> |
237 | | - <snapshotRepository> |
238 | | - <id>ossrh</id> |
239 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
240 | | - </snapshotRepository> |
241 | 252 | <repository> |
242 | | - <id>ossrh</id> |
243 | | - <name>Central Repository OSSRH</name> |
244 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 253 | + <id>github</id> |
| 254 | + <name>GitHub Packages</name> |
| 255 | + <url>https://maven.pkg.github.com/teragrep/jla_01</url> |
245 | 256 | </repository> |
246 | 257 | </distributionManagement> |
247 | | - </profile> |
248 | | - <profile> |
249 | | - <id>publish-github-packages</id> |
250 | 258 | <build> |
251 | 259 | <plugins> |
252 | 260 | <plugin> |
|
256 | 264 | <executions> |
257 | 265 | <execution> |
258 | 266 | <id>sign-artifacts</id> |
259 | | - <phase>verify</phase> |
260 | 267 | <goals> |
261 | 268 | <goal>sign</goal> |
262 | 269 | </goals> |
| 270 | + <phase>verify</phase> |
263 | 271 | <configuration> |
264 | 272 | <gpgArguments> |
265 | 273 | <arg>--pinentry-mode</arg> |
|
271 | 279 | </plugin> |
272 | 280 | </plugins> |
273 | 281 | </build> |
274 | | - <distributionManagement> |
275 | | - <repository> |
276 | | - <id>github</id> |
277 | | - <name>GitHub Packages</name> |
278 | | - <url>https://maven.pkg.github.com/teragrep/jla_01</url> |
279 | | - </repository> |
280 | | - </distributionManagement> |
281 | 282 | </profile> |
282 | 283 | </profiles> |
283 | 284 | </project> |
0 commit comments