From 0a6e22ba54eb36d6cf53e1a221c6ddc5d0bbdc5c Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Tue, 2 Oct 2018 15:31:20 -0300 Subject: [PATCH] [KEYCLOAK-8412] - Upgrade to Drools 7.11.0.Final --- .../drools/DroolsPolicyProviderFactory.java | 2 +- dependencies/drools-bom/pom.xml | 66 ++++--- dependencies/server-all/pom.xml | 184 ++++++++++++++---- .../feature-packs/server-feature-pack/pom.xml | 66 ++++++- .../keycloak/org/apache/maven/main/module.xml | 2 + .../keycloak/org/eclipse/sisu/main/module.xml | 2 +- .../WEB-INF/jboss-deployment-structure.xml | 6 + .../layers/keycloak/org/kie/main/module.xml | 15 +- .../org/sonatype/sisu/main/module.xml | 2 +- pom.xml | 2 +- 10 files changed, 274 insertions(+), 73 deletions(-) diff --git a/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java b/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java index 800259ad4d..1bb6efdb28 100644 --- a/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java +++ b/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java @@ -104,7 +104,7 @@ public class DroolsPolicyProviderFactory implements PolicyProviderFactory 1.0 - 1.4.9 - 3.5 - 1.8.3 - 3.2.5 - 2.6 + 1.4.10 + 3.5.2 + 1.8.4 + 3.3.9 + 3.0.0 2.5.2 - 1.5.5 + 1.6 1.21 - 3.0.20 - 1.0.0.v20140518 - 0.3.0.M1 - 2.2.8.Final + 3.0.22 + 1.1.0 + 0.3.2 + 2.4.0.Final 1.7 1.3 - 3.2.3 + 4.0 4.4.2 - 2.1.2 @@ -46,6 +45,13 @@ ${version.org.drools} import + + org.kie.soup + kie-soup-bom + pom + ${version.org.drools} + import + aopalliance @@ -122,6 +128,11 @@ maven-settings-builder ${maven.version} + + org.apache.maven + maven-builder-support + ${maven.version} + org.apache.maven.wagon wagon-http @@ -200,12 +211,12 @@ org.eclipse.sisu org.eclipse.sisu.inject - ${sisu.version} + ${org.eclipse.sisu} org.eclipse.sisu org.eclipse.sisu.plexus - ${sisu.version} + ${org.eclipse.sisu} org.mvel @@ -223,13 +234,19 @@ ${plexus-sec-dispatcher.version} - org.sonatype.sisu.inject + com.google.inject.extensions guice-servlet ${sisu-guice.version} + + + com.google.inject + guice + + - org.sonatype.sisu - sisu-guice + com.google.inject + guice no_aop ${sisu-guice.version} @@ -238,21 +255,6 @@ ecj ${ecj.version} - - com.lowagie - itext - ${itext.version} - - - bouncycastle - bcmail-jdk14 - - - bouncycastle - bcprov-jdk14 - - - diff --git a/dependencies/server-all/pom.xml b/dependencies/server-all/pom.xml index d619724b95..c73de87f00 100755 --- a/dependencies/server-all/pom.xml +++ b/dependencies/server-all/pom.xml @@ -112,28 +112,92 @@ org.kie kie-api + + + * + * + + org.kie kie-ci - org.sonatype.sisu - sisu-guice + * + * org.kie kie-internal + + + * + * + + + + + org.kie.soup + kie-soup-maven-support + + + * + * + + + + + org.kie.soup + kie-soup-maven-integration + + + * + * + + + + + org.kie.soup + kie-soup-commons + + + * + * + + + + + org.kie.soup + kie-soup-project-datamodel-commons + + + * + * + + org.drools drools-core + + + * + * + + org.drools drools-compiler + + + * + * + + org.eclipse.aether @@ -158,6 +222,12 @@ org.eclipse.aether aether-transport-http + + + * + * + + org.eclipse.aether @@ -186,10 +256,22 @@ org.apache.maven maven-aether-provider + + + * + * + + org.apache.maven maven-artifact + + + * + * + + org.apache.maven @@ -198,14 +280,32 @@ org.apache.maven maven-core + + + * + * + + org.apache.maven maven-model + + + * + * + + org.apache.maven maven-model-builder + + + * + * + + org.apache.maven @@ -222,6 +322,22 @@ org.apache.maven maven-settings-builder + + + * + * + + + + + org.apache.maven + maven-builder-support + + + * + * + + org.mvel @@ -240,15 +356,9 @@ org.eclipse.sisu org.eclipse.sisu.plexus - - - org.sonatype.sisu - sisu-guice - - - org.sonatype.sisu.inject + com.google.inject.extensions guice-servlet @@ -278,10 +388,22 @@ org.apache.maven.wagon wagon-http + + + * + * + + org.apache.maven.wagon wagon-http-shared + + + * + * + + org.apache.maven.wagon @@ -290,10 +412,12 @@ com.thoughtworks.xstream xstream - - - com.google.guava - guava + + + * + * + + org.eclipse.jdt.core.compiler @@ -302,32 +426,26 @@ org.apache.httpcomponents httpclient - - - org.apache.httpcomponents - httpcore - - - com.lowagie - itext - bouncycastle - bcmail-jdk14 - - - bouncycastle - bcprov-jdk14 - - - org.sonatype.sisu - sisu-guice + * + * - org.sonatype.sisu - sisu-guice + org.apache.httpcomponents + httpcore + + + * + * + + + + + com.google.inject + guice no_aop diff --git a/distribution/feature-packs/server-feature-pack/pom.xml b/distribution/feature-packs/server-feature-pack/pom.xml index 79b835819d..c070e54851 100644 --- a/distribution/feature-packs/server-feature-pack/pom.xml +++ b/distribution/feature-packs/server-feature-pack/pom.xml @@ -222,6 +222,16 @@ + + org.apache.maven + maven-builder-support + + + * + * + + + org.apache.maven.wagon wagon-http @@ -653,6 +663,56 @@ + + org.kie.soup + kie-soup-maven-support + + + * + * + + + + + org.kie.soup + kie-soup-maven-support + + + * + * + + + + + org.kie.soup + kie-soup-maven-integration + + + * + * + + + + + org.kie.soup + kie-soup-commons + + + * + * + + + + + org.kie.soup + kie-soup-project-datamodel-commons + + + * + * + + + org.liquibase liquibase-core @@ -694,7 +754,7 @@ - org.sonatype.sisu.inject + com.google.inject.extensions guice-servlet @@ -704,8 +764,8 @@ - org.sonatype.sisu - sisu-guice + com.google.inject + guice no_aop diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/maven/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/maven/main/module.xml index 7cd1952bba..bb50eb54bf 100755 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/maven/main/module.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/maven/main/module.xml @@ -30,6 +30,7 @@ + @@ -41,5 +42,6 @@ + diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/eclipse/sisu/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/eclipse/sisu/main/module.xml index 55b92dc251..ae2e3a3d08 100755 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/eclipse/sisu/main/module.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/eclipse/sisu/main/module.xml @@ -22,7 +22,7 @@ - + diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml index 79f3aef1e0..269afe49c0 100755 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml @@ -18,6 +18,12 @@ + + + + + + diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/kie/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/kie/main/module.xml index 9b41daaf16..efb746f126 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/kie/main/module.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/kie/main/module.xml @@ -23,6 +23,10 @@ + + + + @@ -46,10 +50,19 @@ - + + + + + + + + + + diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/sonatype/sisu/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/sonatype/sisu/main/module.xml index 866a61850c..31106cbb3c 100755 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/sonatype/sisu/main/module.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/sonatype/sisu/main/module.xml @@ -20,7 +20,7 @@ - + diff --git a/pom.xml b/pom.xml index 828fa31dc0..66b7a26dab 100755 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 1.4.0.Final - 6.5.0.Final + 7.11.0.Final 2.0.0-M21