Skip to content

Commit 755978d

Browse files
committed
updates snapshots repo and renames groupId/artifactId
1 parent e400907 commit 755978d

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,23 @@ jobs:
2525
env:
2626
GH_ACTOR: ${{ secrets.GH_ACTOR }}
2727
GH_TOKEN: ${{ secrets.GH_TOKEN }}
28+
GH_SNAPSHOTS_REPO: maven-snapshots
2829
run: |
2930
# Set up a local repository branch for Maven deployment
30-
SNAPSHOT_BRANCH="maven-snapshots"
3131
git config --global user.name "github-actions"
3232
git config --global user.email "github-actions@github.com"
3333
3434
# Clone the target branch for deployment
35-
git clone --branch "$SNAPSHOT_BRANCH" "https://${GH_ACTOR}:${GH_TOKEN}@github.com/${{ github.repository }}.git" target-branch || \
36-
git clone --branch main "https://${GH_ACTOR}:${GH_TOKEN}@github.com/${{ github.repository }}.git" target-branch
35+
git clone --branch main "https://${GH_ACTOR}:${GH_TOKEN}@github.com/${GH_SNAPSHOTS_REPO}.git" target-branch
3736
3837
# Build the project and deploy to the local repo branch
39-
mvn clean deploy -DaltDeploymentRepository=snapshot-repo::default::file://$(pwd)/target-branch/repo
38+
mvn clean deploy -DaltDeploymentRepository=snapshot-repo::default::file://$(pwd)/target-branch/
4039
4140
# Push the updated snapshots to the branch
4241
cd target-branch
43-
git add repo
42+
git add -A
4443
git commit -m "Deploy new snapshots [skip ci]" || echo "No changes to commit"
45-
git push origin "$SNAPSHOT_BRANCH"
44+
git push origin
4645
4746
- name: Generate JaCoCo Badge
4847
id: jacoco

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ ZenWave Spring-Modulith events externalizer for Spring Cloud Stream
22
=====================================
33

44

5-
[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-spring-modulith-events-spring-cloud-stream.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-spring-modulith-events-spring-cloud-stream)
6-
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream?logo=GitHub)](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/releases)
7-
[![build](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/workflows/Build/badge.svg)](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/actions/workflows/build.yml)
8-
[![coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/badges/jacoco.svg)](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/actions/workflows/build.yml)
9-
[![branches coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/badges/branches.svg)](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/actions/workflows/build.yml)
10-
[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream)](https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/blob/main/LICENSE)
5+
[![Maven Central](https://img.shields.io/maven-central/v/io.zenwave360.sdk/spring-modulith-events-scs.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.zenwave360.sdk/spring-modulith-events-scs)
6+
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/spring-modulith-events-scs?logo=GitHub)](https://github.com/ZenWave360/spring-modulith-events-scs/releases)
7+
[![build](https://github.com/ZenWave360/spring-modulith-events-scs/workflows/Build/badge.svg)](https://github.com/ZenWave360/spring-modulith-events-scs/actions/workflows/build.yml)
8+
[![coverage](https://raw.githubusercontent.com/ZenWave360/spring-modulith-events-scs/badges/jacoco.svg)](https://github.com/ZenWave360/spring-modulith-events-scs/actions/workflows/build.yml)
9+
[![branches coverage](https://raw.githubusercontent.com/ZenWave360/spring-modulith-events-scs/badges/branches.svg)](https://github.com/ZenWave360/spring-modulith-events-scs/actions/workflows/build.yml)
10+
[![GitHub](https://img.shields.io/github/license/ZenWave360/spring-modulith-events-scs)](https://github.com/ZenWave360/spring-modulith-events-scs/blob/main/LICENSE)
1111

1212

1313

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<relativePath />
1111
</parent>
1212

13-
<groupId>io.zenwave360.zenwave-sdk</groupId>
14-
<artifactId>zenwave-spring-modulith-events-spring-cloud-stream</artifactId>
13+
<groupId>io.zenwave360.sdk</groupId>
14+
<artifactId>spring-modulith-events-scs</artifactId>
1515
<version>0.0.1-SNAPSHOT</version>
1616
<packaging>jar</packaging>
1717

1818
<name>${project.groupId}:${project.artifactId}</name>
1919
<description>ZenWave Spring-Modulith events externalizer for Spring Cloud Stream</description>
20-
<url>https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/</url>
20+
<url>https://github.com/ZenWave360/spring-modulith-events-scs/</url>
2121

2222
<licenses>
2323
<license>
@@ -42,15 +42,15 @@
4242
<url>https://repo1.maven.org/maven2/</url>
4343
</repository>
4444
<snapshotRepository>
45-
<id>github</id>
46-
<url>https://maven.pkg.github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream</url>
45+
<id>zenwave-maven-snapshots</id>
46+
<url>https://raw.githubusercontent.com/ZenWave360/maven-snapshots/refs/heads/main</url>
4747
</snapshotRepository>
4848
</distributionManagement>
4949

5050
<scm>
51-
<connection>scm:git:git://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream.git</connection>
51+
<connection>scm:git:git://github.com/ZenWave360/spring-modulith-events-scs.git</connection>
5252
<developerConnection>scm:git:git@github.com:ZenWave360/ZenWave360.git</developerConnection>
53-
<url>https://github.com/ZenWave360/zenwave-spring-modulith-events-spring-cloud-stream/</url>
53+
<url>https://github.com/ZenWave360/spring-modulith-events-scs/</url>
5454
<tag>HEAD</tag>
5555
</scm>
5656

0 commit comments

Comments
 (0)