You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2014/04/02 14:31:41 UTC

svn commit: r1584000 - in /servicemix/smx4/bundles/trunk: ./ spring-orm-4.0.3.RELEASE/ spring-orm-4.0.3.RELEASE/src/ spring-orm-4.0.3.RELEASE/src/main/ spring-orm-4.0.3.RELEASE/src/main/resources/ spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/

Author: jbonofre
Date: Wed Apr  2 12:31:41 2014
New Revision: 1584000

URL: http://svn.apache.org/r1584000
Log:
[SMX4-1727] Create OSGi bundle for spring-orm 4.0.3.RELEASE

Added:
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/pom.xml
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1584000&r1=1583999&r2=1584000&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Wed Apr  2 12:31:41 2014
@@ -81,6 +81,7 @@
         <module>spring-jdbc-4.0.3.RELEASE</module>
         <module>spring-jms-4.0.3.RELEASE</module>
         <module>spring-messaging-4.0.3.RELEASE</module>
+        <module>spring-orm-4.0.3.RELEASE</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/pom.xml?rev=1584000&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/pom.xml Wed Apr  2 12:31:41 2014
@@ -0,0 +1,213 @@
+<?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>11</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spring-orm</artifactId>
+    <version>4.0.3.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <properties>
+        <pkgGroupId>org.springframework</pkgGroupId>
+        <pkgArtifactId>spring-orm</pkgArtifactId>
+        <pkgVersion>4.0.3.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.ibatis.common.xml;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.client;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.client.event;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.engine.builder.xml;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.engine.impl;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.engine.transaction;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.engine.transaction.external;version="[2.3.4,3)";resolution:=optional,
+            com.ibatis.sqlmap.engine.type;version="[2.3.4,3)";resolution:=optional,
+            javax.jdo;version="[2,3)";resolution:=optional,
+            javax.jdo.datastore;version="[2,3)";resolution:=optional,
+            javax.persistence;version="[1,3)";resolution:=optional,
+            javax.persistence.criteria;version="[1,3)";resolution:=optional,
+            javax.persistence.metamodel;version="[1,3)";resolution:=optional,
+            javax.persistence.spi;version="[1,3)";resolution:=optional,
+            javax.servlet;version="[2.5,4)";resolution:=optional,
+            javax.servlet.http;version="[2.5,4)";resolution:=optional,
+            javax.sql;resolution:=optional,
+            javax.transaction;version="[1.0.1,2)";resolution:=optional,
+            javax.xml.parsers;resolution:=optional,
+            oracle.toplink.essentials.ejb.cmp3;version="[2,3)";resolution:=optional,
+            oracle.toplink.essentials.expressions;version="[2,3)";resolution:=optional,
+            oracle.toplink.essentials.internal.databaseaccess;version="[2,3)";resolution:=optional,
+            oracle.toplink.essentials.internal.sessions;version="[2,3)";resolution:=optional,
+            oracle.toplink.essentials.sessions;version="[2,3)";resolution:=optional,
+            org.aopalliance.intercept;version="[1,2)",
+            org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
+            org.apache.openjpa.persistence;version="[1,3)";resolution:=optional,
+            org.eclipse.persistence.config;version="[1,3)";resolution:=optional,
+            org.eclipse.persistence.internal.databaseaccess;version="[1,3)";resolution:=optional,
+            org.eclipse.persistence.internal.sessions;version="[1,3)";resolution:=optional,
+            org.eclipse.persistence.jpa;version="[1,3)";resolution:=optional,
+            org.eclipse.persistence.sessions;version="[1,3)";resolution:=optional,
+            org.hibernate;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.annotations;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.cache;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.cache.access;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.cache.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.cfg;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.classic;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.connection;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.context;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.context.internal;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.context.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.criterion;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.dialect;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.dialect.lock;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.ejb;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.engine;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.engine.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.engine.transaction.internal.jta;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.engine.transaction.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.event;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.event.def;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.exception;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.impl;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.jdbc;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.persister.entity;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.service;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.service.jdbc.connections.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.service.jta.platform.internal;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.service.jta.platform.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.service.spi;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.tool.hbm2ddl;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.transaction;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.transform;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.type;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.usertype;version="[3.3.1,5)";resolution:=optional,
+            org.hibernate.util;version="[3.3.1,5)";resolution:=optional,
+            org.springframework.aop.scope;version=${pkgVersion},
+            org.springframework.aop.support;version=${pkgVersion},
+            org.springframework.beans;version=${pkgVersion},
+            org.springframework.beans.factory;version=${pkgVersion},
+            org.springframework.beans.factory.annotation;version=${pkgVersion},
+            org.springframework.beans.factory.config;version=${pkgVersion},
+            org.springframework.beans.factory.support;version=${pkgVersion},
+            org.springframework.context;version=${pkgVersion},
+            org.springframework.context.weaving;version=${pkgVersion},
+            org.springframework.core;version=${pkgVersion},
+            org.springframework.core.io;version=${pkgVersion},
+            org.springframework.core.io.support;version=${pkgVersion},
+            org.springframework.core.type;version=${pkgVersion},
+            org.springframework.core.type.classreading;version=${pkgVersion},
+            org.springframework.core.type.filter;version=${pkgVersion},
+            org.springframework.dao;version=${pkgVersion},
+            org.springframework.dao.support;version=${pkgVersion},
+            org.springframework.instrument;version=${pkgVersion};resolution:=optional,
+            org.springframework.instrument.classloading;version=${pkgVersion};resolution:=optional,
+            org.springframework.jdbc;version=${pkgVersion},
+            org.springframework.jdbc.datasource;version=${pkgVersion},
+            org.springframework.jdbc.datasource.lookup;version=${pkgVersion},
+            org.springframework.jdbc.support;version=${pkgVersion},
+            org.springframework.jdbc.support.lob;version=${pkgVersion},
+            org.springframework.jndi;version=${pkgVersion};resolution:=optional,
+            org.springframework.transaction;version=${pkgVersion},
+            org.springframework.transaction.jta;version=${pkgVersion},
+            org.springframework.transaction.support;version=${pkgVersion},
+            org.springframework.ui;version=${pkgVersion};resolution:=optional,
+            org.springframework.util;version=${pkgVersion};resolution:=optional,
+            org.springframework.util.xml;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.request;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.request.async;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.filter;version=${pkgVersion};resolution:=optional,
+            org.w3c.dom;resolution:=optional,
+            org.xml.sax;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-beans</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-jdbc</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-tx</artifactId>
+                </exclusion>
+            </exclusions>
+        </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>

Added: servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/bundle.info?rev=1584000&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/spring-orm-4.0.3.RELEASE/src/main/resources/OSGI-INF/bundle.info Wed Apr  2 12:31:41 2014
@@ -0,0 +1,11 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Spring Framework ORM module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m