File tree Expand file tree Collapse file tree 13 files changed +24
-33
lines changed
src/main/java/com/basistech/rosette/apimodel Expand file tree Collapse file tree 13 files changed +24
-33
lines changed Original file line number Diff line number Diff line change @@ -6,25 +6,10 @@ To be updated..
66
77#### Internal Releasing
88
9- To perform an internal release, use ` -Drelease-profile=internal-release ` in ` release:perform ` .
10-
11-
12- #### Old Stuff
13- [ Docker] ( examples/docker ) bits for running examples. Maybe just remove?
14-
15- A duplicate copy of the examples docker notes is below...
16-
17- Docker files can be found [ here] ( https://github.com/rosette-api/java/tree/master/examples/docker )
18-
19- To simplify the running of the Java examples, the Dockerfile will build an image and install the rosette-api library from the * published source* .
20-
21- Build the docker image, e.g. ` docker build --rm -t basistech/java:1.1 . `
22-
23- Run an example as ` docker run --rm -e API_KEY=api-key -v "path-to-java-dir:/source" basistech/java:1.1 `
24-
25- To test against a specific source file, add ` -e FILENAME=filename ` before the ` -v ` .
26- To test against an alternate url, add ` -e ALT_URL=alternate_url ` .
27-
28- #### TODOs
29- ...
9+ To perform an internal release, execute the following commands:
10+ ```
11+ $ mvn release:clean
12+ $ mvn release:prepare
13+ $ mvn release:perform -Drelease-profile=internal-release
14+ ```
3015
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.21.106 -SNAPSHOT</version >
22+ <version >1.21.111 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-annotations</artifactId >
2525 <name >rosette-api-annotations</name >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.21.106 -SNAPSHOT</version >
22+ <version >1.21.111 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api</artifactId >
2525 <name >rosette-api</name >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.21.106 -SNAPSHOT</version >
22+ <version >1.21.111 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-common</artifactId >
2525 <name >rosette-api-common</name >
Original file line number Diff line number Diff line change 2020 <parent >
2121 <groupId >com.basistech.rosette</groupId >
2222 <artifactId >rosette-api-java-binding</artifactId >
23- <version >1.21.106 -SNAPSHOT</version >
23+ <version >1.21.111 -SNAPSHOT</version >
2424 </parent >
2525 <groupId >com.basistech.rosette</groupId >
2626 <artifactId >rosette-api-examples</artifactId >
Original file line number Diff line number Diff line change 2020 <parent >
2121 <groupId >com.basistech.rosette</groupId >
2222 <artifactId >rosette-api-java-binding</artifactId >
23- <version >1.21.106 -SNAPSHOT</version >
23+ <version >1.21.111 -SNAPSHOT</version >
2424 </parent >
2525 <artifactId >rosette-api-json</artifactId >
2626 <name >rosette-api-json</name >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.21.106 -SNAPSHOT</version >
22+ <version >1.21.111 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-model</artifactId >
2525 <name >rosette-api-model</name >
4747 <dependency >
4848 <groupId >org.projectlombok</groupId >
4949 <artifactId >lombok</artifactId >
50- <version >1.18.20 </version >
50+ <version >1.18.22 </version >
5151 <scope >provided</scope >
5252 </dependency >
5353 <dependency >
Original file line number Diff line number Diff line change 1616
1717package com .basistech .rosette .apimodel ;
1818
19+ import lombok .EqualsAndHashCode ;
1920import lombok .Getter ;
2021
2122import java .util .HashMap ;
2627 * In this version, they have nothing in common.
2728 */
2829@ Getter
30+ @ EqualsAndHashCode
2931public abstract class Response {
3032 /**
3133 * @return extended information
Original file line number Diff line number Diff line change 2424import lombok .Setter ;
2525import lombok .Value ;
2626import lombok .experimental .NonFinal ;
27+ import lombok .extern .jackson .Jacksonized ;
2728
2829/**
2930 * Supported language/script
3031 */
3132@ Value
3233@ Builder
34+ @ Jacksonized
3335@ JacksonMixin
3436public class SupportedLanguage {
3537 /**
Original file line number Diff line number Diff line change 2323import lombok .Setter ;
2424import lombok .Value ;
2525import lombok .experimental .NonFinal ;
26+ import lombok .extern .jackson .Jacksonized ;
2627
2728/**
2829 * Supported language/script/scheme pairs
2930 */
3031@ Value
3132@ Builder
33+ @ Jacksonized
3234@ JacksonMixin
3335public class SupportedLanguagePair {
3436 /**
You can’t perform that action at this time.
0 commit comments