Skip to content

Commit ca064bf

Browse files
committed
update spring-ai-bom pom.xml for maven central publishing
1 parent fac4b03 commit ca064bf

File tree

1 file changed

+37
-38
lines changed

1 file changed

+37
-38
lines changed

spring-ai-bom/pom.xml

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,44 +1328,43 @@
13281328
</repository>
13291329
</distributionManagement>
13301330
</profile>
1331-
<profile>
1332-
<id>sonatype</id>
1333-
<properties>
1334-
<maven.test.skip>true</maven.test.skip>
1335-
</properties>
1336-
<build>
1337-
<plugins>
1338-
<plugin>
1339-
<groupId>org.apache.maven.plugins</groupId>
1340-
<artifactId>maven-gpg-plugin</artifactId>
1341-
<executions>
1342-
<execution>
1343-
<id>sign-artifacts</id>
1344-
<phase>verify</phase>
1345-
<goals>
1346-
<goal>sign</goal>
1347-
</goals>
1348-
</execution>
1349-
</executions>
1350-
<configuration>
1351-
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
1352-
</configuration>
1353-
</plugin>
1354-
<plugin>
1355-
<groupId>org.sonatype.plugins</groupId>
1356-
<artifactId>nexus-staging-maven-plugin</artifactId>
1357-
<version>1.7.0</version>
1358-
<extensions>true</extensions>
1359-
<configuration>
1360-
<serverId>sonatype-new</serverId>
1361-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
1362-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
1363-
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
1364-
</configuration>
1365-
</plugin>
1366-
</plugins>
1367-
</build>
1368-
</profile>
1331+
<profile>
1332+
<id>sonatype</id>
1333+
<properties>
1334+
<maven.test.skip>true</maven.test.skip>
1335+
</properties>
1336+
<build>
1337+
<plugins>
1338+
<plugin>
1339+
<groupId>org.sonatype.central</groupId>
1340+
<artifactId>central-publishing-maven-plugin</artifactId>
1341+
<version>0.8.0</version>
1342+
<extensions>true</extensions>
1343+
<configuration>
1344+
<publishingServerId>central</publishingServerId>
1345+
<autoPublish>true</autoPublish>
1346+
</configuration>
1347+
</plugin>
1348+
<plugin>
1349+
<groupId>org.apache.maven.plugins</groupId>
1350+
<artifactId>maven-gpg-plugin</artifactId>
1351+
<version>3.2.5</version>
1352+
<executions>
1353+
<execution>
1354+
<id>sign-artifacts</id>
1355+
<phase>verify</phase>
1356+
<goals>
1357+
<goal>sign</goal>
1358+
</goals>
1359+
</execution>
1360+
</executions>
1361+
<configuration>
1362+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
1363+
</configuration>
1364+
</plugin>
1365+
</plugins>
1366+
</build>
1367+
</profile>
13691368
</profiles>
13701369

13711370
</project>

0 commit comments

Comments
 (0)