This is an automated email from the ASF dual-hosted git repository.
sergeykamov 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 0a649768 Maven related issues.
0a649768 is described below
commit 0a6497687d89b028e9a32d614a1ea0db48f19a17
Author: Sergey Kamov <[email protected]>
AuthorDate: Wed Feb 22 20:13:17 2023 +0400
Maven related issues.
---
bin/MAVEN-RELEASE.md | 2 +-
.../pizzeria/components/PizzeriaModelPipeline.scala | 17 +++++++++++++++++
pom.xml | 8 ++++++++
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/bin/MAVEN-RELEASE.md b/bin/MAVEN-RELEASE.md
index cac2e7d4..0b543c48 100644
--- a/bin/MAVEN-RELEASE.md
+++ b/bin/MAVEN-RELEASE.md
@@ -88,7 +88,7 @@ The following `pom.xml` files should be updates:
## 3. Make Maven Release
- `cd <PROJECT_FOLDER>`
- - `mvn -DskipTests=true clean deploy -P 'stanford-corenlp,examples,release'`
+ - `mvn -DskipTests=true clean deploy -P 'stanford-core,examples,release'`
- Login into https://repository.apache.org
- Look at staging repositories
https://repository.apache.org/#stagingRepositories
- Find and close `nlpcraft` release, then check its state.
diff --git
a/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
b/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
index a8050d0d..77f54860 100644
---
a/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
+++
b/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.nlpcraft.examples.pizzeria.components
import edu.stanford.nlp.pipeline.StanfordCoreNLP
diff --git a/pom.xml b/pom.xml
index 984a4ca0..f129afbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -411,6 +411,11 @@
<excludes>
<exclude>.gitignore</exclude>
<exclude>build</exclude>
+ <exclude>project/build.properties</exclude>
+ <exclude>project/plugins.sbt</exclude>
+
<exclude>project/target/scala-2.12/sbt-1.0/**/*</exclude>
+
<exclude>project/target/config-classes/**/*</exclude>
+
<exclude>project/project/target/config-classes/**/*</exclude>
<exclude>.idea/**/*</exclude>
<exclude>scaladoc/**/*</exclude>
<exclude>.git/**/*</exclude>
@@ -419,7 +424,10 @@
<exclude>**/*.txt</exclude>
<exclude>idea/**/*</exclude>
<exclude>zips/**/*</exclude>
+ <exclude>project/target/streams/**/*</exclude>
+
<exclude>project/target/config-classes/**/*</exclude>
<exclude>src/main/resources/moby/*</exclude>
+
<exclude>src/main/scala/org/apache/nlpcraft/internal/intent/compiler/antlr4/*</exclude>
<exclude>src/main/scala/org/apache/nlpcraft/internal/makro/antlr4/*</exclude>
<exclude>DISCLAIMER-WIP</exclude>
</excludes>