Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cda6693

Browse files
jruauxbsbodden
andcommittedMay 19, 2025·
release: 1.0.0-RC.1 (#589)
* build: Removed duplicated build and profiles in modules pom.xml * ci: spotless:apply and wordlist.txt update * build: Removed jreleaser from maven * build: Fixed jreleaser config * build: Added `out` to .gitignore * build: Disable maven publishing for parent and tests * ci: wordlist.txt update * test: add -parameters to ./tests maven compiler plugin * release: 1.0.0-RC.1 --------- Co-authored-by: Brian Sam-Bodden <bsb@redis.com>
1 parent cae75fa commit cda6693

File tree

639 files changed

+12317
-9966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

639 files changed

+12317
-9966
lines changed
 

‎.github/wordlist.txt

Lines changed: 42 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,74 @@
1-
amr
21
AMR
3-
autocomplete
42
Backend
5-
codecov
63
CodeQL
74
De
8-
ec
9-
embeddings
5+
EC
106
EntityStreams
117
Entra
12-
entraid
138
ExampleMatcher
149
FetchableFluentQuery
15-
formatter
16-
github
17-
gradle
10+
GPG
11+
GitHub
1812
Gradle
19-
http
20-
https
13+
HTTP
14+
HTTPS
15+
JReleaser
16+
Javadoc
2117
Jedis
22-
javax
23-
js
24-
json
2518
JSON
2619
KNR
2720
Kolevska's
2821
Lexicographically
2922
Lio
30-
localhost
31-
metamodel
3223
QBE
3324
QL
34-
rds
35-
redis
3625
Redis
37-
redisearch
3826
RediSearch
39-
redisjson
4027
RedisJSON
41-
redislabs
42-
Repo
4328
RESTful
44-
roms
45-
runtime
4629
SDR
4730
SDRs
4831
Sortable
49-
springboot
5032
SpringBoot
5133
Todo
52-
todomvc
5334
ULID
35+
YAML
36+
amr
37+
autocomplete
38+
basedir
39+
bedrock
40+
codecov
41+
ec
42+
embeddings
43+
entraid
44+
formatter
45+
github
46+
gradle
47+
http
48+
https
49+
javax
50+
jreleaser
51+
js
52+
json
53+
localhost
54+
metamodel
55+
ollama
56+
pom
57+
rds
58+
redis
59+
redisearch
60+
redisjson
61+
redislabs
62+
repo
63+
roms
64+
runtime
65+
spotless
66+
springboot
67+
todomvc
5468
un
55-
Ver
5669
vectorizers
5770
vectorizing
71+
ver
5872
vss
59-
VSS
6073
wjso
61-
xxxxxxxx
62-
YAML
74+
xxxxxxxx

‎.github/workflows/version-and-release.yml

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,40 @@ jobs:
3232
- name: Update Maven version
3333
run: mvn versions:set -DnewVersion=${{ steps.get_version.outputs.VERSION }}
3434

35-
# Build all modules with the 'publication' profile
36-
- name: Build project
37-
run: mvn -Ppublication clean package -DskipTests
35+
# Build and deploy artifacts to local staging directory with publication profile
36+
# The flatten-maven-plugin configured in this profile removes repositories sections
37+
- name: Stage artifacts
38+
run: |
39+
mvn -Ppublication clean deploy -DskipTests -DaltDeploymentRepository=local::file:./target/staging-deploy
40+
41+
# Verify artifacts were staged correctly
42+
echo "Staged artifacts:"
43+
find target/staging-deploy -type f | grep -v "maven-metadata" | sort
44+
45+
# Show only artifacts we want to keep
46+
echo "Redis OM Spring artifacts to release:"
47+
find target/staging-deploy -path "*/redis-om-spring-parent/*" -o -path "*/redis-om-spring/*" -o -path "*/redis-om-spring-ai/*" | grep -v "maven-metadata" | sort
48+
49+
# Verify no repositories sections
50+
echo "Checking for repositories sections in POMs:"
51+
! grep -r "<repositories>" target/staging-deploy --include="*.pom" || echo "Warning: Found repositories sections in POMs"
3852
39-
# Deploy with JReleaser which handles signing and publishing to Maven Central
40-
- name: Release with JReleaser
41-
uses: jreleaser/release-action@v2
42-
with:
43-
arguments: full-release
44-
version: latest
53+
# Run JReleaser through Maven plugin to handle the release
54+
- name: Release with JReleaser Maven Plugin
55+
run: mvn -B -Prelease org.jreleaser:jreleaser-maven-plugin:full-release -Djreleaser.config.file="${GITHUB_WORKSPACE}/jreleaser.yml"
4556
env:
46-
# JReleaser project configuration
57+
# JReleaser configuration
4758
JRELEASER_PROJECT_VERSION: ${{ steps.get_version.outputs.VERSION }}
59+
JRELEASER_BRANCH: main
4860

49-
# GitHub authentication
61+
# GitHub Token (primary authentication for JReleaser)
5062
JRELEASER_GITHUB_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
5163
JRELEASER_GITHUB_USERNAME: ${{ secrets.GIT_USER }}
5264

65+
# Backward compatibility with other JReleaser variables
66+
GIT_COMMITTER_NAME: ${{ secrets.GIT_USER }}
67+
GIT_COMMITTER_EMAIL: "noreply@redis.com"
68+
5369
# GPG signing configuration
5470
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
5571
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
@@ -58,17 +74,22 @@ jobs:
5874
JRELEASER_SIGNING_ACTIVE: ALWAYS
5975

6076
# Maven Central publishing configuration
61-
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
62-
JRELEASER_MAVENCENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
77+
JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
78+
JRELEASER_NEXUS2_MAVEN_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
6379

64-
# Debug mode for more verbose output
80+
# Also provide standard Maven variables for extra compatibility
81+
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
82+
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
83+
84+
# Debug mode
6585
JRELEASER_DEBUG: true
6686

87+
# Capture JReleaser output for debugging
6788
- name: JReleaser output
6889
if: always()
6990
uses: actions/upload-artifact@v4
7091
with:
7192
name: jreleaser-output
7293
path: |
73-
out/jreleaser/trace.log
74-
out/jreleaser/output.properties
94+
target/jreleaser/trace.log
95+
target/jreleaser/output.properties

0 commit comments

Comments
 (0)