Skip to content

Commit dacc78c

Browse files
committed
chore: updates for new repository
- Replace references to old repository/artifact ID with `java-sdk` - Update artifact ID and group ID to align with repository name. This ensures that a local Maven/Gradle installation will match the Maven coordinates used with jitpack. - Fix manual jar instructions to use correct location for the jar built by gradle
1 parent 9873a7e commit dacc78c

8 files changed

Lines changed: 138 additions & 138 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"changelog": [
44
"@fingerprintjs/changesets-changelog-format",
55
{
6-
"repo": "fingerprintjs/fingerprint-pro-server-api-java-sdk"
6+
"repo": "fingerprintjs/java-sdk"
77
}
88
],
99
"commit": false,

.changeset/weak-eagles-deliver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"fingerprint-pro-server-api-java-sdk": major
2+
"java-sdk": major
33
---
44

55
Migrate to Server API v4

CHANGELOG.md

Lines changed: 108 additions & 108 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
</a>
99
</p>
1010
<p align="center">
11-
<a href="https://jitpack.io/#fingerprintjs/fingerprint-pro-server-api-java-sdk"><img src="https://jitpack.io/v/fingerprintjs/fingerprint-pro-server-api-java-sdk.svg" alt="Jitpack Release" /></a>
12-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/release.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/release.yml/badge.svg" alt="CI badge" /></a>
13-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/test.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/test.yml/badge.svg" alt="CI badge" /></a>
14-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/functional.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/functional.yml/badge.svg" alt="CI badge" /></a>
11+
<a href="https://jitpack.io/#fingerprintjs/java-sdk"><img src="https://jitpack.io/v/fingerprintjs/java-sdk.svg" alt="Jitpack Release" /></a>
12+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/release.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/release.yml/badge.svg" alt="CI badge" /></a>
13+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/test.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/test.yml/badge.svg" alt="CI badge" /></a>
14+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/functional.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/functional.yml/badge.svg" alt="CI badge" /></a>
1515
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/:license-mit-blue.svg?style=flat"/></a>
1616
<a href="https://discord.gg/39EpE2neBg"><img src="https://img.shields.io/discord/852099967190433792?style=logo&label=Discord&logo=Discord&logoColor=white" alt="Discord server"></a>
1717
</p>
@@ -55,7 +55,7 @@ Add this dependency to your project's POM:
5555
```xml
5656
<dependency>
5757
<groupId>com.github.fingerprintjs</groupId>
58-
<artifactId>fingerprint-pro-server-api-java-sdk</artifactId>
58+
<artifactId>java-sdk</artifactId>
5959
<version>v7.10.0</version>
6060
</dependency>
6161
```
@@ -71,7 +71,7 @@ repositories {
7171
}
7272
7373
dependencies {
74-
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.10.0"
74+
implementation "com.github.fingerprintjs:java-sdk:v7.10.0"
7575
}
7676
```
7777

@@ -86,7 +86,7 @@ repositories {
8686
}
8787

8888
dependencies {
89-
implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.10.0")
89+
implementation("com.github.fingerprintjs:java-sdk:v7.10.0")
9090
}
9191
```
9292

@@ -100,7 +100,7 @@ At first generate the JAR by executing:
100100

101101
Then manually install the following JARs:
102102

103-
- `target/fingerprint-pro-server-api-sdk-7.10.0.jar`
103+
- `sdk/build/libs/java-sdk-7.10.0.jar`
104104

105105
## Getting Started
106106

@@ -321,10 +321,10 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
321321

322322
## Support
323323

324-
To report problems, ask questions or provide feedback, please use [Issues](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/issues).
324+
To report problems, ask questions or provide feedback, please use [Issues](https://github.com/fingerprintjs/java-sdk/issues).
325325
If you need private support, you can email us at [oss-support@fingerprint.com](mailto:oss-support@fingerprint.com).
326326

327327

328328
## License
329329

330-
This project is licensed under the [MIT License](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/blob/main/LICENSE).
330+
This project is licensed under the [MIT License](https://github.com/fingerprintjs/java-sdk/blob/main/LICENSE).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fingerprint-pro-server-api-java-sdk",
2+
"name": "java-sdk",
33
"version": "7.10.0",
44
"private": true,
55
"devDependencies": {

sdk/sdk.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
val projectVersion: String by project
22

3-
group = "com.fingerprint"
3+
group = "com.github.fingerprintjs"
44
version = projectVersion
55

66
plugins {
@@ -17,8 +17,8 @@ repositories {
1717
publishing {
1818
publications {
1919
register("localMavenJava", MavenPublication::class) {
20-
groupId = "com.fingerprint"
21-
artifactId = "fingerprint-pro-server-api-sdk"
20+
groupId = "com.github.fingerprintjs"
21+
artifactId = "java-sdk"
2222
version = projectVersion
2323
from(components["java"])
2424
}
@@ -55,7 +55,7 @@ openApiGenerate {
5555
inputSpec.set("$rootDir/res/fingerprint-server-api.yaml")
5656
outputDir.set(layout.buildDirectory.dir("generated").get().asFile.path)
5757
groupId.set("com.fingerprint")
58-
id.set("fingerprint-pro-server-api-sdk")
58+
id.set("java-sdk")
5959
version.set(projectVersion)
6060
apiPackage.set("com.fingerprint.api")
6161
modelPackage.set("com.fingerprint.model")
@@ -64,7 +64,7 @@ openApiGenerate {
6464
templateDir.set("$rootDir/template")
6565

6666
gitHost.set("github.com")
67-
gitRepoId.set("fingerprint-pro-server-api-java-sdk")
67+
gitRepoId.set("java-sdk")
6868
gitUserId.set("fingerprintjs")
6969
configOptions.put("hideGenerationTimestamp", "true")
7070
configOptions.put("openApiNullable", "false")
@@ -128,5 +128,5 @@ tasks.test {
128128
}
129129

130130
tasks.jar {
131-
archiveBaseName = "fingerprint-pro-server-api-sdk"
131+
archiveBaseName = "java-sdk"
132132
}

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = "fingerprint-pro-server-api-sdk"
1+
rootProject.name = "java-sdk"
22
include("sdk")
33
include("examples")
44

template/README.mustache

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
</a>
99
</p>
1010
<p align="center">
11-
<a href="https://jitpack.io/#fingerprintjs/fingerprint-pro-server-api-java-sdk"><img src="https://jitpack.io/v/fingerprintjs/fingerprint-pro-server-api-java-sdk.svg" alt="Jitpack Release" /></a>
12-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/release.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/release.yml/badge.svg" alt="CI badge" /></a>
13-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/test.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/test.yml/badge.svg" alt="CI badge" /></a>
14-
<a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/functional.yml"><img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/actions/workflows/functional.yml/badge.svg" alt="CI badge" /></a>
11+
<a href="https://jitpack.io/#fingerprintjs/java-sdk"><img src="https://jitpack.io/v/fingerprintjs/java-sdk.svg" alt="Jitpack Release" /></a>
12+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/release.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/release.yml/badge.svg" alt="CI badge" /></a>
13+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/test.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/test.yml/badge.svg" alt="CI badge" /></a>
14+
<a href="https://github.com/fingerprintjs/java-sdk/actions/workflows/functional.yml"><img src="https://github.com/fingerprintjs/java-sdk/actions/workflows/functional.yml/badge.svg" alt="CI badge" /></a>
1515
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/:license-mit-blue.svg?style=flat"/></a>
1616
<a href="https://discord.gg/39EpE2neBg"><img src="https://img.shields.io/discord/852099967190433792?style=logo&label=Discord&logo=Discord&logoColor=white" alt="Discord server"></a>
1717
</p>
@@ -55,7 +55,7 @@ Add this dependency to your project's POM:
5555
```xml
5656
<dependency>
5757
<groupId>com.github.fingerprintjs</groupId>
58-
<artifactId>fingerprint-pro-server-api-java-sdk</artifactId>
58+
<artifactId>java-sdk</artifactId>
5959
<version>v{{{artifactVersion}}}</version>
6060
</dependency>
6161
```
@@ -71,7 +71,7 @@ repositories {
7171
}
7272

7373
dependencies {
74-
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}"
74+
implementation "com.github.fingerprintjs:java-sdk:v{{{artifactVersion}}}"
7575
}
7676
```
7777

@@ -86,7 +86,7 @@ repositories {
8686
}
8787

8888
dependencies {
89-
implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}")
89+
implementation("com.github.fingerprintjs:java-sdk:v{{{artifactVersion}}}")
9090
}
9191
```
9292

@@ -100,7 +100,7 @@ At first generate the JAR by executing:
100100

101101
Then manually install the following JARs:
102102

103-
- `target/{{{artifactId}}}-{{{artifactVersion}}}.jar`
103+
- `sdk/build/libs/{{{artifactId}}}-{{{artifactVersion}}}.jar`
104104

105105
{{#jersey2}}
106106
## Usage
@@ -336,10 +336,10 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
336336
337337
## Support
338338
339-
To report problems, ask questions or provide feedback, please use [Issues](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/issues).
339+
To report problems, ask questions or provide feedback, please use [Issues](https://github.com/fingerprintjs/java-sdk/issues).
340340
If you need private support, you can email us at [oss-support@fingerprint.com](mailto:oss-support@fingerprint.com).
341341
342342
343343
## License
344344
345-
This project is licensed under the [MIT License](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/blob/main/LICENSE).
345+
This project is licensed under the [MIT License](https://github.com/fingerprintjs/java-sdk/blob/main/LICENSE).

0 commit comments

Comments
 (0)