diff --git a/.rat-excludes b/.rat-excludes index c89575dde72..f7bad0bc287 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 31b997e9d95..eca04fe2690 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 d6456956733..bf91a1a0b63 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 ca80f76b0cf..c4276f2d54e 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 a048251edfe..19aa1264514 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 dba2e111213..c87457ddb0d 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 @@ +