|
50 | 50 |
|
51 | 51 | <properties> |
52 | 52 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
53 | | - <releasesUrl>http://nexus.ailis.de/content/repositories/releases/de/ailis/${project.artifactId}/${project.artifactId}</releasesUrl> |
54 | | - <snapshotsUrl>http://nexus.ailis.de/content/repositories/snapshots/de/ailis/${project.artifactId}/${project.artifactId}</snapshotsUrl> |
| 53 | + <oldRepoBaseUrl>http://nexus.ailis.de/content/repositories/releases/de/ailis/${project.artifactId}/${project.artifactId}</oldRepoBaseUrl> |
| 54 | + <repoBaseUrl>https://oss.sonatype.org/content/groups/public/de/ailis/${project.artifactId}/${project.artifactId}</repoBaseUrl> |
| 55 | + <artifactBaseUrl>${repoBaseUrl}/${project.version}/${project.artifactId}-${project.version}</artifactBaseUrl> |
55 | 56 | </properties> |
56 | 57 |
|
57 | 58 | <scm> |
|
210 | 211 | </plugins> |
211 | 212 | </build> |
212 | 213 |
|
| 214 | + <profiles> |
| 215 | + <profile> |
| 216 | + <id>release-sign-artifacts</id> |
| 217 | + <activation> |
| 218 | + <property> |
| 219 | + <name>performRelease</name> |
| 220 | + <value>true</value> |
| 221 | + </property> |
| 222 | + </activation> |
| 223 | + <build> |
| 224 | + <plugins> |
| 225 | + <plugin> |
| 226 | + <groupId>org.apache.maven.plugins</groupId> |
| 227 | + <artifactId>maven-gpg-plugin</artifactId> |
| 228 | + <executions> |
| 229 | + <execution> |
| 230 | + <id>sign-artifacts</id> |
| 231 | + <phase>verify</phase> |
| 232 | + <goals> |
| 233 | + <goal>sign</goal> |
| 234 | + </goals> |
| 235 | + </execution> |
| 236 | + </executions> |
| 237 | + </plugin> |
| 238 | + </plugins> |
| 239 | + </build> |
| 240 | + </profile> |
| 241 | + </profiles> |
| 242 | + |
213 | 243 | <repositories> |
214 | 244 | <repository> |
215 | 245 | <id>ailis-releases</id> |
|
233 | 263 | <url>file://${project.basedir}/../${project.artifactId}-site/</url> |
234 | 264 | </site> |
235 | 265 | <repository> |
236 | | - <id>ailis-releases</id> |
237 | | - <name>Ailis Maven Releases</name> |
238 | | - <url>http://nexus.ailis.de/content/repositories/releases</url> |
| 266 | + <id>sonatype-staging</id> |
| 267 | + <name>Sonatype Staging Repository</name> |
| 268 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
239 | 269 | </repository> |
240 | 270 | <snapshotRepository> |
241 | | - <id>ailis-snapshots</id> |
242 | | - <name>Ailis Maven Snapshots</name> |
243 | | - <url>http://nexus.ailis.de/content/repositories/snapshots</url> |
| 271 | + <id>sonatype-snapshots</id> |
| 272 | + <name>Sonatype Snapshot Repository</name> |
| 273 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
244 | 274 | </snapshotRepository> |
245 | 275 | </distributionManagement> |
246 | 276 |
|
|
0 commit comments