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 f9d20934c SM-5808: Create OSGi bundles for spring-batch 5.2.2
f9d20934c is described below

commit f9d20934c9dc994a5788037d9035f779be5147e7
Author: JB Onofré <[email protected]>
AuthorDate: Sat May 3 12:59:02 2025 +0200

    SM-5808: Create OSGi bundles for spring-batch 5.2.2
---
 pom.xml                                            |   2 +
 spring-batch-core-5.2.2/pom.xml                    | 192 +++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info        |  13 ++
 spring-batch-infrastructure-5.2.2/pom.xml          | 171 ++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info        |  13 ++
 5 files changed, 391 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9f4a3e4ca..b12dfac21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,6 +220,8 @@
 <module>kafka_2.13-4.0.0</module>
 <module>kafka-clients-4.0.0</module>
 <module>kafka-streams-4.0.0</module>
+<module>spring-batch-core-5.2.2</module>
+<module>spring-batch-infrastructure-5.2.2</module>
     </modules>
 
 </project>
diff --git a/spring-batch-core-5.2.2/pom.xml b/spring-batch-core-5.2.2/pom.xml
new file mode 100644
index 000000000..a1edbb970
--- /dev/null
+++ b/spring-batch-core-5.2.2/pom.xml
@@ -0,0 +1,192 @@
+<?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.spring-batch-core</artifactId>
+    <version>5.2.2_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <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.springframework.batch</pkgGroupId>
+        <pkgArtifactId>spring-batch-core</pkgArtifactId>
+        <pkgVersion>5.2.2</pkgVersion>
+        
<servicemix.osgi.source.version>5.2.2.1</servicemix.osgi.source.version>
+        <servicemix.osgi.export.pkg>
+            org.springframework.batch.core
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.fasterxml.jackson.core.type;resolution:=optional,
+            com.fasterxml.jackson.databind;resolution:=optional,
+            com.thoughtworks.xstream;resolution:=optional, 
+            
com.thoughtworks.xstream.converters.reflection;resolution:=optional, 
+            com.thoughtworks.xstream.io;resolution:=optional, 
+            com.thoughtworks.xstream.io.json;resolution:=optional, 
+            jakarta.annotation, 
+            javax.batch.api;resolution:=optional, 
+            javax.batch.api.chunk;resolution:=optional, 
+            javax.batch.api.chunk.listener;resolution:=optional, 
+            javax.batch.api.listener;resolution:=optional, 
+            javax.batch.api.partition;resolution:=optional, 
+            javax.batch.operations;resolution:=optional, 
+            javax.batch.runtime;resolution:=optional, 
+            javax.batch.runtime.context;resolution:=optional, 
+            javax.sql, 
+            org.aopalliance.aop;resolution:=optional, 
+            org.aopalliance.intercept;resolution:=optional, 
+            org.apache.commons.logging;resolution:=optional, 
+            org.aspectj.lang.annotation;resolution:=optional, 
+            org.springframework.aop;resolution:=optional, 
+            org.springframework.aop.framework;resolution:=optional, 
+            org.springframework.aop.scope;resolution:=optional, 
+            org.springframework.aop.support;resolution:=optional, 
+            org.springframework.aop.target;resolution:=optional, 
+            org.springframework.batch.item;resolution:=optional, 
+            org.springframework.batch.item.adapter;resolution:=optional, 
+            
org.springframework.batch.item.database.support;resolution:=optional, 
+            org.springframework.batch.item.support;resolution:=optional, 
+            org.springframework.batch.item.util;resolution:=optional, 
+            org.springframework.batch.jsr.item;resolution:=optional, 
+            org.springframework.batch.jsr.repeat;resolution:=optional, 
+            org.springframework.batch.repeat;resolution:=optional, 
+            org.springframework.batch.repeat.context;resolution:=optional, 
+            org.springframework.batch.repeat.exception;resolution:=optional, 
+            org.springframework.batch.repeat.policy;resolution:=optional, 
+            org.springframework.batch.repeat.support;resolution:=optional, 
+            org.springframework.batch.support;resolution:=optional, 
+            
org.springframework.batch.support.transaction;resolution:=optional, 
+            org.springframework.beans;resolution:=optional, 
+            org.springframework.beans.factory;resolution:=optional, 
+            org.springframework.beans.factory.access;resolution:=optional, 
+            org.springframework.beans.factory.annotation;resolution:=optional, 
+            org.springframework.beans.factory.config;resolution:=optional, 
+            org.springframework.beans.factory.parsing;resolution:=optional, 
+            org.springframework.beans.factory.support;resolution:=optional, 
+            org.springframework.beans.factory.xml;resolution:=optional, 
+            org.springframework.classify;resolution:=optional, 
+            org.springframework.context;resolution:=optional, 
+            org.springframework.context.access;resolution:=optional, 
+            org.springframework.context.annotation;resolution:=optional, 
+            org.springframework.context.event;resolution:=optional, 
+            org.springframework.context.expression;resolution:=optional, 
+            org.springframework.context.support;resolution:=optional, 
+            org.springframework.core;resolution:=optional, 
+            org.springframework.core.annotation;resolution:=optional, 
+            org.springframework.core.env;resolution:=optional, 
+            org.springframework.core.io;resolution:=optional, 
+            org.springframework.core.serializer;resolution:=optional, 
+            org.springframework.core.task;resolution:=optional,  
+            org.springframework.core.type;resolution:=optional, 
+            org.springframework.dao;resolution:=optional, 
+            org.springframework.jdbc.core;resolution:=optional, 
+            org.springframework.jdbc.core.simple;resolution:=optional, 
+            org.springframework.jdbc.datasource;resolution:=optional, 
+            org.springframework.jdbc.support.incrementer;resolution:=optional, 
+            org.springframework.jdbc.support.lob;resolution:=optional, 
+            org.springframework.retry;resolution:=optional, 
+            org.springframework.retry.backoff;resolution:=optional, 
+            org.springframework.retry.context;resolution:=optional, 
+            org.springframework.retry.listener;resolution:=optional, 
+            org.springframework.retry.policy;resolution:=optional, 
+            org.springframework.retry.support;resolution:=optional, 
+            org.springframework.scheduling.concurrent;resolution:=optional, 
+            org.springframework.stereotype;resolution:=optional, 
+            org.springframework.transaction;resolution:=optional, 
+            org.springframework.transaction.annotation;resolution:=optional, 
+            org.springframework.transaction.interceptor;resolution:=optional, 
+            org.springframework.transaction.support;resolution:=optional, 
+            org.springframework.util;resolution:=optional, 
+            org.springframework.util.xml;resolution:=optional, 
+            org.w3c.dom;resolution:=optional, 
+            org.w3c.dom.ls;resolution:=optional, 
+            org.w3c.dom.traversal;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </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>
+                                    <includes>
+                                        <include>**/*.properties</include>
+                                        <include>**/*.xsd</include>
+                                        <include>**/*.xml</include>
+                                        <include>**/*.sql</include>
+                                        <include>META-INF/**/*</include>
+                                    </includes>
+                                </filter>
+                            </filters>
+                            
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            
<createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/spring-batch-core-5.2.2/src/main/resources/OSGI-INF/bundle.info 
b/spring-batch-core-5.2.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..458af9b3d
--- /dev/null
+++ b/spring-batch-core-5.2.2/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    A lightweight, comprehensive batch framework designed to enable the 
+    development of robust batch applications vital for the daily operations 
+    of enterprise systems.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://projects.spring.io/spring-batch/\u001B[0m
diff --git a/spring-batch-infrastructure-5.2.2/pom.xml 
b/spring-batch-infrastructure-5.2.2/pom.xml
new file mode 100644
index 000000000..0df015b00
--- /dev/null
+++ b/spring-batch-infrastructure-5.2.2/pom.xml
@@ -0,0 +1,171 @@
+<?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.spring-batch-infrastructure</artifactId>
+    <version>5.2.2_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <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.springframework.batch</pkgGroupId>
+        <pkgArtifactId>spring-batch-infrastructure</pkgArtifactId>
+        <pkgVersion>5.2.2</pkgVersion>
+        
<servicemix.osgi.source.version>5.2.2.1</servicemix.osgi.source.version>
+        <servicemix.osgi.export.pkg>
+            org.springframework.batch
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.ibatis.sqlmap.client;resolution:=optional, 
+            com.ibatis.sqlmap.engine.execution;resolution:=optional, 
+            com.mongodb;resolution:=optional, 
+            com.mongodb.util;resolution:=optional, 
+            javax.batch.api.chunk;resolution:=optional, 
+            javax.batch.operations;resolution:=optional, 
+            jakarta.jms, 
+            jakarta.mail.internet;resolution:=optional, 
+            jakarta.persistence;resolution:=optional, 
+            javax.sql, 
+            jakarta.xml.namespace, 
+            jakarta.xml.stream, 
+            jakarta.xml.stream.events, 
+            jakarta.xml.transform, 
+            org.aopalliance.aop;resolution:=optional, 
+            org.aopalliance.intercept;resolution:=optional, 
+            org.apache.commons.logging;resolution:=optional, 
+            org.codehaus.jackson;resolution:=optional, 
+            org.codehaus.jackson.map;resolution:=optional, 
+            org.hibernate;resolution:=optional, 
+            org.slf4j;resolution:=optional, 
+            org.springframework.amqp.core;resolution:=optional, 
+            org.springframework.aop;resolution:=optional, 
+            org.springframework.aop.framework;resolution:=optional, 
+            org.springframework.aop.support;resolution:=optional, 
+            org.springframework.beans;resolution:=optional, 
+            org.springframework.beans.factory;resolution:=optional, 
+            org.springframework.classify;resolution:=optional, 
+            org.springframework.core;resolution:=optional, 
+            org.springframework.core.annotation;resolution:=optional, 
+            org.springframework.core.convert.converter;resolution:=optional, 
+            org.springframework.core.io;resolution:=optional, 
+            org.springframework.core.task;resolution:=optional, 
+            org.springframework.dao;resolution:=optional, 
+            org.springframework.data.domain;resolution:=optional, 
+            org.springframework.data.gemfire;resolution:=optional, 
+            org.springframework.data.mongodb.core;resolution:=optional, 
+            org.springframework.data.mongodb.core.query;resolution:=optional, 
+            org.springframework.data.neo4j.conversion;resolution:=optional, 
+            org.springframework.data.neo4j.template;resolution:=optional, 
+            org.springframework.data.repository;resolution:=optional, 
+            org.springframework.expression;resolution:=optional, 
+            org.springframework.expression.spel.standard;resolution:=optional, 
+            org.springframework.jdbc;resolution:=optional, 
+            org.springframework.jdbc.core;resolution:=optional, 
+            org.springframework.jdbc.core.metadata;resolution:=optional, 
+            org.springframework.jdbc.core.namedparam;resolution:=optional, 
+            org.springframework.jdbc.datasource;resolution:=optional, 
+            org.springframework.jdbc.support;resolution:=optional, 
+            org.springframework.jdbc.support.incrementer;resolution:=optional, 
+            org.springframework.jms;resolution:=optional, 
+            org.springframework.jms.core;resolution:=optional, 
+            org.springframework.ldap.core;resolution:=optional, 
+            org.springframework.ldap.ldif.parser;resolution:=optional, 
+            org.springframework.mail;resolution:=optional, 
+            org.springframework.mail.javamail;resolution:=optional, 
+            org.springframework.orm.hibernate3;resolution:=optional, 
+            org.springframework.orm.jpa;resolution:=optional, 
+            org.springframework.oxm;resolution:=optional, 
+            org.springframework.retry.interceptor;resolution:=optional, 
+            org.springframework.scripting;resolution:=optional, 
+            org.springframework.scripting.support;resolution:=optional, 
+            org.springframework.transaction;resolution:=optional, 
+            org.springframework.transaction.support;resolution:=optional, 
+            org.springframework.util;resolution:=optional, 
+            org.springframework.util.xml;resolution:=optional, 
+            org.springframework.validation;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </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/spring-batch-infrastructure-5.2.2/src/main/resources/OSGI-INF/bundle.info 
b/spring-batch-infrastructure-5.2.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..458af9b3d
--- /dev/null
+++ b/spring-batch-infrastructure-5.2.2/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    A lightweight, comprehensive batch framework designed to enable the 
+    development of robust batch applications vital for the daily operations 
+    of enterprise systems.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://projects.spring.io/spring-batch/\u001B[0m

Reply via email to