servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1233842 - in /servicemix/smx4/bundles/trunk: ./ ehcache-2.5.0/ ehcache-2.5.0/src/ ehcache-2.5.0/src/main/ ehcache-2.5.0/src/main/resources/ ehcache-2.5.0/src/main/resources/OSGI-INF/
Date Fri, 20 Jan 2012 09:57:06 GMT
Author: jbonofre
Date: Fri Jan 20 09:57:05 2012
New Revision: 1233842

URL: http://svn.apache.org/viewvc?rev=1233842&view=rev
Log:
[SMX4-1051] Create OSGi bundle for ehcache 2.5.0

Added:
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/pom.xml
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/ehcache-2.5.0/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/ehcache-2.5.0/pom.xml?rev=1233842&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/ehcache-2.5.0/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/ehcache-2.5.0/pom.xml Fri Jan 20 09:57:05 2012
@@ -0,0 +1,131 @@
+<?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>8-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.ehcache</artifactId>
+    <version>2.5.0_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>net.sf.ehcache</pkgGroupId>
+        <pkgArtifactId>ehcache</pkgArtifactId>
+        <pkgVersion>2.5.0</pkgVersion>
+        <pkgJmsRepVersion>0.4</pkgJmsRepVersion>
+        <servicemix.osgi.export.pkg>
+            net.sf.ehcache
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.management*,
+            javax.naming*,
+            javax.xml.parsers,
+            org.xml.sax*,
+            javax.servlet;resolution:=optional,
+            javax.transaction*;resolution:=optional,
+            org.hibernate*;resolution:=optional,
+            org.slf4j;resolution:=optional,
+            javax.jms;resolution:=optional,
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-core</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-jmsreplication</artifactId>
+            <version>${pkgJmsRepVersion}</version>
+            <optional>true</optional>
+            <exclusions>
+                <exclusion>
+                    <groupId>net.sf.ehcache</groupId>
+                    <artifactId>ehcache</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>net.sf.ehcache</groupId>
+                    <artifactId>ehcache-core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>net.sf.ehcache</groupId>
+                    <artifactId>ehcache-terracota</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>1.4</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <transformers>
+                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                                    <manifestEntries>
+                                        <DynamicImport-Packages>*</DynamicImport-Packages>
+                                    </manifestEntries>
+                                </transformer>
+                            </transformers> 
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:${pkgArtifactId}-core</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-core</artifact>
+                                    <includes>
+                                        <include>ehcache-failsafe.xml</include>
+                                    </includes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/bundle.info?rev=1233842&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/ehcache-2.5.0/src/main/resources/OSGI-INF/bundle.info Fri
Jan 20 09:57:05 2012
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}-core/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Ehcache is an open source, standards-based cache used to boost performance, offload the
database and
+    simplify scalability. Ehcache is robust, proven and full-featured, which has made it
the most popular
+    Java-based cache with 100,000’s of production deployments.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://ehcache.org\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1233842&r1=1233841&r2=1233842&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Fri Jan 20 09:57:05 2012
@@ -62,6 +62,7 @@
       <module>cglib-2.2.2</module>
       <module>derbynet-10.8.2.2</module>
       <module>dozer-5.3.2</module>
+      <module>ehcache-2.5.0</module>
     </modules>
 
 </project>



Mime
View raw message