|
35 | 35 | </scm> |
36 | 36 |
|
37 | 37 | <distributionManagement> |
| 38 | + <snapshotRepository> |
| 39 | + <id>ossrh</id> |
| 40 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 41 | + </snapshotRepository> |
38 | 42 | <repository> |
39 | | - <id>artifact-registry</id> |
40 | | - <url>artifactregistry://europe-north1-maven.pkg.dev/kapeta-production/kapeta-maven-public</url> |
| 43 | + <id>ossrh</id> |
| 44 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
41 | 45 | </repository> |
42 | 46 | </distributionManagement> |
43 | 47 |
|
44 | | - <repositories> |
45 | | - <repository> |
46 | | - <id>artifact-registry</id> |
47 | | - <url>artifactregistry://europe-north1-maven.pkg.dev/kapeta-production/kapeta-maven-public</url> |
48 | | - <releases> |
49 | | - <enabled>true</enabled> |
50 | | - </releases> |
51 | | - <snapshots> |
52 | | - <enabled>false</enabled> |
53 | | - </snapshots> |
54 | | - </repository> |
55 | | - </repositories> |
56 | | - |
57 | 48 | <build> |
58 | | - <extensions> |
59 | | - <extension> |
60 | | - <groupId>com.google.cloud.artifactregistry</groupId> |
61 | | - <artifactId>artifactregistry-maven-wagon</artifactId> |
62 | | - <version>2.1.0</version> |
63 | | - </extension> |
64 | | - </extensions> |
65 | 49 | <plugins> |
| 50 | + <plugin> |
| 51 | + <groupId>org.sonatype.plugins</groupId> |
| 52 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 53 | + <version>1.6.7</version> |
| 54 | + <extensions>true</extensions> |
| 55 | + <configuration> |
| 56 | + <serverId>ossrh</serverId> |
| 57 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 58 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 59 | + </configuration> |
| 60 | + </plugin> |
| 61 | + |
66 | 62 | <plugin> |
67 | 63 | <groupId>org.apache.maven.plugins</groupId> |
68 | 64 | <artifactId>maven-source-plugin</artifactId> |
69 | 65 | <executions> |
70 | 66 | <execution> |
71 | 67 | <id>attach-sources</id> |
72 | 68 | <goals> |
73 | | - <goal>jar</goal> |
| 69 | + <goal>jar-no-fork</goal> |
74 | 70 | </goals> |
75 | 71 | </execution> |
76 | 72 | </executions> |
77 | 73 | </plugin> |
| 74 | + |
78 | 75 | <plugin> |
79 | 76 | <groupId>org.apache.maven.plugins</groupId> |
80 | 77 | <artifactId>maven-javadoc-plugin</artifactId> |
|
87 | 84 | </execution> |
88 | 85 | </executions> |
89 | 86 | </plugin> |
| 87 | + |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-gpg-plugin</artifactId> |
| 91 | + <version>3.1.0</version> |
| 92 | + <configuration> |
| 93 | + <gpgArguments> |
| 94 | + <arg>--pinentry-mode</arg> |
| 95 | + <arg>loopback</arg> |
| 96 | + </gpgArguments> |
| 97 | + </configuration> |
| 98 | + <executions> |
| 99 | + <execution> |
| 100 | + <id>sign-artifacts</id> |
| 101 | + <phase>verify</phase> |
| 102 | + <goals> |
| 103 | + <goal>sign</goal> |
| 104 | + </goals> |
| 105 | + </execution> |
| 106 | + </executions> |
| 107 | + </plugin> |
90 | 108 | </plugins> |
91 | 109 | </build> |
92 | 110 |
|
|
0 commit comments