Author: ningjiang
Date: Wed Apr 20 01:24:41 2011
New Revision: 1095248
URL: http://svn.apache.org/viewvc?rev=1095248&view=rev
Log:
SMX4-809 camel-cache ehcache cache repilication using ehcache-jmsreplication
Modified:
servicemix/smx4/bundles/trunk/ehcache-2.3.0/pom.xml
Modified: servicemix/smx4/bundles/trunk/ehcache-2.3.0/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/ehcache-2.3.0/pom.xml?rev=1095248&r1=1095247&r2=1095248&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/ehcache-2.3.0/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/ehcache-2.3.0/pom.xml Wed Apr 20 01:24:41 2011
@@ -39,6 +39,7 @@
<pkgGroupId>net.sf.ehcache</pkgGroupId>
<pkgArtifactId>ehcache</pkgArtifactId>
<pkgVersion>2.3.0</pkgVersion>
+ <pkgJmsRepVersion>0.4</pkgJmsRepVersion>
<servicemix.osgi.export.pkg>
net.sf.ehcache
</servicemix.osgi.export.pkg>
@@ -52,6 +53,7 @@
javax.transaction*;resolution:=optional,
org.hibernate*;resolution:=optional,
org.slf4j;resolution:=optional,
+ javax.jms;resolution:=optional,
*
</servicemix.osgi.import.pkg>
</properties>
@@ -63,6 +65,26 @@
<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>
@@ -70,6 +92,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
+ <version>1.4</version>
<executions>
<execution>
<phase>package</phase>
@@ -77,6 +100,13 @@
<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>