You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2022/10/17 08:12:03 UTC

[incubator-nlpcraft] branch NLPCRAFT-518 updated: POM and SBT fixes.

This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-518
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-518 by this push:
     new 515df32c POM and SBT fixes.
515df32c is described below

commit 515df32cd1530ce3fed2e462fda3b77de31b8810
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Mon Oct 17 12:11:57 2022 +0400

    POM and SBT fixes.
---
 build.sbt | 29 ++++++++++++++++++++++++++++-
 pom.xml   |  2 +-
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/build.sbt b/build.sbt
index 73818b82..9e99af4f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -71,7 +71,8 @@ lazy val libs = Seq(
     "org.apache.opennlp" % "opennlp-tools" % apacheOpennlpVer,
     "org.apache.logging.log4j" % "log4j-slf4j-impl" % log4jVer,
     "org.apache.logging.log4j" % "log4j-api" % log4jVer,
-    "org.jline" % "jline-terminal" % jlineVer
+    "org.jline" % "jline-terminal" % jlineVer,
+    "org.scalatest" %% "scalatest" % "3.2.14" % "test"
 )
 
 val commonScalaDoc = Seq(
@@ -169,4 +170,30 @@ lazy val lightSwitchFrExample = (project in file("nlpcraft-examples/lightswitch-
         libraryDependencies += "org.apache.lucene" % "lucene-analyzers-common" % luceneAnalyzersCommonVer,
         libraryDependencies += "org.languagetool" % "languagetool-core" % languagetoolVer,
         libraryDependencies += "org.languagetool" % "language-fr" % languagetoolVer
+    )
+
+lazy val pizzeriaExample = (project in file("nlpcraft-examples/pizzeria"))
+    .dependsOn(nlpcraft, nlpcraftStanford)
+    .settings(
+        name := "NLPCraft Pizzeria Example",
+        version := nlpcraftVer,
+
+        // Scaladoc config.
+        Compile / doc / scalacOptions ++= commonScalaDoc,
+
+        // Dependencies.
+        libraryDependencies ++= libs
+    )
+
+lazy val calculatorExample = (project in file("nlpcraft-examples/calculator"))
+    .dependsOn(nlpcraft, nlpcraftStanford)
+    .settings(
+        name := "NLPCraft Calculator Example",
+        version := nlpcraftVer,
+
+        // Scaladoc config.
+        Compile / doc / scalacOptions ++= commonScalaDoc,
+
+        // Dependencies.
+        libraryDependencies ++= libs
     )
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index f49f66e0..dcace9c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
         <jackson.yaml.ver>2.13.4</jackson.yaml.ver>
         <apache.opennlp.ver>2.0.0</apache.opennlp.ver>
         <gson.ver>2.9.1</gson.ver>
-        <scalatest.ver>3.2.13</scalatest.ver>
+        <scalatest.ver>3.2.14</scalatest.ver>
 
         <!-- Force specific encoding on text resources. -->
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>