Skip to content

Commit 97b70db

Browse files
authored
Merge change from master (#190)
1 parent de77079 commit 97b70db

File tree

4 files changed

+21
-18
lines changed

4 files changed

+21
-18
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88

99
if: github.actor == github.event.repository.owner.login
1010

11+
env:
12+
MAVEN_REPO_USERNAME: ${{ secrets.nexus_username }}
13+
MAVEN_REPO_PASSWORD: ${{ secrets.nexus_password }}
1114
steps:
1215
- uses: actions/checkout@v2
1316
with:

.github/workflows/snapshot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: "!contains(github.event.head_commit.message, '[maven-release-plugin] prepare')"
1313

14+
env:
15+
MAVEN_REPO_USERNAME: ${{ secrets.nexus_username }}
16+
MAVEN_REPO_PASSWORD: ${{ secrets.nexus_password }}
1417
steps:
1518
- uses: actions/checkout@v2
1619
- name: Set up JDK 1.8

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# rsql-jpa-specification
22

3-
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/io.github.perplexhub/rsql?label=Release&logo=Release&server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/#nexus-search;gav~io.github.perplexhub~rsql*)
4-
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/io.github.perplexhub/rsql?label=Snapshot&logo=Snapshot&server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/#nexus-search;gav~io.github.perplexhub~rsql~~~)
5-
6-
[![Release Workflow Status](https://img.shields.io/github/workflow/status/perplexhub/rsql-jpa-specification/Maven%20Release?label=Release&logo=Release)](https://github.com/perplexhub/rsql-jpa-specification/actions?query=workflow%3A%22Maven+Release%22)
7-
[![Snapshot Workflow Status](https://img.shields.io/github/workflow/status/perplexhub/rsql-jpa-specification/Java%20CI?label=Snapshot&logo=Snapshot)](https://github.com/perplexhub/rsql-jpa-specification/actions?query=workflow%3A%22Java+CI%22)
8-
[![PR Workflow Status](https://img.shields.io/github/workflow/status/perplexhub/rsql-jpa-specification/Java%20Pull%20Request%20CI?label=Pull+Request&logo=PR)](https://github.com/perplexhub/rsql-jpa-specification/actions?query=workflow%3A%22Java+Pull+Request+CI%22)
3+
[![Maven Central (Releases)](https://img.shields.io/maven-central/v/io.github.perplexhub/rsql)](https://central.sonatype.com/search?q=io.github.perplexhub+rsql)
4+
[![Release Workflow Status](https://img.shields.io/github/actions/workflow/status/perplexhub/rsql-jpa-specification/release.yml?label=Release&style=plastic)](https://github.com/perplexhub/rsql-jpa-specification/actions/workflows/release.yml)
5+
[![Snapshot Workflow Status](https://img.shields.io/github/actions/workflow/status/perplexhub/rsql-jpa-specification/snapshot.yml?label=Snapshot&style=plastic)](https://github.com/perplexhub/rsql-jpa-specification/actions/workflows/snapshot.yml)
6+
[![PR Workflow Status](https://img.shields.io/github/actions/workflow/status/perplexhub/rsql-jpa-specification/pull_request.yml?label=Pull%20Request&style=plastic)](https://github.com/perplexhub/rsql-jpa-specification/actions/workflows/pull_request.yml)
97

108
Translate RSQL query into org.springframework.data.jpa.domain.Specification or com.querydsl.core.types.Predicate and support entities association query.
119

@@ -15,11 +13,11 @@ Translate RSQL query into org.springframework.data.jpa.domain.Specification or c
1513

1614
## Maven Repository
1715

18-
<https://oss.sonatype.org/#nexus-search;gav~io.github.perplexhub~rsql*>
16+
<https://central.sonatype.com/search?q=io.github.perplexhub+rsql>
1917

2018
## Add rsql-jpa-spring-boot-starter for RSQL to Spring JPA translation
2119

22-
### Maven dependency for rsql-jpa-spring-boot-starter [![](https://img.shields.io/nexus/r/io.github.perplexhub/rsql-jpa-spring-boot-starter?color=black&label=%20&server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/#nexus-search;gav~io.github.perplexhub~rsql-jpa-spring-boot-starter*)
20+
### Maven dependency for rsql-jpa-spring-boot-starter [![](https://img.shields.io/maven-central/v/io.github.perplexhub/rsql-jpa-spring-boot-starter?label=%20&color=black)](https://central.sonatype.com/artifact/io.github.perplexhub/rsql-jpa-spring-boot-starter/versions)
2321

2422
```xml
2523
<dependency>
@@ -45,7 +43,7 @@ public interface UserRepository extends JpaRepository<User, String>, JpaSpecific
4543

4644
## Add rsql-querydsl-spring-boot-starter for RSQL to Spring JPA and QueryDSL translation
4745

48-
### Maven dependency for rsql-querydsl-spring-boot-starter [![](https://img.shields.io/nexus/r/io.github.perplexhub/rsql-querydsl-spring-boot-starter?color=black&label=%20&server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/#nexus-search;gav~io.github.perplexhub~rsql-querydsl-spring-boot-starter*)
46+
### Maven dependency for rsql-querydsl-spring-boot-starter [![](https://img.shields.io/maven-central/v/io.github.perplexhub/rsql-querydsl-spring-boot-starter?label=%20&color=black)](https://central.sonatype.com/artifact/io.github.perplexhub/rsql-querydsl-spring-boot-starter/versions)
4947

5048
```xml
5149
<dependency>

pom.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,14 @@
8989
<build>
9090
<plugins>
9191
<plugin>
92-
<groupId>org.sonatype.plugins</groupId>
93-
<artifactId>nexus-staging-maven-plugin</artifactId>
94-
<version>1.6.13</version>
92+
<groupId>org.sonatype.central</groupId>
93+
<artifactId>central-publishing-maven-plugin</artifactId>
94+
<version>0.8.0</version>
9595
<extensions>true</extensions>
9696
<configuration>
97-
<serverId>ossrh</serverId>
98-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
99-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
100-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
97+
<publishingServerId>central</publishingServerId>
98+
<autoPublish>true</autoPublish>
99+
<waitUntil>validated</waitUntil>
101100
</configuration>
102101
</plugin>
103102
<plugin>
@@ -285,8 +284,8 @@
285284
</profiles>
286285
<distributionManagement>
287286
<snapshotRepository>
288-
<id>ossrh</id>
289-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
287+
<id>central</id>
288+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
290289
</snapshotRepository>
291290
</distributionManagement>
292291
</project>

0 commit comments

Comments
 (0)