Skip to content

Commit 568a610

Browse files
authored
chore: Fix release of bom/pom.xml (#876)
1 parent e85463a commit 568a610

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

dependency-bundles/bom/pom.xml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
<url>https://central.sonatype.com/api/v1/publisher/upload</url>
3333
</repository>
3434
</distributionManagement>
35+
<scm>
36+
<connection>scm:git:git://github.com/SAP/cloud-sdk-java.git</connection>
37+
<developerConnection>scm:git:ssh://github.com:SAP/cloud-sdk-java.git</developerConnection>
38+
<url>https://github.com/SAP/cloud-sdk-java/tree/main</url>
39+
</scm>
3540
<properties>
3641
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3742
<!-- do not modify the following line, it is updated by the versioning script -->
@@ -346,6 +351,20 @@
346351
<sourcepath>${project.basedir}/target/delombok</sourcepath>
347352
</configuration>
348353
</plugin>
354+
<plugin>
355+
<groupId>org.apache.maven.plugins</groupId>
356+
<artifactId>maven-gpg-plugin</artifactId>
357+
<version>3.2.7</version>
358+
<executions>
359+
<execution>
360+
<id>sign-artifacts</id>
361+
<phase>verify</phase>
362+
<goals>
363+
<goal>sign</goal>
364+
</goals>
365+
</execution>
366+
</executions>
367+
</plugin>
349368
<plugin>
350369
<groupId>org.apache.maven.plugins</groupId>
351370
<artifactId>maven-install-plugin</artifactId>
@@ -429,41 +448,29 @@
429448
<groupId>org.apache.maven.plugins</groupId>
430449
<artifactId>maven-javadoc-plugin</artifactId>
431450
</plugin>
451+
<plugin>
452+
<groupId>org.apache.maven.plugins</groupId>
453+
<artifactId>maven-gpg-plugin</artifactId>
454+
</plugin>
455+
<!-- The plugins configuration below will not be inherited by children projects, they are specific to the parent pom -->
432456
<plugin>
433457
<groupId>org.apache.maven.plugins</groupId>
434458
<artifactId>maven-install-plugin</artifactId>
435459
<executions>
436460
<execution>
437-
<phase>install</phase>
438-
<goals>
439-
<goal>install-file</goal>
440-
</goals>
441461
<configuration>
442462
<file>${project.basedir}/pom.xml</file>
443-
<groupId>com.sap.cloud.sdk</groupId>
444-
<artifactId>sdk-bom</artifactId>
445-
<version>${sdk.version}</version>
446-
<packaging>pom</packaging>
447463
<!-- The parent has no sources -->
448464
<sources>${empty.property}</sources>
449465
<javadoc>${empty.property}</javadoc>
450466
</configuration>
451467
</execution>
452468
</executions>
469+
<inherited>false</inherited>
453470
</plugin>
454471
<plugin>
455-
<groupId>org.apache.maven.plugins</groupId>
456-
<artifactId>maven-gpg-plugin</artifactId>
457-
<version>3.2.7</version>
458-
<executions>
459-
<execution>
460-
<id>sign-artifacts</id>
461-
<phase>verify</phase>
462-
<goals>
463-
<goal>sign</goal>
464-
</goals>
465-
</execution>
466-
</executions>
472+
<groupId>org.sonatype.central</groupId>
473+
<artifactId>central-publishing-maven-plugin</artifactId>
467474
</plugin>
468475
</plugins>
469476
</build>

0 commit comments

Comments
 (0)