Repository: servicemix-bundles Updated Branches: refs/heads/master 239d60ae6 -> 578086c89
[SM-2526] Create OSGi bundle for ehcache 2.6.11 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/578086c8 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/578086c8 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/578086c8 Branch: refs/heads/master Commit: 578086c89ab36865853d3f27f0ebe560b97462af Parents: 239d60a Author: Jean-Baptiste Onofré <[email protected]> Authored: Sat May 2 07:58:12 2015 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Sat May 2 07:58:12 2015 +0200 ---------------------------------------------------------------------- ehcache-2.6.11/pom.xml | 163 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 13 ++ pom.xml | 1 + 3 files changed, 177 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/578086c8/ehcache-2.6.11/pom.xml ---------------------------------------------------------------------- diff --git a/ehcache-2.6.11/pom.xml b/ehcache-2.6.11/pom.xml new file mode 100644 index 0000000..1368f11 --- /dev/null +++ b/ehcache-2.6.11/pom.xml @@ -0,0 +1,163 @@ +<?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>12</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.ehcache</artifactId> + <version>2.6.11_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://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + </scm> + + <properties> + <pkgGroupId>net.sf.ehcache</pkgGroupId> + <pkgArtifactId>ehcache</pkgArtifactId> + <pkgVersion>2.6.11</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, + sun.misc;resolution:=optional, + * + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}-core</artifactId> + <version>${pkgVersion}</version> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}-jmsreplication</artifactId> + <version>${pkgJmsRepVersion}</version> + <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> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}-core</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}-jmsreplication</artifactId> + <version>${pkgJmsRepVersion}</version> + <classifier>sources</classifier> + <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> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <transformers> + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <manifestEntries> + <DynamicImport-Package>*</DynamicImport-Package> + </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> + <include>META-INF/services/net.sf.ehcache.EhcacheInit</include> + </includes> + </filter> + </filters> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + <createDependencyReducedPom>false</createDependencyReducedPom> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/578086c8/ehcache-2.6.11/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/ehcache-2.6.11/src/main/resources/OSGI-INF/bundle.info b/ehcache-2.6.11/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..e90cead --- /dev/null +++ b/ehcache-2.6.11/src/main/resources/OSGI-INF/bundle.info @@ -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 http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/578086c8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f61223a..e40a8b3 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,7 @@ <module>saxon-9.6.0-5</module> <module>jdom-2.0.6</module> <module>spring-data-neo4j-3.3.0.RELEASE</module> + <module>ehcache-2.6.11</module> </modules> </project>
