This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git


The following commit(s) were added to refs/heads/master by this push:
     new dc704363e SM-5806: Create OSGi bundle for jruby 10.0.0.0
dc704363e is described below

commit dc704363e3043118c3836dda53f7cc4da4b588d1
Author: JB Onofré <[email protected]>
AuthorDate: Sat May 3 08:45:31 2025 +0200

    SM-5806: Create OSGi bundle for jruby 10.0.0.0
---
 jruby-10.0.0.0/pom.xml                             | 136 +++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info        |  16 +++
 pom.xml                                            |   1 +
 3 files changed, 153 insertions(+)

diff --git a/jruby-10.0.0.0/pom.xml b/jruby-10.0.0.0/pom.xml
new file mode 100644
index 000000000..bb42e959c
--- /dev/null
+++ b/jruby-10.0.0.0/pom.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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";>
+
+    <!--
+
+        Licensed to the Apache Software Foundation (ASF) under one or more
+        contributor license agreements.  See the NOTICE file distributed with
+        this work for additional information regarding copyright ownership.
+        The ASF licenses this file to You under the Apache License, Version 2.0
+        (the "License"); you may not use this file except in compliance with
+        the License.  You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing, software
+        distributed under the License is distributed on an "AS IS" BASIS,
+        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
+        See the License for the specific language governing permissions and
+        limitations under the License.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>16</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.jruby</artifactId>
+    <version>10.0.0.0_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar 
file.</description>
+
+    <scm>
+        
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+        
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.jruby</pkgGroupId>
+        <pkgArtifactId>jruby</pkgArtifactId>
+        <pkgVersion>10.0.0.0</pkgVersion>
+             
<servicemix.osgi.source.version>10.0.0.0.1</servicemix.osgi.source.version>
+        <servicemix.osgi.export.pkg>
+            org.jruby
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.management,
+            javax.script,
+            javax.swing,
+            javax.swing.border,
+            javax.swing.plaf.basic,
+            javax.swing.text,
+            sun.misc;resolution:=optional,
+            com.sun*;resolution:=optional,
+            com.kenai.jnr.x86asm;resolution:=optional,
+            org.apache.bsf*;resolution:=optional,
+            org.jgrapht*;resolution:=optional,
+            org.objectweb.asm*;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            builtin*;-split-package:=merge-first,
+            jruby*;-split-package:=merge-first,
+            com.kenai*;-split-package:=merge-first,
+            jline*;-split-package:=merge-first,
+            org.jcodings*;-split-package:=merge-first,
+            org.joni*;-split-package:=merge-first,
+            jnr*;-split-package:=merge-first,
+            jni*;-split-package:=merge-first,
+            org.joda*;-split-package:=merge-first,
+            jay*;-split-package:=merge-first,
+            com.martiansoftware*;-split-package:=merge-first,
+            org.apache.tools.ant*;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <!-- Not available
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        -->
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    
<include>${pkgGroupId}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            
<createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
diff --git a/jruby-10.0.0.0/src/main/resources/OSGI-INF/bundle.info 
b/jruby-10.0.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..4519d3005
--- /dev/null
+++ b/jruby-10.0.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,16 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    JRuby is a 100% Java implementation of the Ruby programming language. It 
is Ruby for the JVM.
+
+    JRuby provides a complete set of core "builtin" classes and syntax for the 
Ruby language, as well as most of the
+    Ruby Standard Libraries. The standard libraries are mostly Ruby's own 
complement of .rb files, but a few that
+    depend on C language-based extensions have been reimplemented. Some are 
still missing, but we hope to implement as
+    many as is feasible.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.jruby.org/\u001B[0m
diff --git a/pom.xml b/pom.xml
index dfd92a8a3..8b724235a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -216,6 +216,7 @@
 <module>spring-data-commons-3.4.5</module>
 <module>spring-data-keyvalue-3.4.5</module>
 <module>spring-data-redis-3.4.5</module>
+<module>jruby-10.0.0.0</module>
     </modules>
 
 </project>

Reply via email to