Skip to content

Commit 2cff4ad

Browse files
authored
Merge pull request #117 from Mastercard/cormacdalton-fix-broken-links
Update link checker and update old maven links
2 parents f4ed32a + ee19136 commit 2cff4ad

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/broken-links.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1+
name: broken links?
12
'on':
23
push:
34
branches:
45
- "**"
56
schedule:
67
- cron: 0 16 * * *
7-
workflow_dispatch:
8-
name: broken links?
8+
workflow_dispatch:
99
jobs:
1010
linkChecker:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
14+
1415
- name: Link Checker
15-
id: lc
16-
uses: peter-evans/[email protected]
16+
uses: lycheeverse/lychee-action@7cd0af4c74a61395d455af97419279d86aafaede
1717
with:
18-
args: -v -r * -x (mvnrepository)
19-
- name: Fail?
20-
run: 'exit ${{ steps.lc.outputs.exit_code }}'
18+
fail: true

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![](https://github.com/Mastercard/client-encryption-java/workflows/Build%20&%20Test/badge.svg)](https://github.com/Mastercard/client-encryption-java/actions?query=workflow%3A%22Build+%26+Test%22)
55
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-java&metric=alert_status)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-java)
66
[![](https://github.com/Mastercard/client-encryption-java/workflows/broken%20links%3F/badge.svg)](https://github.com/Mastercard/client-encryption-java/actions?query=workflow%3A%22broken+links%3F%22)
7-
[![](https://img.shields.io/maven-central/v/com.mastercard.developer/client-encryption.svg)](https://search.maven.org/artifact/com.mastercard.developer/client-encryption/)
7+
[![](https://img.shields.io/maven-central/v/com.mastercard.developer/client-encryption.svg)](https://central.sonatype.com/artifact/com.mastercard.developer/client-encryption?smo=true)
88
[![](https://www.javadoc.io/badge/com.mastercard.developer/client-encryption.svg?color=blue)](https://www.javadoc.io/doc/com.mastercard.developer/client-encryption)
99
[![](https://img.shields.io/badge/license-MIT-yellow.svg)](https://github.com/Mastercard/client-encryption-java/blob/master/LICENSE)
1010

@@ -65,17 +65,17 @@ dependencies {
6565
```
6666

6767
#### Other Dependency Managers
68-
See: https://search.maven.org/artifact/com.mastercard.developer/client-encryption
68+
See: https://search..org/artifact/com.mastercard.developer/client-encryption
6969

7070
### Selecting a JSON Engine <a name="selecting-a-json-engine"></a>
7171

7272
This library requires one of the following dependencies to be added to your classpath:
7373

74-
* [Jackson](https://search.maven.org/artifact/com.fasterxml.jackson.core/jackson-databind) 2.5.0+
75-
* [Google Gson](https://search.maven.org/artifact/com.google.code.gson/gson) 2.3.1+
76-
* [Json-smart](https://search.maven.org/artifact/net.minidev/json-smart) 2.5.2+
77-
* [Jettison](https://search.maven.org/artifact/org.codehaus.jettison/jettison) 1.0+
78-
* [Org JSON](https://search.maven.org/artifact/org.json/json) 20070829+
74+
* [Jackson](https://central.sonatype.com/artifact/com.fasterxml.jackson.core/jackson-databind?smo=true) 2.5.0+
75+
* [Google Gson](https://central.sonatype.com/artifact/com.google.code.gson/gson?smo=true) 2.3.1+
76+
* [Json-smart](https://central.sonatype.com/artifact/net.minidev/json-smart?smo=true) 2.5.2+
77+
* [Jettison](https://central.sonatype.com/artifact/org.codehaus.jettison/jettison?smo=true) 1.0+
78+
* [Org JSON](https://central.sonatype.com/artifact/org.json/json?smo=true) 20070829+
7979

8080
You can either let the library choose for you, or force the one to be used by calling `withJsonEngine` on the `JsonParser` class.
8181
Example:

0 commit comments

Comments
 (0)