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 4a94cb0  WIP.
4a94cb0 is described below

commit 4a94cb0450ce12e41b39768ca198b0718ac26400
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Mon Apr 6 15:28:24 2020 -0700

    WIP.
---
 .rat-excludes                | 30 ------------------------------
 openapi/nlpcraft_swagger.yml | 17 +++++++++++++++++
 pom.xml                      | 32 ++++++++++++++++++++++++++------
 3 files changed, 43 insertions(+), 36 deletions(-)

diff --git a/.rat-excludes b/.rat-excludes
deleted file mode 100644
index dcf71d7..0000000
--- a/.rat-excludes
+++ /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.
-#
-
-# Note: these patterns are applied to single files or directories, not full 
paths.
-
-.gitignore
-.rat-excludes
-.travis.yml
-build
-.idea
-logs
-venv
-*.iml
-.*html
-docs/*
-javadoc/*
diff --git a/openapi/nlpcraft_swagger.yml b/openapi/nlpcraft_swagger.yml
index 62c0f31..35741fd 100644
--- a/openapi/nlpcraft_swagger.yml
+++ b/openapi/nlpcraft_swagger.yml
@@ -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.
+#
+
 swagger: "2.0"
 info:
   description: REST API for [Apache NLPCraft](https://nlpcraft.apache.org) - 
an open source library for adding Natural Language Interface to any 
applications. For Data Model APIs see 
[Javadoc](https://nlpcraft.org/apis/latest/index.html) documentation.
diff --git a/pom.xml b/pom.xml
index a8fbfc9..8e711a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -805,18 +805,38 @@
                         <groupId>org.apache.rat</groupId>
                         <artifactId>apache-rat-plugin</artifactId>
                         <version>0.13</version>
+                        <configuration>
+                            <excludes>
+                                <exclude>docs/**/*</exclude>
+                                <exclude>LICENSE</exclude>
+                                <exclude>KEYS</exclude>
+                                <exclude>DISCLAIMER</exclude>
+                                <exclude>NOTICE</exclude>
+                                <exclude>.gitignore</exclude>
+                                <exclude>.travis.yml</exclude>
+                                <exclude>build</exclude>
+                                <exclude>.idea</exclude>
+                                <exclude>venv</exclude>
+                                <exclude>*.iml</exclude>
+                                <exclude>**/*.html</exclude>
+                                <exclude>**/*.txt</exclude>
+                                <exclude>**/*.json</exclude>
+                                <exclude>docs/**/*</exclude>
+                                <exclude>idea/**/*</exclude>
+                                <exclude>javadoc/**/*</exclude>
+                                <exclude>src/main/resources/moby/*</exclude>
+                                
<exclude>src/main/scala/org/apache/nlpcraft/model/intent/impl/antlr4/*</exclude>
+                                
<exclude>src/main/scala/org/apache/nlpcraft/probe/mgrs/model/antlr4/*</exclude>
+                                
<exclude>src/main/resources/opennlp/en-lemmatizer.dict</exclude>
+                            </excludes>
+                            
<numUnapprovedLicenses>1000000</numUnapprovedLicenses>
+                        </configuration>
                         <executions>
                             <execution>
                                 <phase>verify</phase>
                                 <goals>
                                     <goal>check</goal>
                                 </goals>
-                                <configuration>
-                                    <excludes>
-                                        
<excludesFile>${project.basedir}/.rat-excludes</excludesFile>
-                                    </excludes>
-                                    
<numUnapprovedLicenses>1000000</numUnapprovedLicenses>
-                                </configuration>
                             </execution>
                         </executions>
                     </plugin>

Reply via email to