This is an automated email from the ASF dual-hosted git repository. ifropc pushed a commit to branch NLPCRAFT-91 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit fbe6a5f6f09ec3289ff6a921ae21582af77c5303 Author: Ifropc <[email protected]> AuthorDate: Mon Dec 21 18:55:27 2020 -0800 NLPCRAFT-91: Organize model files --- nlpcraft-examples/{ => minecraft-model}/pom.xml | 4 +-- .../org/apache/nlpcraft/example/MinecraftModel.kt | 0 .../src/main/resources/minecraft.yaml | 0 .../src/main/resources/nlpcraft.conf | 0 .../org/apache/nlpcraft/example/ExampleTest.kt | 30 ---------------------- pom.xml | 4 +-- 6 files changed, 4 insertions(+), 34 deletions(-) diff --git a/nlpcraft-examples/pom.xml b/nlpcraft-examples/minecraft-model/pom.xml similarity index 97% rename from nlpcraft-examples/pom.xml rename to nlpcraft-examples/minecraft-model/pom.xml index 97637b5..160ceb8 100644 --- a/nlpcraft-examples/pom.xml +++ b/nlpcraft-examples/minecraft-model/pom.xml @@ -21,8 +21,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <name>NLPCraft - Examples</name> - <artifactId>nlpcraft-examples</artifactId> + <name>NLPCraft example Minecraft model</name> + <artifactId>minecraft-model</artifactId> <parent> <groupId>org.apache.nlpcraft</groupId> diff --git a/nlpcraft-examples/src/main/kotlin/org/apache/nlpcraft/example/MinecraftModel.kt b/nlpcraft-examples/minecraft-model/src/main/kotlin/org/apache/nlpcraft/example/MinecraftModel.kt similarity index 100% rename from nlpcraft-examples/src/main/kotlin/org/apache/nlpcraft/example/MinecraftModel.kt rename to nlpcraft-examples/minecraft-model/src/main/kotlin/org/apache/nlpcraft/example/MinecraftModel.kt diff --git a/nlpcraft-examples/src/main/resources/minecraft.yaml b/nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml similarity index 100% rename from nlpcraft-examples/src/main/resources/minecraft.yaml rename to nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml diff --git a/nlpcraft-examples/src/main/resources/nlpcraft.conf b/nlpcraft-examples/minecraft-model/src/main/resources/nlpcraft.conf similarity index 100% rename from nlpcraft-examples/src/main/resources/nlpcraft.conf rename to nlpcraft-examples/minecraft-model/src/main/resources/nlpcraft.conf diff --git a/nlpcraft-examples/src/test/kotlin/org/apache/nlpcraft/example/ExampleTest.kt b/nlpcraft-examples/src/test/kotlin/org/apache/nlpcraft/example/ExampleTest.kt deleted file mode 100644 index e1b4271..0000000 --- a/nlpcraft-examples/src/test/kotlin/org/apache/nlpcraft/example/ExampleTest.kt +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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.example - -import org.junit.jupiter.api.Assertions -import org.junit.jupiter.api.Test - -class ExampleTest { - @Test - fun testPass() { - Assertions.assertTrue(true) - } -} - diff --git a/pom.xml b/pom.xml index 0a1eabe..b4af369 100644 --- a/pom.xml +++ b/pom.xml @@ -727,9 +727,9 @@ </profile> <profile> - <id>examples</id> + <id>example-minecraft</id> <modules> - <module>nlpcraft-examples</module> + <module>nlpcraft-examples/minecraft-model</module> </modules> </profile>
