diff --git a/openidm-repo-orientdb/pom.xml b/openidm-repo-orientdb/pom.xml index c6da32317..e97c96e9d 100644 --- a/openidm-repo-orientdb/pom.xml +++ b/openidm-repo-orientdb/pom.xml @@ -248,6 +248,12 @@ mockito-all test + + org.graalvm.sdk + graal-sdk + 22.3.0 + test + diff --git a/openidm-rhino/pom.xml b/openidm-rhino/pom.xml new file mode 100644 index 000000000..d934e3936 --- /dev/null +++ b/openidm-rhino/pom.xml @@ -0,0 +1,70 @@ + + + + 4.0.0 + + org.openidentityplatform.openidm + openidm-project + 7.0.3-SNAPSHOT + + + openidm-rhino + bundle + ${project.groupId}.${project.artifactId} + OSGi bundle wrapper for Mozilla Rhino JavaScript engine + + + org.mozilla + rhino + provided + + + org.mozilla + rhino-engine + provided + + + + + + org.apache.felix + maven-bundle-plugin + true + + + ${project.name} + ${project.name} + *;groupId=org.mozilla;inline=true;scope=provided + * + + javax.lang.model;resolution:=optional, + javax.script;resolution:=optional, + * + + * + <_removeheaders> + Bnd-LastModified,Built-By,Private-Package,Tool,Build-Jdk,Include-Resource,Ignore-Package,Bundle-DocURL + + + + + + + + \ No newline at end of file diff --git a/openidm-ui/openidm-ui-admin/pom.xml b/openidm-ui/openidm-ui-admin/pom.xml index 242a5366c..df9e9d086 100644 --- a/openidm-ui/openidm-ui-admin/pom.xml +++ b/openidm-ui/openidm-ui-admin/pom.xml @@ -187,11 +187,6 @@ css - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.rhino - - org.openidentityplatform.commons.ui.libs less diff --git a/openidm-ui/openidm-ui-enduser/pom.xml b/openidm-ui/openidm-ui-enduser/pom.xml index 8dd0f8037..9d7232b46 100644 --- a/openidm-ui/openidm-ui-enduser/pom.xml +++ b/openidm-ui/openidm-ui-enduser/pom.xml @@ -139,11 +139,6 @@ js - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.rhino - - org.openidentityplatform.commons.ui.libs less diff --git a/openidm-util/pom.xml b/openidm-util/pom.xml index fa0f29a50..aab6e6eae 100644 --- a/openidm-util/pom.xml +++ b/openidm-util/pom.xml @@ -88,8 +88,9 @@ joda-time - org.apache.servicemix.bundles - org.apache.servicemix.bundles.rhino + org.openidentityplatform.openidm + openidm-rhino + ${project.version} diff --git a/openidm-zip/pom.xml b/openidm-zip/pom.xml index 2b84098d5..4da27cf6d 100644 --- a/openidm-zip/pom.xml +++ b/openidm-zip/pom.xml @@ -99,6 +99,11 @@ openidm-script ${project.version} + + org.openidentityplatform.openidm + openidm-rhino + ${project.version} + org.openidentityplatform.openidm openidm-api-servlet diff --git a/openidm-zip/src/main/assembly/zip.xml b/openidm-zip/src/main/assembly/zip.xml index fa0909a78..5410694d3 100644 --- a/openidm-zip/src/main/assembly/zip.xml +++ b/openidm-zip/src/main/assembly/zip.xml @@ -1218,6 +1218,7 @@ jakarta.activation* org.bouncycastle:bc*-fips org.openjdk.nashorn:* + org.mozilla:rhino* org.apache.felix:org.apache.felix.utils org.codehaus.mojo:animal-sniffer-annotations diff --git a/pom.xml b/pom.xml index 029722aa5..cfc15f5c8 100644 --- a/pom.xml +++ b/pom.xml @@ -129,7 +129,6 @@ 9.9.1 1.8.6_1 - 1.7.14_2 2.4.21 @@ -235,6 +234,7 @@ openidm-zip custom-scripted-connector-bundler + openidm-rhino @@ -593,11 +593,6 @@ org.apache.servicemix.bundles.quartz ${quartz.version} - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.rhino - ${rhino.version} - org.apache.servicemix.bundles org.apache.servicemix.bundles.javax-inject