|
203 | 203 | <url>https://github.com/clojure/clojurescript</url> |
204 | 204 | </scm> |
205 | 205 |
|
206 | | - <!-- |
207 | | - <parent> |
208 | | - <groupId>org.clojure</groupId> |
209 | | - <artifactId>pom.contrib</artifactId> |
210 | | - <version>1.3.0</version> |
211 | | - </parent> |
212 | | - --> |
213 | | - |
214 | | - <parent> |
215 | | - <groupId>org.sonatype.oss</groupId> |
216 | | - <artifactId>oss-parent</artifactId> |
217 | | - <version>7</version> |
218 | | - </parent> |
219 | | - |
220 | 206 | <properties> |
221 | 207 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
222 | 208 | <clojure.source.dir>src/main/clojure</clojure.source.dir> |
|
226 | 212 | <directlinking>true</directlinking> |
227 | 213 | </properties> |
228 | 214 |
|
| 215 | + <distributionManagement> |
| 216 | + <repository> |
| 217 | + <id>central</id> |
| 218 | + <url>https://central.sonatype.com</url> |
| 219 | + </repository> |
| 220 | + <snapshotRepository> |
| 221 | + <id>central-snapshot</id> |
| 222 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 223 | + </snapshotRepository> |
| 224 | + </distributionManagement> |
| 225 | + |
229 | 226 | <build> |
230 | 227 | <plugins> |
| 228 | + <plugin> |
| 229 | + <groupId>org.apache.maven.plugins</groupId> |
| 230 | + <artifactId>maven-source-plugin</artifactId> |
| 231 | + <version>3.3.1</version> |
| 232 | + </plugin> |
| 233 | + |
231 | 234 | <plugin> |
232 | 235 | <!-- Add Clojure sources to the project's source directories --> |
233 | 236 | <groupId>org.codehaus.mojo</groupId> |
234 | 237 | <artifactId>build-helper-maven-plugin</artifactId> |
235 | | - <version>1.5</version> |
| 238 | + <version>3.0.0</version> |
236 | 239 | <executions> |
237 | 240 | <execution> |
238 | 241 | <id>add-clojure-source-dirs</id> |
|
286 | 289 | </plugin> |
287 | 290 | <plugin> |
288 | 291 | <artifactId>maven-jar-plugin</artifactId> |
289 | | - <version>2.4</version> |
| 292 | + <version>2.4.2</version> |
290 | 293 | <configuration> |
291 | 294 | <archive> |
292 | 295 | <manifest> |
|
318 | 321 | </plugin> |
319 | 322 | <plugin> |
320 | 323 | <artifactId>maven-assembly-plugin</artifactId> |
321 | | - <version>2.4</version> |
| 324 | + <version>3.7.1</version> |
322 | 325 | <executions> |
323 | 326 | <execution> |
324 | 327 | <id>aot-jar</id> |
|
352 | 355 | <artifactId>maven-gpg-plugin</artifactId> |
353 | 356 | <version>3.1.0</version> |
354 | 357 | <configuration> |
355 | | - <gpgArguments> |
356 | | - <arg>--pinentry-mode</arg> |
357 | | - <arg>loopback</arg> |
358 | | - </gpgArguments> |
| 358 | + <gpgArguments> |
| 359 | + <arg>--pinentry-mode</arg> |
| 360 | + <arg>loopback</arg> |
| 361 | + </gpgArguments> |
359 | 362 | </configuration> |
360 | 363 | </plugin> |
361 | 364 | <plugin> |
362 | 365 | <groupId>org.apache.maven.plugins</groupId> |
363 | 366 | <artifactId>maven-compiler-plugin</artifactId> |
364 | | - <version>3.1</version> |
| 367 | + <version>3.8.1</version> |
365 | 368 | <configuration> |
366 | 369 | <source>21</source> |
367 | 370 | <target>21</target> |
368 | 371 | </configuration> |
369 | 372 | </plugin> |
| 373 | + |
| 374 | + <plugin> |
| 375 | + <!-- do not push pre-deployment SCM changes to upstream repo |
| 376 | + with maven release plugin; if the release/deploy fails, |
| 377 | + we're stuck with manually fixing up version numbers, git |
| 378 | + history, etc --> |
| 379 | + <groupId>org.apache.maven.plugins</groupId> |
| 380 | + <artifactId>maven-release-plugin</artifactId> |
| 381 | + <version>2.5.3</version> |
| 382 | + <configuration> |
| 383 | + </configuration> |
| 384 | + </plugin> |
| 385 | + |
| 386 | + <!-- deploy artifacts to sonatype --> |
| 387 | + <plugin> |
| 388 | + <groupId>org.sonatype.central</groupId> |
| 389 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 390 | + <version>0.7.0</version> |
| 391 | + <extensions>true</extensions> |
| 392 | + <configuration> |
| 393 | + <publishingServerId>central</publishingServerId> |
| 394 | + <autoPublish>true</autoPublish> |
| 395 | + </configuration> |
| 396 | + </plugin> |
| 397 | + |
370 | 398 | </plugins> |
371 | 399 | </build> |
372 | 400 |
|
373 | 401 | <profiles> |
374 | 402 | <profile> |
375 | | - <id>sonatype-oss-release</id> |
376 | | - <!-- This profile is enabled automatically by the Sonatype |
377 | | - oss-parent POM when invoking the Maven Release Plugin --> |
378 | | - <build> |
379 | | - <plugins> |
380 | | - <plugin> |
381 | | - <groupId>org.apache.maven.plugins</groupId> |
382 | | - <artifactId>maven-deploy-plugin</artifactId> |
383 | | - <version>2.7</version> |
384 | | - <configuration> |
385 | | - <skip>true</skip> |
386 | | - </configuration> |
387 | | - </plugin> |
388 | | - <plugin> |
389 | | - <groupId>org.sonatype.plugins</groupId> |
390 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
391 | | - <version>1.7.0</version> |
392 | | - <executions> |
393 | | - <execution> |
394 | | - <id>default-deploy</id> |
395 | | - <phase>deploy</phase> |
396 | | - <!-- By default, this is the phase deploy goal will bind to --> |
397 | | - <goals> |
398 | | - <goal>deploy</goal> |
399 | | - </goals> |
400 | | - </execution> |
401 | | - </executions> |
402 | | - <configuration> |
403 | | - <!-- The Base URL of Nexus instance where we want to stage --> |
404 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
405 | | - <!-- The server "id" element from settings to use authentication from --> |
406 | | - <serverId>sonatype-nexus-staging</serverId> |
407 | | - </configuration> |
408 | | - </plugin> |
409 | | - </plugins> |
410 | | - </build> |
| 403 | + <id>sign</id> |
| 404 | + <build> |
| 405 | + <plugins> |
| 406 | + <!-- sign artifacts for deployment --> |
| 407 | + <plugin> |
| 408 | + <groupId>org.apache.maven.plugins</groupId> |
| 409 | + <artifactId>maven-gpg-plugin</artifactId> |
| 410 | + <version>1.5</version> |
| 411 | + <executions> |
| 412 | + <execution> |
| 413 | + <id>sign-artifacts</id> |
| 414 | + <phase>verify</phase> |
| 415 | + <goals> |
| 416 | + <goal>sign</goal> |
| 417 | + </goals> |
| 418 | + </execution> |
| 419 | + </executions> |
| 420 | + </plugin> |
| 421 | + </plugins> |
| 422 | + </build> |
411 | 423 | </profile> |
412 | 424 | </profiles> |
413 | 425 | </project> |
0 commit comments