Skip to content

Rhino: migrate from servicemix to org.mozilla#189

Merged
maximthomas merged 5 commits into
OpenIdentityPlatform:masterfrom
maximthomas:features/rhino-servicemix-to-mozilla-migration
Jun 9, 2026
Merged

Rhino: migrate from servicemix to org.mozilla#189
maximthomas merged 5 commits into
OpenIdentityPlatform:masterfrom
maximthomas:features/rhino-servicemix-to-mozilla-migration

Conversation

@maximthomas

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR replaces the previous Apache ServiceMix Rhino OSGi bundle dependency with a new in-repo openidm-rhino OSGi wrapper module around Mozilla Rhino, and updates downstream modules/assembly to consume it.

Changes:

  • Removed org.apache.servicemix.bundles.rhino from the root/UI builds and introduced a new openidm-rhino reactor module.
  • Wired openidm-rhino into the runtime ZIP build and updated the ZIP assembly excludes for org.mozilla:rhino*.
  • Added a graal-sdk test dependency to openidm-repo-orientdb.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pom.xml Drops ServiceMix Rhino management and adds the new openidm-rhino module to the reactor.
openidm-zip/src/main/assembly/zip.xml Excludes org.mozilla:rhino* from the runtime dependency set in the ZIP assembly.
openidm-zip/pom.xml Adds openidm-rhino to the ZIP assembly dependencies.
openidm-util/pom.xml Replaces ServiceMix Rhino with the new openidm-rhino bundle dependency.
openidm-ui/openidm-ui-enduser/pom.xml Removes the ServiceMix Rhino dependency from the UI enduser module.
openidm-ui/openidm-ui-admin/pom.xml Removes the ServiceMix Rhino dependency from the UI admin module.
openidm-rhino/pom.xml Introduces a new OSGi bundle wrapper intended to embed Mozilla Rhino artifacts.
openidm-repo-orientdb/pom.xml Adds org.graalvm.sdk:graal-sdk as a test-scoped dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread openidm-rhino/pom.xml
Comment on lines +31 to +54
<dependencies>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino-engine</artifactId>
<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>

@maximthomas maximthomas Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

rhino components version is already declared in the commons project, see OpenIdentityPlatform/commons#181

suggestion

<Embed-Dependency>*;groupId=org.mozilla;inline=true;scope=provided</Embed-Dependency>

seems reasonable.

@vharseko vharseko changed the title Rhino: migrate from servicemix to mozilla Rhino: migrate from servicemix to org.mozilla Jun 9, 2026
@maximthomas maximthomas merged commit 23c68ee into OpenIdentityPlatform:master Jun 9, 2026
59 of 60 checks passed
@maximthomas maximthomas deleted the features/rhino-servicemix-to-mozilla-migration branch June 9, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants