|
47 | 47 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
48 | 48 | <maven.compiler.source>1.8</maven.compiler.source>
|
49 | 49 | <maven.compiler.target>1.8</maven.compiler.target>
|
| 50 | + <ossrh.id>sonatype-nexus-staging</ossrh.id> |
| 51 | + <ossrh.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ossrh.url> |
50 | 52 | </properties>
|
51 | 53 |
|
52 | 54 | <distributionManagement>
|
|
56 | 58 | <url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
|
57 | 59 | </snapshotRepository>
|
58 | 60 | <repository>
|
59 |
| - <id>sonatype-nexus-staging</id> |
| 61 | + <id>${ossrh.id}</id> |
60 | 62 | <name>Nexus Release Repository</name>
|
61 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 63 | + <url>${ossrh.url}</url> |
62 | 64 | </repository>
|
63 | 65 | </distributionManagement>
|
64 | 66 |
|
|
116 | 118 | <plugin>
|
117 | 119 | <groupId>org.apache.maven.plugins</groupId>
|
118 | 120 | <artifactId>maven-release-plugin</artifactId>
|
119 |
| - <configuration> |
120 |
| - <tagNameFormat>v@{project.version}</tagNameFormat> |
121 |
| - </configuration> |
122 | 121 | </plugin>
|
123 | 122 | <plugin>
|
124 | 123 | <groupId>org.apache.maven.plugins</groupId>
|
|
179 | 178 | <artifactId>maven-gpg-plugin</artifactId>
|
180 | 179 | <version>1.6</version>
|
181 | 180 | <configuration>
|
182 |
| - <keyname>B1606F22</keyname> |
| 181 | + <skip>true</skip> |
183 | 182 | </configuration>
|
| 183 | + </plugin> |
| 184 | + <plugin> |
| 185 | + <groupId>org.simplify4u.plugins</groupId> |
| 186 | + <artifactId>sign-maven-plugin</artifactId> |
| 187 | + <version>1.0.1</version> |
184 | 188 | <executions>
|
185 | 189 | <execution>
|
186 |
| - <id>sign-artifacts</id> |
187 |
| - <phase>verify</phase> |
188 | 190 | <goals>
|
189 | 191 | <goal>sign</goal>
|
190 | 192 | </goals>
|
191 | 193 | </execution>
|
192 | 194 | </executions>
|
193 | 195 | </plugin>
|
| 196 | + <plugin> |
| 197 | + <groupId>org.sonatype.plugins</groupId> |
| 198 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 199 | + <version>1.6.8</version> |
| 200 | + <configuration> |
| 201 | + <serverId>${ossrh.id}</serverId> |
| 202 | + <nexusUrl>${ossrh.url}</nexusUrl> |
| 203 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 204 | + </configuration> |
| 205 | + </plugin> |
194 | 206 | <plugin>
|
195 | 207 | <groupId>org.apache.maven.plugins</groupId>
|
196 | 208 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments