File tree Expand file tree Collapse file tree 3 files changed +47
-41
lines changed
Expand file tree Collapse file tree 3 files changed +47
-41
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313
14- - name : Checkout
15- uses : actions/checkout@v2
14+ - name : Checkout
15+ uses : actions/checkout@v2
1616
17- - name : Set up Java
18- uses : actions/setup-java@v1
19- with :
20- java-version : 1.8
17+ - name : Set up Java
18+ uses : actions/setup-java@v1
19+ with :
20+ java-version : 1.8
2121
22- - name : Cache
23- uses : actions/cache@v2
24- with :
25- path : ~/.m2/repository
26- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27- restore-keys : |
28- ${{ runner.os }}-maven-
22+ - name : Cache
23+ uses : actions/cache@v2
24+ with :
25+ path : ~/.m2/repository
26+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+ restore-keys : |
28+ ${{ runner.os }}-maven-
2929
30- - name : Build
31- run : mvn -B clean package --file pom.xml
30+ - name : Build
31+ run : mvn -B clean package --file pom.xml
Original file line number Diff line number Diff line change 55 types : [created]
66
77jobs :
8- deploy :
8+ publish :
99 runs-on : ubuntu-latest
1010 steps :
1111
12- - name : Checkout
13- uses : actions/checkout@v2
12+ - name : Checkout
13+ uses : actions/checkout@v2
1414
15- - name : Set up Java
16- uses : actions/setup-java@v1
17- with :
18- java-version : 1.8
15+ - name : Set up Java
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.8
1919 server-id : ossrh
2020 server-username : MAVEN_USERNAME
2121 server-password : MAVEN_PASSWORD
2222
23- - name : Cache
24- uses : actions/cache@v2
25- with :
26- path : ~/.m2/repository
27- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28- restore-keys : |
29- ${{ runner.os }}-maven-
30-
31- - name : Set up GPG secret key
32- run : cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
33-
34- - name : Build
35- run : mvn -B package --file pom.xml
36-
37- - name : Publish
38- run : mvn -B -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
39- env :
40- MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
41- MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
23+ - name : Cache
24+ uses : actions/cache@v2
25+ with :
26+ path : ~/.m2/repository
27+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28+ restore-keys : |
29+ ${{ runner.os }}-maven-
30+
31+ - name : Set up GPG secret key
32+ run : cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
33+
34+ - name : Build
35+ run : mvn -B package --file pom.xml
36+
37+ - name : Publish
38+ run : mvn -B -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
39+ env :
40+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
41+ MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
Original file line number Diff line number Diff line change 1+ [ ![ GitHub Workflow Status] ( https://img.shields.io/github/workflow/status/hectorbst/jsonschema2pojo-spring-data-couchbase/Build?label=Build )] ( https://github.com/HectorBst/jsonschema2pojo-spring-data-couchbase/actions?query=workflow%3ABuild )
2+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/io.github.hectorbst/jsonschema2pojo-spring-data-couchbase?label=Maven%20Central )] ( https://search.maven.org/artifact/io.github.hectorbst/jsonschema2pojo-spring-data-couchbase )
3+ [ ![ GitHub] ( https://img.shields.io/github/license/hectorbst/jsonschema2pojo-spring-data-couchbase?label=Licence )] ( LICENSE )
4+
15# jsonschema2pojo-spring-data-couchbase
26
37This project is a [ * jsonschema2pojo* ] ( https://github.com/joelittlejohn/jsonschema2pojo ) extension dedicated to
@@ -344,6 +348,8 @@ Here is an example of how the extension can be added to the jsonschema2pojo Mave
344348</plugin >
345349```
346350
351+ A more complete example is available [ here] ( example ) .
352+
347353## License
348354
349355This project is released under version 2.0 of the [ Apache License] ( https://www.apache.org/licenses/LICENSE-2.0 ) .
You can’t perform that action at this time.
0 commit comments