Skip to content

Commit 4acff94

Browse files
authored
Merge pull request #188 from rosette-api/WS-2464-internal-release
WS-2464 internal release
2 parents 02e60ed + 90f18dc commit 4acff94

File tree

13 files changed

+24
-33
lines changed

13 files changed

+24
-33
lines changed

DEVELOPER.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff 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

annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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>

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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>

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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>

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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>

json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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>

model/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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>
@@ -47,7 +47,7 @@
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>

model/src/main/java/com/basistech/rosette/apimodel/Response.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.basistech.rosette.apimodel;
1818

19+
import lombok.EqualsAndHashCode;
1920
import lombok.Getter;
2021

2122
import java.util.HashMap;
@@ -26,6 +27,7 @@
2627
* In this version, they have nothing in common.
2728
*/
2829
@Getter
30+
@EqualsAndHashCode
2931
public abstract class Response {
3032
/**
3133
* @return extended information

model/src/main/java/com/basistech/rosette/apimodel/SupportedLanguage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@
2424
import lombok.Setter;
2525
import lombok.Value;
2626
import lombok.experimental.NonFinal;
27+
import lombok.extern.jackson.Jacksonized;
2728

2829
/**
2930
* Supported language/script
3031
*/
3132
@Value
3233
@Builder
34+
@Jacksonized
3335
@JacksonMixin
3436
public class SupportedLanguage {
3537
/**

model/src/main/java/com/basistech/rosette/apimodel/SupportedLanguagePair.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
import lombok.Setter;
2424
import lombok.Value;
2525
import 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
3335
public class SupportedLanguagePair {
3436
/**

0 commit comments

Comments
 (0)