This commit is contained in:
jack ning
2025-08-17 14:30:41 +08:00
parent 81fdce1669
commit f4ea8f8f92
2 changed files with 33 additions and 33 deletions

View File

@@ -47,38 +47,38 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Maven settings
run: |
mkdir -p ~/.m2
cat > ~/.m2/settings.xml << EOF
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>snapshots</id>
<repositories>
<repository>
<id>central-portal-snapshots</id>
<name>Central Portal Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>snapshots</activeProfile>
</activeProfiles>
</settings>
EOF
# - name: Create Maven settings
# run: |
# mkdir -p ~/.m2
# cat > ~/.m2/settings.xml << EOF
# <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
# xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
# xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
# http://maven.apache.org/xsd/settings-1.0.0.xsd">
# <profiles>
# <profile>
# <id>snapshots</id>
# <repositories>
# <repository>
# <id>central-portal-snapshots</id>
# <name>Central Portal Snapshots</name>
# <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
# <releases>
# <enabled>false</enabled>
# </releases>
# <snapshots>
# <enabled>true</enabled>
# <updatePolicy>always</updatePolicy>
# </snapshots>
# </repository>
# </repositories>
# </profile>
# </profiles>
# <activeProfiles>
# <activeProfile>snapshots</activeProfile>
# </activeProfiles>
# </settings>
# EOF
- name: Maven build
run: |

View File

@@ -36,7 +36,7 @@
<jedis.version>6.0.0</jedis.version>
<springdoc.version>2.8.8</springdoc.version>
<spring-ai.version>1.0.1</spring-ai.version>
<spring-ai-alibaba.version>1.0.0.3-SNAPSHOT</spring-ai-alibaba.version>
<spring-ai-alibaba.version>1.0.0.3</spring-ai-alibaba.version>
<revision>0.9.2</revision>
</properties>