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

porcelli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new fa989e50f0 [incubator-kie-issues-1616] notice file for drools is not 
correct (#6153)
fa989e50f0 is described below

commit fa989e50f0e71e2bd9d54adcb7d1781a41c27ace
Author: Toshiya Kobayashi <[email protected]>
AuthorDate: Mon Nov 18 23:53:22 2024 +0900

    [incubator-kie-issues-1616] notice file for drools is not correct (#6153)
    
    * [incubator-kie-issues-1616] notice file for drools is not correct
    
    * fix .rat-excludes
    
    * consolidate LICENSE files to single LICENSE file
    
    * fixed missing license header
    
    * fix CsvLineParser license
    
    * exclude drools-docs related licenses, because they will not be included 
in source distoribution
---
 .rat-excludes                                      |  4 +-
 NOTICE-BINARY => DISCLAIMER-BINARY                 |  6 ---
 LICENSE-Apache-2.0.txt => LICENSE                  | 44 ++++++++++++++++++++++
 NOTICE                                             | 24 +-----------
 .../decisiontable/parser/csv/CsvLineParser.java    | 18 ---------
 .../invalid_models/DMNv1_5/DMN-Invalid.dmn         | 18 +++++++++
 6 files changed, 66 insertions(+), 48 deletions(-)

diff --git a/.rat-excludes b/.rat-excludes
index c89575dde7..f7bad0bc28 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -1,6 +1,7 @@
 \.rat-excludes
 \.gitignore
 DISCLAIMER-WIP
+LICENSE-.*\.txt
 ui-bundle\.zip
 \.git-blame-ignore-revs
 dependency-reduced-pom\.xml
@@ -39,4 +40,5 @@ drl\.ftl
 goal\.txt
 adult\.txt
 antora\.yml
-.*\.iml
\ No newline at end of file
+.*\.iml
+CsvLineParser\.java
\ No newline at end of file
diff --git a/NOTICE-BINARY b/DISCLAIMER-BINARY
similarity index 85%
rename from NOTICE-BINARY
rename to DISCLAIMER-BINARY
index 31b997e9d9..eca04fe269 100644
--- a/NOTICE-BINARY
+++ b/DISCLAIMER-BINARY
@@ -26,9 +26,3 @@ 
efesto/efesto-core/efesto-common-core/src/test/resources/TestJar.jar : a compres
 
efesto/efesto-core/efesto-runtime-manager/efesto-runtime-manager-core/src/test/resources/TestJar.jar
 : a compressed JSON file for test
 
 These files are used to validate the functionality and reliability of Apache 
KIE. They are not intended for production use or distribution beyond the scope 
of testing within this project.
-
-## Disclaimer for non-compiled resources Binaries
-
-The following binaries are included in this project, but don't contain 
compiled resources.
-
-drools-docs/ui-bundle/ui-bundle.zip : antora ui-bundle resources. For example, 
js and svg. See NOTICE file
\ No newline at end of file
diff --git a/LICENSE-Apache-2.0.txt b/LICENSE
similarity index 82%
rename from LICENSE-Apache-2.0.txt
rename to LICENSE
index d645695673..bf91a1a0b6 100644
--- a/LICENSE-Apache-2.0.txt
+++ b/LICENSE
@@ -200,3 +200,47 @@
    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.
+
+------------------------------------------------------------------------------------
+for 
drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/JavaLexer.g4
+    
drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/JavaParser.g4
+
+ [The "BSD licence"]
+ Copyright (c) 2013 Terence Parr, Sam Harwell
+ Copyright (c) 2017 Ivan Kochurkin (upgrade to Java 8)
+ Copyright (c) 2021 Michał Lorek (upgrade to Java 11)
+ Copyright (c) 2022 Michał Lorek (upgrade to Java 17)
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ 
------------------------------------------------------------------------------------
+ for 
drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java
+
+ Inner logic adapted from a C++ original that was Copyright (C) 1999
+ Lucent Technologies Excerpted from 'The Practice of Programming' by Brian
+ Kernighan and Rob Pike.
+
+ Included by permission of the http://tpop.awl.com/ web site, which says:
+ "You may use this code for any purpose, as long as you leave the
+ copyright notice and book citation attached."
\ No newline at end of file
diff --git a/NOTICE b/NOTICE
index ca80f76b0c..c4276f2d54 100644
--- a/NOTICE
+++ b/NOTICE
@@ -5,27 +5,5 @@ This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
 
 The Initial Developer of some parts of the framework, which are copied from, 
derived from, or
-inspired by KIE (Knowledge Is Everthing) group, is Red Hat, Inc 
(https://www.redhat.com/).
+inspired by KIE (Knowledge Is Everything) group, is Red Hat, Inc 
(https://www.redhat.com/).
 Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved.
-
-This product also includes the following third-party components:
-
-* lunr  2.3.9
-  Downloaded from: https://lunrjs.com/
-  License: MIT
-
-* Saxon-HE
-  Downloaded from: https://www.saxonica.com/
-  License: Mozilla Public License 2.0
-
-* search-ui
-  Downloaded from: https://gitlab.com/antora/antora-lunr-extension
-  License: Mozilla Public License 2.0
-
-* antora ui-bundle
-  Downloaded from: https://github.com/stephengold/antora-ui-bundle
-  License: Mozilla Public License 2.0
-
-* JavaParser, JavaLexer
-  Downloaded from: https://github.com/antlr/grammars-v4/tree/master/java/java
-  License: BSD License
\ No newline at end of file
diff --git 
a/drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java
 
b/drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java
index a048251edf..19aa126451 100644
--- 
a/drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java
+++ 
b/drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java
@@ -1,21 +1,3 @@
-/**
- * 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.drools.decisiontable.parser.csv;
 
 import java.util.ArrayList;
diff --git 
a/kie-dmn/kie-dmn-test-resources/src/test/resources/invalid_models/DMNv1_5/DMN-Invalid.dmn
 
b/kie-dmn/kie-dmn-test-resources/src/test/resources/invalid_models/DMNv1_5/DMN-Invalid.dmn
index dba2e11121..c87457ddb0 100644
--- 
a/kie-dmn/kie-dmn-test-resources/src/test/resources/invalid_models/DMNv1_5/DMN-Invalid.dmn
+++ 
b/kie-dmn/kie-dmn-test-resources/src/test/resources/invalid_models/DMNv1_5/DMN-Invalid.dmn
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  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.
+  -->
 <definitions xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"; 
expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"; 
namespace="https://kie.org/dmn/_C41C5BB7-C6D3-44AC-AA11-8C6669A1067C"; 
id="_69D088B2-80FE-4F9B-9F30-E7AB04CBE95D" 
name="DMN_9A35369C-E843-446F-A720-2A41B827FB8D" 
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"; 
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"; 
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"; 
xmlns:kie="https://kie.org/dmn/extens [...]
   <inputData name="Person Age" id="_143F7897-5935-45CF-94FF-2A660AF9D575">
     <variable name="Person Age" id="_8F1725BA-E882-4FD8-A0A2-D79BD7BE8A3B" 
typeRef="number" />


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to