-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[10.0.x] Backport NOTICE and LISENSE refactoring and rat-excludes to 10.0.x #6167
Changes from 5 commits
6f82712
6cba6ff
9a4cbd8
35a9c57
338fd3f
794e701
bd20b3b
c8ea574
bdb880d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
name: Run Apache RAT check | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
apache-rat-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Download Apache RAT | ||
run: | | ||
curl -LO https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.16.1/apache-rat-0.16.1.jar | ||
|
||
- name: Run Apache RAT | ||
run: | | ||
java -jar apache-rat-0.16.1.jar -d . -E .rat-excludes | grep "== File:" && echo "The files listed above are missing license headers." && exit 1 || echo "All files have license headers." |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ local/ | |
!.github | ||
!.git-blame-ignore-revs | ||
!.openrewrite | ||
!.rat-excludes | ||
nbproject | ||
*.ipr | ||
*.iws | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
\.rat-excludes | ||
\.gitignore | ||
DISCLAIMER-WIP | ||
LICENSE-.*\.txt | ||
ui-bundle\.zip | ||
\.git-blame-ignore-revs | ||
dependency-reduced-pom\.xml | ||
lunr-2\.3\.9\.min\.js | ||
search-ui\.js | ||
search\.css | ||
branch\.yaml | ||
main\.yaml | ||
mvel\.jj | ||
JavaLexer\.g4 | ||
JavaParser\.g4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we do not have files with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, I'll fix. |
||
.*\.csv | ||
.*\.sdo | ||
.*\.sdt | ||
TestingEmptyFile\.txt | ||
.*\.test_json | ||
.*\.pmml_json | ||
.*\.drl_json | ||
.*\.dslr | ||
.*DMN.*\.xsd | ||
dmn.xsd | ||
jomarko marked this conversation as resolved.
Show resolved
Hide resolved
|
||
DC\.xsd | ||
DI\.xsd | ||
KiePMML.*\.txt | ||
TargetValueFactoryTest_01\.txt | ||
TargetFieldFactoryTest_01\.txt | ||
.*\.uml | ||
drools-model | ||
testFile\.txt | ||
simple\.dot | ||
.*\.log | ||
.*\.lst | ||
checkstyle-cachefile | ||
test.*\.txt | ||
test.*\.yml | ||
drl\.ftl | ||
goal\.txt | ||
adult\.txt | ||
antora\.yml | ||
.*\.iml | ||
CsvLineParser\.java | ||
target/* | ||
jomarko marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,3 +200,154 @@ | |
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-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." | ||
|
||
------------------------------------------------------------------------------------ | ||
for kie-dmn/kie-dmn-backend/src/test/resources/DC.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DI.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMN11.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMN12.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMN13.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMN14.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMN15.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMNDI12.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMNDI13.xsd | ||
kie-dmn/kie-dmn-backend/src/test/resources/DMNDI15.xsd | ||
kie-dmn/kie-dmn-feel/src/main/resources/dmn.xsd | ||
kie-dmn/kie-dmn-trisotech/src/test/resources/DC.xsd | ||
kie-dmn/kie-dmn-trisotech/src/test/resources/DI.xsd | ||
kie-dmn/kie-dmn-trisotech/src/test/resources/DMN13.xsd | ||
kie-dmn/kie-dmn-trisotech/src/test/resources/DMNDI13.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20151101/dmn.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DC.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DI.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DMN12.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DMNDI12.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DC.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DI.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DMN13.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DMNDI13.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DC.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DI.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DMN14.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DMNDI13.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DC.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DI.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DMN15.xsd | ||
kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DMNDI15.xsd | ||
|
||
Copyright © 2019-2021, 88solutions | ||
Copyright © 2019-2023, BOC Products & Services AG | ||
Copyright © 2015-2023, Camunda Services GmbH | ||
Copyright © 2013-2023, Decision Management Solutions | ||
Copyright © 2019-2021, Department of Veterans Affairs | ||
Copyright © 2013-2019, Escape Velocity LLC | ||
Copyright © 2013-2023, Fair Isaac Corporation | ||
Copyright © 2019-2023, GfSE e.V. | ||
Copyright © 2013-2023, International Business Machines Corporation | ||
Copyright © 2013-2023, KU Leuven | ||
Copyright © 2013-2019, Model Systems Limited | ||
Copyright © 2015-2019, Oracle Incorporated | ||
Copyright © 2019-2023, PNA Group | ||
Copyright © 2020-2023, processCentric GmbH | ||
Copyright © 2013-2023, Red Hat Inc | ||
Copyright © 2013-2023, Sapiens Decision NA | ||
Copyright © 2019-2021, Signavio GmbH | ||
Copyright © 2019-2023, Sparx Systems Pty Ltd | ||
Copyright © 2019-2023, Thematix Partners LLC | ||
Copyright © 2014-2019, TIBCO Software Inc. | ||
Copyright © 2015-2023, Trisotech | ||
Copyright © 2015-2023, Object Management Group, Inc. | ||
|
||
USE OF SPECIFICATION – TERMS, CONDITIONS & NOTICES | ||
The material in this document details an Object Management Group specification in accordance with the terms, | ||
conditions and notices set forth below. This document does not represent a commitment to implement any portion of this | ||
specification in any company's products. The information contained in this document is subject to change without notice. | ||
|
||
LICENSES | ||
The companies listed above have granted to the Object Management Group, Inc. (OMG) a nonexclusive, royalty-free, | ||
paid up, worldwide license to copy and distribute this document and to modify this document and distribute copies of the | ||
modified version. Each of the copyright holders listed above has agreed that no person shall be deemed to have infringed | ||
the copyright in the included material of any such copyright holder by reason of having used the specification set forth | ||
herein or having conformed any computer software to the specification. | ||
Subject to all of the terms and conditions below, the owners of the copyright in this specification hereby grant you a | ||
fully-paid up, non-exclusive, nontransferable, perpetual, worldwide license (without the right to sublicense), to use this | ||
specification to create and distribute software and special purpose specifications that are based upon this specification, | ||
and to use, copy, and distribute this specification as provided under the Copyright Act; provided that: (1) both the | ||
copyright notice identified above and this permission notice appear on any copies of this specification; (2) the use of the | ||
specifications is for informational purposes and will not be copied or posted on any network computer or broadcast in | ||
any media and will not be otherwise resold or transferred for commercial purposes; and (3) no modifications are made to | ||
this specification. This limited permission automatically terminates without notice if you breach any of these terms or | ||
conditions. Upon termination, you will destroy immediately any copies of the specifications in your possession or | ||
control. | ||
|
||
PATENTS | ||
The attention of adopters is directed to the possibility that compliance with or adoption of OMG specifications may | ||
require use of an invention covered by patent rights. OMG shall not be responsible for identifying patents for which a | ||
license may be required by any OMG specification, or for conducting legal inquiries into the legal validity or scope of | ||
those patents that are brought to its attention. OMG specifications are prospective and advisory only. Prospective users | ||
are responsible for protecting themselves against liability for infringement of patents. | ||
|
||
GENERAL USE RESTRICTIONS | ||
Any unauthorized use of this specification may violate copyright laws, trademark laws, and communications regulations | ||
and statutes. This document contains information which is protected by copyright. All Rights Reserved. No part of this | ||
work covered by copyright herein may be reproduced or used in any form or by any means--graphic, electronic, or | ||
mechanical, including photocopying, recording, taping, or information storage and retrieval systems--without permission | ||
of the copyright owner. | ||
|
||
DISCLAIMER OF WARRANTY | ||
WHILE THIS PUBLICATION IS BELIEVED TO BE ACCURATE, IT IS PROVIDED "AS IS" AND MAY CONTAIN | ||
ERRORS OR MISPRINTS. THE OBJECT MANAGEMENT GROUP AND THE COMPANIES LISTED ABOVE | ||
MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS PUBLICATION, | ||
INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF TITLE OR OWNERSHIP, IMPLIED WARRANTY | ||
OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE. IN NO | ||
EVENT SHALL THE OBJECT MANAGEMENT GROUP OR ANY OF THE COMPANIES LISTED ABOVE BE | ||
LIABLE FOR ERRORS CONTAINED HEREIN OR FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
CONSEQUENTIAL, RELIANCE OR COVER DAMAGES, INCLUDING LOSS OF PROFITS, REVENUE, DATA | ||
OR USE, INCURRED BY ANY USER OR ANY THIRD PARTY IN CONNECTION WITH THE FURNISHING, | ||
PERFORMANCE, OR USE OF THIS MATERIAL, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
DAMAGES. | ||
The entire risk as to the quality and performance of software developed using this specification is borne by you. This | ||
disclaimer of warranty constitutes an essential part of the license granted to you to use this specification. | ||
|
||
RESTRICTED RIGHTS LEGEND | ||
Use, duplication or disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c) (1) (ii) of | ||
The Rights in Technical Data and Computer Software Clause at DFARS 252.227-7013 or in subparagraph (c)(1) and (2) | ||
of the Commercial Computer Software - Restricted Rights clauses at 48 C.F.R. 52.227-19 or as specified in 48 C.F.R. | ||
227-7202-2 of the DoD F.A.R. Supplement and its successors, or as specified in 48 C.F.R. 12.212 of the Federal | ||
Acquisition Regulations and its successors, as applicable. The specification copyright owners are as indicated above and | ||
may be contacted through the Object Management Group, 9C Medway Rd, PMB 274, Milford, MA 01757, U.S.A. | ||
|
||
TRADEMARKS | ||
CORBA®, CORBA logos®, FIBO®, Financial Industry Business Ontology®, FINANCIAL INSTRUMENT GLOBAL | ||
IDENTIFIER®, IIOP®, IMM®, Model Driven Architecture®, MDA®, Object Management Group®, OMG®, OMG Logo, | ||
SoaML®, SOAML®, SysML®, UAF®, Unified Modeling Language®, UML®, UML Cube Logo®, VSIPL®, and XMI® are | ||
registered trademarks of the Object Management Group, Inc. | ||
For a complete list of trademarks, see: https://www.omg.org/legal/tm_list.htm. All other products or company names | ||
mentioned are used for identification purposes only and may be trademarks of their respective owners. | ||
|
||
COMPLIANCE | ||
The copyright holders listed above acknowledge that the Object Management Group (acting itself or through its | ||
designees) is and shall at all times be the sole entity that may authorize developers, suppliers and sellers of computer | ||
software to use certification marks, trademarks or other special designations to indicate compliance with these materials. | ||
Software developed under the terms of this license may claim compliance or conformance with this specification if and | ||
only if the software compliance is of a nature fully matching the applicable compliance points as stated in the | ||
specification. Software developed only partially matching the applicable compliance points may claim only that the | ||
software was based on this specification, but may not claim compliance or conformance with this specification. In the | ||
event that testing suites are implemented or approved by Object Management Group, Inc., software developed using this | ||
specification may claim compliance or conformance with the specification only if the software satisfactorily completes | ||
the testing suites. | ||
|
||
------------------------------------------------------------------------------------ | ||
for drools-model/drools-mvel-parser/src/main/javacc/mvel.jj | ||
JavaParser is dual licensed under LGPL license and Apache License Version 2.0 license. We choose the Apache License Version 2.0. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LICENSE is a little different from main --- JavaParser.g4 and JavaLexer.g4 don't exist in 10.0.x. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,9 @@ 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 | ||
|
||
* 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 | ||
Comment on lines
-11
to
-23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need to add corresponding entries into LICENSE file, as the files are still delivered as part of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jomarko Thank you for reviewing! These 3 components are placed under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
The Initial Developer of the kie-dmn/kie-dmn-trisotech/src/main/resources/org/kie/dmn/trisotech/validation/extension/TrisotechDMN13.xsd | ||
is Trisotech Inc (https://www.trisotech.com/). | ||
Copyright 2015 - 2024 Trisotech Inc. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do not have such file
LICENSE-.*\.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'll fix.