This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new fc2e3ea Prep for 0.7.4 release.
fc2e3ea is described below
commit fc2e3eaf351c1d1f2151658145c8bd01cde7f5bc
Author: Aaron Radzinski <[email protected]>
AuthorDate: Mon Jan 25 15:51:11 2021 -0800
Prep for 0.7.4 release.
---
README.md | 4 ++--
docker/readme.md | 14 +++++++-------
nlpcraft-stanford/pom.xml | 2 +-
nlpcraft/pom.xml | 2 +-
.../org/apache/nlpcraft/common/version/NCVersion.scala | 3 ++-
openapi/nlpcraft_swagger.yml | 2 +-
pom.xml | 4 ++--
7 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index 18756c8..7168998 100644
--- a/README.md
+++ b/README.md
@@ -101,11 +101,11 @@ Add NLPCraft dependency to your project:
<dependency>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft</artifactId>
- <version>0.7.3</version>
+ <version>0.7.4</version>
</dependency>
</dependencies>
```
-NOTE: **0.7.3** should be the latest NLPCraft version.
+NOTE: **0.7.4** should be the latest NLPCraft version.
### Define Data Model
Declare the static part of the data model using YAML which we will later load
in our model implementation. You can declare entire
diff --git a/docker/readme.md b/docker/readme.md
index d21495b..54f5b97 100644
--- a/docker/readme.md
+++ b/docker/readme.md
@@ -28,9 +28,9 @@ also prepare your own images following the instructions below.
#### Using Server Image
1. [Install](https://docs.docker.com/install/) docker.
- 2. Pull actual NLPCraft server image: ```docker pull
nlpcraftserver/server:0.7.3```,
- where `0.7.3` is the desired version.
- 3. Run image: ```docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:0.7.3```
+ 2. Pull actual NLPCraft server image: ```docker pull
nlpcraftserver/server:0.7.4```,
+ where `0.7.4` is the desired version.
+ 3. Run image: ```docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:0.7.4```
**NOTE**:
Default docker image run REST server with default configuration (see file
`build/nlpcraft.conf`). See
[configuration](https://nlpcraft.apache.org/server-and-probe.html)
@@ -40,13 +40,13 @@ also prepare your own images following the instructions
below.
You can prepare your own NLPCraft server image following these instructions:
1. Build the release with maven: ```mvn clean package -P release```
2. Prepare docker image with `prepare.sh` (modify it if necessary):
- ```./prepare.sh docker_acct server 0.7.3```, where
- * `0.7.3` - maven build version, prepared on previous step.
+ ```./prepare.sh docker_acct server 0.7.4```, where
+ * `0.7.4` - maven build version, prepared on previous step.
* `docker_acct` - change it to your own
[DockerHub](https://hub.docker.com) account.
- Note that docker image name will be `docker_acct/server:0.7.3`
+ Note that docker image name will be `docker_acct/server:0.7.4`
3. Login to [DockerHub](https://hub.docker.com): ```docker login```
- 4. Push prepared docker image: ```docker push docker_acct/server:0.7.3```
+ 4. Push prepared docker image: ```docker push docker_acct/server:0.7.4```
5. Logout from [DockerHub](https://hub.docker.com): ```docker logout```
**NOTE**:
diff --git a/nlpcraft-stanford/pom.xml b/nlpcraft-stanford/pom.xml
index c44d738..5420701 100644
--- a/nlpcraft-stanford/pom.xml
+++ b/nlpcraft-stanford/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft-parent</artifactId>
- <version>0.7.3</version>
+ <version>0.7.4</version>
<relativePath>../</relativePath>
</parent>
diff --git a/nlpcraft/pom.xml b/nlpcraft/pom.xml
index 1897190..67c88a1 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -32,7 +32,7 @@
<parent>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft-parent</artifactId>
- <version>0.7.3</version>
+ <version>0.7.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/version/NCVersion.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/version/NCVersion.scala
index d11aa39..b0c0ab3 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/version/NCVersion.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/version/NCVersion.scala
@@ -53,7 +53,8 @@ object NCVersion extends LazyLogging {
Version("0.7.0", LocalDate.of(2020, 9, 29)),
Version("0.7.1", LocalDate.of(2020, 10, 29)),
Version("0.7.2", LocalDate.of(2020, 11, 19)),
- Version("0.7.3", LocalDate.of(2020, 12, 31))
+ Version("0.7.3", LocalDate.of(2020, 12, 31)),
+ Version("0.7.4", LocalDate.of(2021, 1, 31))
).sortBy(_.version)
// +=================================================+
// | UPDATE THIS SEQUENCE FOR EACH RELEASE MANUALLY. |
diff --git a/openapi/nlpcraft_swagger.yml b/openapi/nlpcraft_swagger.yml
index f497831..872ff19 100644
--- a/openapi/nlpcraft_swagger.yml
+++ b/openapi/nlpcraft_swagger.yml
@@ -21,7 +21,7 @@ info:
REST API for <a href="https://nlpcraft.apache.org">Apache NLPCraft</a> -
an open source library for
adding Natural Language Interface to any applications. For Data Model APIs
see
<a href="https://nlpcraft.apache.org/apis/latest/index.html">Javadoc</a>
documentation.
- version: 0.7.3
+ version: 0.7.4
title: Apache NLPCraft API
host: localhost:8081
basePath: /api/v1
diff --git a/pom.xml b/pom.xml
index 919c5c3..00a0d97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<name>NLPCraft Parent</name>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft-parent</artifactId>
- <version>0.7.3</version>
+ <version>0.7.4</version>
<packaging>pom</packaging>
<url>https://nlpcraft.apache.org</url>
@@ -67,7 +67,7 @@
<connection>scm:git:ssh://[email protected]/apache/incubator-nlpcraft.git</connection>
<developerConnection>scm:git:ssh://[email protected]/apache/incubator-nlpcraft.git</developerConnection>
<!-- Set actual tag name here -->
- <tag>v0.7.3</tag>
+ <tag>v0.7.4</tag>
</scm>
<properties>