Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions commons/util/util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.rhino</artifactId>
<version>${rhino.servicemix.version}</version>
<groupId>org.openidentityplatform.commons.script</groupId>
<artifactId>rhino</artifactId>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
Expand Down
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@
<slf4j.version>2.0.17</slf4j.version>
<swagger.version>1.6.11</swagger.version>
<rhino.version>1.7.15.1</rhino.version>
<rhino.servicemix.version>1.7.15_1</rhino.servicemix.version>
<jetty.version>11.0.25</jetty.version>
<grizzly-framework.version>3.0.1</grizzly-framework.version>
<servlet-api.version>5.0.0</servlet-api.version>
Expand Down Expand Up @@ -627,6 +626,11 @@
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.script</groupId>
<artifactId>rhino</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
Expand Down
5 changes: 2 additions & 3 deletions script/javascript/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@
</dependency>

<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.rhino</artifactId>
<version>${rhino.servicemix.version}</version>
<groupId>org.openidentityplatform.commons.script</groupId>
<artifactId>rhino</artifactId>
</dependency>
<!--
<dependency>
Expand Down
1 change: 1 addition & 0 deletions script/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<module>common</module>
<module>javascript</module>
<module>groovy</module>
<module>rhino</module>
</modules>

<dependencyManagement>
Expand Down
70 changes: 70 additions & 0 deletions script/rhino/pom.xml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest transferring to OpenIDM

Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2026 3A Systems LLC.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>script</artifactId>
<version>3.1.1-SNAPSHOT</version>
</parent>
<groupId>org.openidentityplatform.commons.script</groupId>
<artifactId>rhino</artifactId>
<packaging>bundle</packaging>
<name>${project.groupId}.${project.artifactId}</name>
<description>OSGi bundle wrapper for Mozilla Rhino JavaScript engine</description>
<dependencies>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<version>${rhino.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino-engine</artifactId>
<version>${rhino.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-SymbolicName>${project.name}</Bundle-SymbolicName>
<Embed-Dependency>*;groupId=org.mozilla;inline=true</Embed-Dependency>
<Export-Package>*</Export-Package>
<Import-Package>
javax.lang.model;resolution:=optional,
javax.script;resolution:=optional,
*
</Import-Package>
<_removeheaders>
Bnd-LastModified,Built-By,Private-Package,Tool,Build-Jdk,Include-Resource,Ignore-Package,Bundle-DocURL
</_removeheaders>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading