diff --git a/easy-rules-core/pom.xml b/easy-rules-core/pom.xml index 2beb34b..65c5de0 100644 --- a/easy-rules-core/pom.xml +++ b/easy-rules-core/pom.xml @@ -91,25 +91,9 @@ com.mycila license-maven-plugin - ${maven-license-plugin.version} -
${project.basedir}/licence-header-template.txt
- - 2020 - - true - - src/**/*.java - +
${project.parent.basedir}/licence-header-template.txt
- - - validate - - format - - -
diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Action.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Action.java index 5bae442..0e453d8 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Action.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Action.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Condition.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Condition.java index 16d5476..57d353a 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Condition.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Condition.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Fact.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Fact.java index 15c2e75..f541406 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Fact.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Fact.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Priority.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Priority.java index 6a7c415..ef2b20f 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Priority.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Priority.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Rule.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Rule.java index 98ff6d4..b84dd49 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Rule.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/Rule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/package-info.java b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/package-info.java index 19629cd..e44e8c7 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/annotation/package-info.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/annotation/package-info.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Action.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Action.java index ac39931..001ddf8 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Action.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Action.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Condition.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Condition.java index bf32cf7..ff050b2 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Condition.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Condition.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java index eb52221..4f61496 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Rule.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Rule.java index 8856df0..4f76244 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Rule.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Rule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/RuleListener.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/RuleListener.java index 052d00a..be1b7a3 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/RuleListener.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/RuleListener.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Rules.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Rules.java index 70091ff..b91c6da 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Rules.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Rules.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngine.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngine.java index 6e882ed..b6444f9 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngine.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngine.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngineListener.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngineListener.java index 9aea2e9..7db852c 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngineListener.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/RulesEngineListener.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/package-info.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/package-info.java index 9a787e7..350033f 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/package-info.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/package-info.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/AbstractRulesEngine.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/AbstractRulesEngine.java index 4886990..a8439ed 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/AbstractRulesEngine.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/AbstractRulesEngine.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/ActionMethodOrderBean.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/ActionMethodOrderBean.java index 4d76c4b..4fa79c7 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/ActionMethodOrderBean.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/ActionMethodOrderBean.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/BasicRule.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/BasicRule.java index 9f2209c..167f90c 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/BasicRule.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/BasicRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRule.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRule.java index 0be0c21..a3210b6 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRule.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRulesEngine.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRulesEngine.java index 475e7ca..73b8eb4 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRulesEngine.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/DefaultRulesEngine.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/InferenceRulesEngine.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/InferenceRulesEngine.java index d90da73..8838cb9 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/InferenceRulesEngine.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/InferenceRulesEngine.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/NoSuchFactException.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/NoSuchFactException.java index 4285cba..28119da 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/NoSuchFactException.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/NoSuchFactException.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleBuilder.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleBuilder.java index f432cf9..28e9957 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleBuilder.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleBuilder.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleDefinitionValidator.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleDefinitionValidator.java index dd643d0..de6efa4 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleDefinitionValidator.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleDefinitionValidator.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java index cbd0383..d7880b2 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/RulesEngineParameters.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/RulesEngineParameters.java index e7c6ff2..a124865 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/RulesEngineParameters.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/RulesEngineParameters.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/Utils.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/Utils.java index 476a2f4..87c491b 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/Utils.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/Utils.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/package-info.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/package-info.java index bf35a08..c6d0994 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/core/package-info.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/package-info.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingMoreThanOneArgumentOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingMoreThanOneArgumentOfTypeFacts.java index 652d373..4b87599 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingMoreThanOneArgumentOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingMoreThanOneArgumentOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentNotOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentNotOfTypeFacts.java index a1ffad9..e00a052 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentNotOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentNotOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentOfTypeFacts.java index e608996..d2f1709 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodHavingOneArgumentOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodThatReturnsNonVoidType.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodThatReturnsNonVoidType.java index c74e5a2..e104d0e 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodThatReturnsNonVoidType.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithActionMethodThatReturnsNonVoidType.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingNonBooleanReturnType.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingNonBooleanReturnType.java index 17e521e..adad6e5 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingNonBooleanReturnType.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingNonBooleanReturnType.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingOneArgumentNotOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingOneArgumentNotOfTypeFacts.java index 326684e..a191146 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingOneArgumentNotOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithConditionMethodHavingOneArgumentNotOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMetaRuleAnnotation.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMetaRuleAnnotation.java index 8bcb96f..8764fcc 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMetaRuleAnnotation.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMetaRuleAnnotation.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMoreThanOnePriorityMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMoreThanOnePriorityMethod.java index 3e2773f..5cdb365 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMoreThanOnePriorityMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMoreThanOnePriorityMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfSubTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfSubTypeFacts.java index 9aba5cc..5a99230 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfSubTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfSubTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfTypeFacts.java index b7fd86e..348e632 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithMultipleAnnotatedParametersAndOneParameterOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicActionMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicActionMethod.java index f1e73e5..90a6890 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicActionMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicActionMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicConditionMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicConditionMethod.java index 3196a3a..a0be70d 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicConditionMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicConditionMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicPriorityMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicPriorityMethod.java index 1b73cdf..413e16d 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicPriorityMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithNonPublicPriorityMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithOneParameterNotAnnotatedWithFactAndNotOfTypeFacts.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithOneParameterNotAnnotatedWithFactAndNotOfTypeFacts.java index b78850b..60c330f 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithOneParameterNotAnnotatedWithFactAndNotOfTypeFacts.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithOneParameterNotAnnotatedWithFactAndNotOfTypeFacts.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingArguments.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingArguments.java index 365bf78..d8c5529 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingArguments.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingArguments.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingNonIntegerReturnType.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingNonIntegerReturnType.java index d19e82d..53fdc4e 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingNonIntegerReturnType.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithPriorityMethodHavingNonIntegerReturnType.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutActionMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutActionMethod.java index 16272e9..ce2f966 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutActionMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutActionMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutConditionMethod.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutConditionMethod.java index 4d8057d..2bb4297 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutConditionMethod.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/AnnotatedRuleWithoutConditionMethod.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/MetaRule.java b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/MetaRule.java index d205cb8..3a55fad 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/annotation/MetaRule.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/annotation/MetaRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/api/FactsTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/api/FactsTest.java index 4c53148..2cfb79b 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/api/FactsTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/api/FactsTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/api/RulesTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/api/RulesTest.java index 52ec524..5212222 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/api/RulesTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/api/RulesTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/AbstractTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/AbstractTest.java index dcc5476..622b26a 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/AbstractTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/AbstractTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/AnnotationInheritanceTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/AnnotationInheritanceTest.java index 3420087..339335b 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/AnnotationInheritanceTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/AnnotationInheritanceTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/BasicRuleTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/BasicRuleTest.java index ebcc213..def2002 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/BasicRuleTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/BasicRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/CustomRuleOrderingTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/CustomRuleOrderingTest.java index 769aead..d46fb93 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/CustomRuleOrderingTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/CustomRuleOrderingTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRuleTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRuleTest.java index 747e136..ad1a0e9 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRuleTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRulesEngineTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRulesEngineTest.java index b77687b..09c6cd9 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRulesEngineTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/DefaultRulesEngineTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/FactInjectionTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/FactInjectionTest.java index 2a8e88a..a06ed3a 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/FactInjectionTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/FactInjectionTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/InferenceRulesEngineTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/InferenceRulesEngineTest.java index 08dfe9b..09a513e 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/InferenceRulesEngineTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/InferenceRulesEngineTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/NullFactAnnotationParameterTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/NullFactAnnotationParameterTest.java index 5f4a05a..a9b0759 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/NullFactAnnotationParameterTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/NullFactAnnotationParameterTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleBuilderTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleBuilderTest.java index 68e748d..31e6612 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleBuilderTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleBuilderTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleDefinitionValidatorTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleDefinitionValidatorTest.java index 091e296..7675247 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleDefinitionValidatorTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleDefinitionValidatorTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleListenerTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleListenerTest.java index d5141ab..547366d 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleListenerTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleListenerTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RulePriorityThresholdTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RulePriorityThresholdTest.java index 6f4448b..adcc0be 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RulePriorityThresholdTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RulePriorityThresholdTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleProxyTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleProxyTest.java index 708b418..41cdb0d 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleProxyTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RuleProxyTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/RulesEngineListenerTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/RulesEngineListenerTest.java index 38f066f..f8e1521 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/RulesEngineListenerTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/RulesEngineListenerTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstAppliedRuleTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstAppliedRuleTest.java index ad6bca4..9c148c7 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstAppliedRuleTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstAppliedRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstFailedRuleTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstFailedRuleTest.java index 62e1877..a6a401b 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstFailedRuleTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstFailedRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstNonTriggeredRuleTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstNonTriggeredRuleTest.java index b700c3c..6cfd680 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstNonTriggeredRuleTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/SkipOnFirstNonTriggeredRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-core/src/test/java/org/jeasy/rules/core/UtilsTest.java b/easy-rules-core/src/test/java/org/jeasy/rules/core/UtilsTest.java index db607e1..7aba397 100644 --- a/easy-rules-core/src/test/java/org/jeasy/rules/core/UtilsTest.java +++ b/easy-rules-core/src/test/java/org/jeasy/rules/core/UtilsTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/licence-header-template.txt b/easy-rules-mvel/licence-header-template.txt deleted file mode 100644 index dc24825..0000000 --- a/easy-rules-mvel/licence-header-template.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - - Copyright (c) ${currentYear}, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. \ No newline at end of file diff --git a/easy-rules-mvel/pom.xml b/easy-rules-mvel/pom.xml index 504481c..248ef9a 100644 --- a/easy-rules-mvel/pom.xml +++ b/easy-rules-mvel/pom.xml @@ -99,25 +99,9 @@ com.mycila license-maven-plugin - ${maven-license-plugin.version} -
${project.basedir}/licence-header-template.txt
- - 2020 - - true - - src/**/*.java - +
${project.parent.basedir}/licence-header-template.txt
- - - validate - - format - - -
diff --git a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELAction.java b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELAction.java index 3a2ba6b..7c1b424 100644 --- a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELAction.java +++ b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELAction.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELCondition.java b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELCondition.java index 92d3fa3..5fb1e30 100644 --- a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELCondition.java +++ b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELCondition.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRule.java b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRule.java index 420f36f..60f50cc 100644 --- a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRule.java +++ b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRuleFactory.java b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRuleFactory.java index 08c86c3..1c37132 100644 --- a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRuleFactory.java +++ b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/MVELRuleFactory.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/package-info.java b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/package-info.java index 340b383..cc802c9 100644 --- a/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/package-info.java +++ b/easy-rules-mvel/src/main/java/org/jeasy/rules/mvel/package-info.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELActionTest.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELActionTest.java index cd5fcd4..4cdbc8d 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELActionTest.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELActionTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELConditionTest.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELConditionTest.java index fb26620..a7d0214 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELConditionTest.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELConditionTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELJsonRuleFactoryTest.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELJsonRuleFactoryTest.java index 51da5b9..eb62ca2 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELJsonRuleFactoryTest.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELJsonRuleFactoryTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELRuleTest.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELRuleTest.java index 8cf8d92..fc3d5ae 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELRuleTest.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELYamlRuleFactoryTest.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELYamlRuleFactoryTest.java index 84348b1..1167e69 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELYamlRuleFactoryTest.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/MVELYamlRuleFactoryTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/Person.java b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/Person.java index 44b056f..35cb9b1 100644 --- a/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/Person.java +++ b/easy-rules-mvel/src/test/java/org/jeasy/rules/mvel/Person.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/licence-header-template.txt b/easy-rules-spel/licence-header-template.txt deleted file mode 100644 index dc24825..0000000 --- a/easy-rules-spel/licence-header-template.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - - Copyright (c) ${currentYear}, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. \ No newline at end of file diff --git a/easy-rules-spel/pom.xml b/easy-rules-spel/pom.xml index aad42b0..a15dea5 100644 --- a/easy-rules-spel/pom.xml +++ b/easy-rules-spel/pom.xml @@ -114,25 +114,9 @@ com.mycila license-maven-plugin - ${maven-license-plugin.version} -
${project.basedir}/licence-header-template.txt
- - 2020 - - true - - src/**/*.java - +
${project.parent.basedir}/licence-header-template.txt
- - - validate - - format - - -
diff --git a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELAction.java b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELAction.java index 10641cb..60c3b57 100644 --- a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELAction.java +++ b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELAction.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELCondition.java b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELCondition.java index 2961891..a8e5d84 100644 --- a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELCondition.java +++ b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELCondition.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRule.java b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRule.java index 67e07a2..cd6e3a1 100644 --- a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRule.java +++ b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRuleFactory.java b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRuleFactory.java index cee92d9..8dc3d34 100644 --- a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRuleFactory.java +++ b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/SpELRuleFactory.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/package-info.java b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/package-info.java index c9e1e95..79f339d 100644 --- a/easy-rules-spel/src/main/java/org/jeasy/rules/spel/package-info.java +++ b/easy-rules-spel/src/main/java/org/jeasy/rules/spel/package-info.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Greeter.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Greeter.java index d9c613a..d867ded 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Greeter.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Greeter.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/MySpringAppConfig.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/MySpringAppConfig.java index a6cb9d0..863e182 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/MySpringAppConfig.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/MySpringAppConfig.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Person.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Person.java index 2eff790..bf5c636 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Person.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/Person.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SimpleBeanResolver.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SimpleBeanResolver.java index 00de946..1fb7489 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SimpleBeanResolver.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SimpleBeanResolver.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELActionTest.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELActionTest.java index 63ea73b..bd7c226 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELActionTest.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELActionTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELConditionTest.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELConditionTest.java index cc4dc64..0949ae4 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELConditionTest.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELConditionTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELJsonRuleFactoryTest.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELJsonRuleFactoryTest.java index f89da00..b15b484 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELJsonRuleFactoryTest.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELJsonRuleFactoryTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELRuleTest.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELRuleTest.java index c887f75..f2844d8 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELRuleTest.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELRuleTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELYamlRuleFactoryTest.java b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELYamlRuleFactoryTest.java index 7642ab1..bbf3a98 100644 --- a/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELYamlRuleFactoryTest.java +++ b/easy-rules-spel/src/test/java/org/jeasy/rules/spel/SpELYamlRuleFactoryTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/licence-header-template.txt b/easy-rules-support/licence-header-template.txt deleted file mode 100644 index dc24825..0000000 --- a/easy-rules-support/licence-header-template.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - - Copyright (c) ${currentYear}, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. \ No newline at end of file diff --git a/easy-rules-support/pom.xml b/easy-rules-support/pom.xml index a50ccca..51d8dd6 100644 --- a/easy-rules-support/pom.xml +++ b/easy-rules-support/pom.xml @@ -93,25 +93,9 @@ com.mycila license-maven-plugin - ${maven-license-plugin.version} -
${project.basedir}/licence-header-template.txt
- - 2020 - - true - - src/**/*.java - +
${project.parent.basedir}/licence-header-template.txt
- - - validate - - format - - -
diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleDefinitionReader.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleDefinitionReader.java index 2145a72..f3a3cf8 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleDefinitionReader.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleDefinitionReader.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleFactory.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleFactory.java index 0e4712e..c70a21f 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleFactory.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/AbstractRuleFactory.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/ActivationRuleGroup.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/ActivationRuleGroup.java index 68e2b0d..ddb13fc 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/ActivationRuleGroup.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/ActivationRuleGroup.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/CompositeRule.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/CompositeRule.java index d3164ef..0345134 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/CompositeRule.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/CompositeRule.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/ConditionalRuleGroup.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/ConditionalRuleGroup.java index 17bd1ea..1f30245 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/ConditionalRuleGroup.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/ConditionalRuleGroup.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/JsonRuleDefinitionReader.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/JsonRuleDefinitionReader.java index 9ef04b1..cf36457 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/JsonRuleDefinitionReader.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/JsonRuleDefinitionReader.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinition.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinition.java index 1df189f..ca8fdb1 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinition.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinition.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinitionReader.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinitionReader.java index 4542af5..7e4cad2 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinitionReader.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/RuleDefinitionReader.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/UnitRuleGroup.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/UnitRuleGroup.java index 50ef697..2c3431f 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/UnitRuleGroup.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/UnitRuleGroup.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/main/java/org/jeasy/rules/support/YamlRuleDefinitionReader.java b/easy-rules-support/src/main/java/org/jeasy/rules/support/YamlRuleDefinitionReader.java index dd773e7..8296d18 100644 --- a/easy-rules-support/src/main/java/org/jeasy/rules/support/YamlRuleDefinitionReader.java +++ b/easy-rules-support/src/main/java/org/jeasy/rules/support/YamlRuleDefinitionReader.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/test/java/org/jeasy/rules/support/ActivationRuleGroupTest.java b/easy-rules-support/src/test/java/org/jeasy/rules/support/ActivationRuleGroupTest.java index c75ac07..26471a7 100644 --- a/easy-rules-support/src/test/java/org/jeasy/rules/support/ActivationRuleGroupTest.java +++ b/easy-rules-support/src/test/java/org/jeasy/rules/support/ActivationRuleGroupTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/test/java/org/jeasy/rules/support/ConditionalRuleGroupTest.java b/easy-rules-support/src/test/java/org/jeasy/rules/support/ConditionalRuleGroupTest.java index 4b7fdae..0f00dc8 100644 --- a/easy-rules-support/src/test/java/org/jeasy/rules/support/ConditionalRuleGroupTest.java +++ b/easy-rules-support/src/test/java/org/jeasy/rules/support/ConditionalRuleGroupTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/test/java/org/jeasy/rules/support/JsonRuleDefinitionReaderTest.java b/easy-rules-support/src/test/java/org/jeasy/rules/support/JsonRuleDefinitionReaderTest.java index bb9b51d..a586743 100644 --- a/easy-rules-support/src/test/java/org/jeasy/rules/support/JsonRuleDefinitionReaderTest.java +++ b/easy-rules-support/src/test/java/org/jeasy/rules/support/JsonRuleDefinitionReaderTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/test/java/org/jeasy/rules/support/UnitRuleGroupTest.java b/easy-rules-support/src/test/java/org/jeasy/rules/support/UnitRuleGroupTest.java index af03d80..589753e 100644 --- a/easy-rules-support/src/test/java/org/jeasy/rules/support/UnitRuleGroupTest.java +++ b/easy-rules-support/src/test/java/org/jeasy/rules/support/UnitRuleGroupTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-support/src/test/java/org/jeasy/rules/support/YamlRuleDefinitionReaderTest.java b/easy-rules-support/src/test/java/org/jeasy/rules/support/YamlRuleDefinitionReaderTest.java index 6df34e5..6cd8178 100644 --- a/easy-rules-support/src/test/java/org/jeasy/rules/support/YamlRuleDefinitionReaderTest.java +++ b/easy-rules-support/src/test/java/org/jeasy/rules/support/YamlRuleDefinitionReaderTest.java @@ -1,4 +1,4 @@ -/** +/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/easy-rules-tutorials/pom.xml b/easy-rules-tutorials/pom.xml index 7c0212b..4128b89 100644 --- a/easy-rules-tutorials/pom.xml +++ b/easy-rules-tutorials/pom.xml @@ -131,6 +131,13 @@ + + com.mycila + license-maven-plugin + +
${project.parent.basedir}/licence-header-template.txt
+
+
diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/DecreaseTemperatureAction.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/DecreaseTemperatureAction.java index 61de49f..8ef1dce 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/DecreaseTemperatureAction.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/DecreaseTemperatureAction.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package org.jeasy.rules.tutorials.airco; import org.jeasy.rules.api.Action; diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/HighTemperatureCondition.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/HighTemperatureCondition.java index 0382567..5162d82 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/HighTemperatureCondition.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/HighTemperatureCondition.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package org.jeasy.rules.tutorials.airco; import org.jeasy.rules.api.Condition; diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/Launcher.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/Launcher.java index b2a8b57..a892c6a 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/Launcher.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/airco/Launcher.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package org.jeasy.rules.tutorials.airco; import org.jeasy.rules.api.Facts; diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/BuzzRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/BuzzRule.java index 039d30a..66c5f54 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/BuzzRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/BuzzRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzz.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzz.java index bd37c03..6ff8fa8 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzz.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzz.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzRule.java index c2a0baf..bc107ff 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzWithEasyRules.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzWithEasyRules.java index ef107ed..ba1a96a 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzWithEasyRules.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzBuzzWithEasyRules.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzRule.java index 6bbd545..390bf73 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/FizzRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/NonFizzBuzzRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/NonFizzBuzzRule.java index 2ac7b2b..db7ea82 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/NonFizzBuzzRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/fizzbuzz/NonFizzBuzzRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/HelloWorldRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/HelloWorldRule.java index 7bba11e..41360db 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/HelloWorldRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/HelloWorldRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/Launcher.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/Launcher.java index 4815f16..f1dce7d 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/Launcher.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/helloworld/Launcher.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Launcher.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Launcher.java index df6fa94..caa1e39 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Launcher.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Launcher.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Person.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Person.java index e583622..8a7324f 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Person.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/shop/Person.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/Launcher.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/Launcher.java index 3afbd77..71df4bf 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/Launcher.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/Launcher.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package org.jeasy.rules.tutorials.weather; import org.jeasy.rules.api.Facts; diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/WeatherRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/WeatherRule.java index feac373..1d5c2ab 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/WeatherRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/weather/WeatherRule.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package org.jeasy.rules.tutorials.weather; import org.jeasy.rules.annotation.Action; diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/IndexServlet.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/IndexServlet.java index ccb7cfe..b50ef8c 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/IndexServlet.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/IndexServlet.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestFilter.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestFilter.java index ee30fbf..457433c 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestFilter.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestFilter.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestRule.java b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestRule.java index bd7d16e..f365d7a 100644 --- a/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestRule.java +++ b/easy-rules-tutorials/src/main/java/org/jeasy/rules/tutorials/web/SuspiciousRequestRule.java @@ -1,7 +1,7 @@ -/** +/* * The MIT License * - * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) + * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/easy-rules-core/licence-header-template.txt b/licence-header-template.txt similarity index 100% rename from easy-rules-core/licence-header-template.txt rename to licence-header-template.txt diff --git a/pom.xml b/pom.xml index 7758bf3..de59c7d 100644 --- a/pom.xml +++ b/pom.xml @@ -174,6 +174,31 @@ + + com.mycila + license-maven-plugin + ${maven-license-plugin.version} + + + 2020 + + true + + src/**/*.java + + + SLASHSTAR_STYLE + + + + + validate + + format + + + +