Skip to content

Commit f6470d3

Browse files
committed
Add sonatype profile to Spring AI BOM
1 parent 8488a32 commit f6470d3

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

spring-ai-bom/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,44 @@
13501350
</repository>
13511351
</distributionManagement>
13521352
</profile>
1353+
<profile>
1354+
<id>sonatype</id>
1355+
<properties>
1356+
<maven.test.skip>true</maven.test.skip>
1357+
</properties>
1358+
<build>
1359+
<plugins>
1360+
<plugin>
1361+
<groupId>org.apache.maven.plugins</groupId>
1362+
<artifactId>maven-gpg-plugin</artifactId>
1363+
<executions>
1364+
<execution>
1365+
<id>sign-artifacts</id>
1366+
<phase>verify</phase>
1367+
<goals>
1368+
<goal>sign</goal>
1369+
</goals>
1370+
</execution>
1371+
</executions>
1372+
<configuration>
1373+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
1374+
</configuration>
1375+
</plugin>
1376+
<plugin>
1377+
<groupId>org.sonatype.plugins</groupId>
1378+
<artifactId>nexus-staging-maven-plugin</artifactId>
1379+
<version>1.7.0</version>
1380+
<extensions>true</extensions>
1381+
<configuration>
1382+
<serverId>sonatype-new</serverId>
1383+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
1384+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
1385+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
1386+
</configuration>
1387+
</plugin>
1388+
</plugins>
1389+
</build>
1390+
</profile>
13531391
</profiles>
13541392

13551393
</project>

0 commit comments

Comments
 (0)