Download ehcache-core-2.1.0.jar file

Introduction

You can download ehcache-core-2.1.0.jar in this page.

License

The Apache Software License, Version 2.0

Type List

ehcache-core-2.1.0.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/net.sf.ehcache/ehcache-core/pom.properties
META-INF/maven/net.sf.ehcache/ehcache-core/pom.xml
ehcache-failsafe.xml
ehcache-version.properties
net.sf.ehcache.Cache.class
net.sf.ehcache.CacheEntry.class
net.sf.ehcache.CacheException.class
net.sf.ehcache.CacheManager.class
net.sf.ehcache.DefaultElementEvictionData.class
net.sf.ehcache.Ehcache.class
net.sf.ehcache.Element.class
net.sf.ehcache.ElementEvictionData.class
net.sf.ehcache.MimeTypeByteArray.class
net.sf.ehcache.ObjectExistsException.class
net.sf.ehcache.Statistics.class
net.sf.ehcache.Status.class
net.sf.ehcache.TerracottaClusteredInstanceHelper.class
net.sf.ehcache.bootstrap.BootstrapCacheLoader.class
net.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory.class
net.sf.ehcache.cluster.CacheCluster.class
net.sf.ehcache.cluster.ClusterNode.class
net.sf.ehcache.cluster.ClusterScheme.class
net.sf.ehcache.cluster.ClusterSchemeNotAvailableException.class
net.sf.ehcache.cluster.ClusterTopologyListener.class
net.sf.ehcache.cluster.NoopCacheCluster.class
net.sf.ehcache.concurrent.CacheLockProvider.class
net.sf.ehcache.concurrent.ConcurrencyUtil.class
net.sf.ehcache.concurrent.LockType.class
net.sf.ehcache.concurrent.ReadWriteLockSync.class
net.sf.ehcache.concurrent.StripedReadWriteLockSync.class
net.sf.ehcache.concurrent.Sync.class
net.sf.ehcache.config.BeanHandler.class
net.sf.ehcache.config.CacheConfiguration.class
net.sf.ehcache.config.CacheConfigurationListener.class
net.sf.ehcache.config.CacheWriterConfiguration.class
net.sf.ehcache.config.Configuration.class
net.sf.ehcache.config.ConfigurationFactory.class
net.sf.ehcache.config.ConfigurationHelper.class
net.sf.ehcache.config.CopyStrategyConfiguration.class
net.sf.ehcache.config.DiskStoreConfiguration.class
net.sf.ehcache.config.FactoryConfiguration.class
net.sf.ehcache.config.InvalidConfigurationException.class
net.sf.ehcache.config.TerracottaConfigConfiguration.class
net.sf.ehcache.config.TerracottaConfiguration.class
net.sf.ehcache.config.generator.ConfigurationGenerator.class
net.sf.ehcache.config.generator.ConfigurationSource.class
net.sf.ehcache.config.generator.ConfigurationUtil.class
net.sf.ehcache.constructs.CacheDecoratorFactory.class
net.sf.ehcache.constructs.EhcacheDecoratorAdapter.class
net.sf.ehcache.constructs.blocking.BlockingCache.class
net.sf.ehcache.constructs.blocking.CacheEntryFactory.class
net.sf.ehcache.constructs.blocking.LockTimeoutException.class
net.sf.ehcache.constructs.blocking.SelfPopulatingCache.class
net.sf.ehcache.constructs.blocking.UpdatingCacheEntryFactory.class
net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCache.class
net.sf.ehcache.constructs.web.ShutdownListener.class
net.sf.ehcache.distribution.CacheManagerPeerListener.class
net.sf.ehcache.distribution.CacheManagerPeerListenerFactory.class
net.sf.ehcache.distribution.CacheManagerPeerProvider.class
net.sf.ehcache.distribution.CacheManagerPeerProviderFactory.class
net.sf.ehcache.distribution.CachePeer.class
net.sf.ehcache.distribution.CacheReplicator.class
net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory.class
net.sf.ehcache.distribution.EventMessage.class
net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider.class
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.class
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender.class
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.class
net.sf.ehcache.distribution.PayloadUtil.class
net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.class
net.sf.ehcache.distribution.RMIBootstrapCacheLoader.class
net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory.class
net.sf.ehcache.distribution.RMICacheManagerPeerListener.class
net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.class
net.sf.ehcache.distribution.RMICacheManagerPeerProvider.class
net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory.class
net.sf.ehcache.distribution.RMICachePeer.class
net.sf.ehcache.distribution.RMICachePeer_Skel.class
net.sf.ehcache.distribution.RMICachePeer_Stub.class
net.sf.ehcache.distribution.RMICacheReplicatorFactory.class
net.sf.ehcache.distribution.RMISynchronousCacheReplicator.class
net.sf.ehcache.distribution.RemoteCacheException.class
net.sf.ehcache.event.CacheEventListener.class
net.sf.ehcache.event.CacheEventListenerFactory.class
net.sf.ehcache.event.CacheManagerEventListener.class
net.sf.ehcache.event.CacheManagerEventListenerFactory.class
net.sf.ehcache.event.CacheManagerEventListenerRegistry.class
net.sf.ehcache.event.NotificationScope.class
net.sf.ehcache.event.RegisteredEventListeners.class
net.sf.ehcache.event.TerracottaCacheEventReplication.class
net.sf.ehcache.event.TerracottaCacheEventReplicationFactory.class
net.sf.ehcache.exceptionhandler.CacheExceptionHandler.class
net.sf.ehcache.exceptionhandler.CacheExceptionHandlerFactory.class
net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy.class
net.sf.ehcache.extension.CacheExtension.class
net.sf.ehcache.extension.CacheExtensionFactory.class
net.sf.ehcache.hibernate.AbstractEhcacheProvider.class
net.sf.ehcache.hibernate.AbstractEhcacheRegionFactory.class
net.sf.ehcache.hibernate.EhCache.class
net.sf.ehcache.hibernate.EhCacheProvider.class
net.sf.ehcache.hibernate.EhCacheRegionFactory.class
net.sf.ehcache.hibernate.EhcacheJtaTransactionManagerLookup.class
net.sf.ehcache.hibernate.HibernateUtil.class
net.sf.ehcache.hibernate.SingletonEhCacheProvider.class
net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory.class
net.sf.ehcache.hibernate.ccs.AbstractEhcacheConcurrencyStrategy.class
net.sf.ehcache.hibernate.ccs.EhcacheNonstrictReadWriteCache.class
net.sf.ehcache.hibernate.ccs.EhcacheReadOnlyCache.class
net.sf.ehcache.hibernate.ccs.EhcacheReadWriteCache.class
net.sf.ehcache.hibernate.management.api.EhcacheHibernateMBean.class
net.sf.ehcache.hibernate.management.api.EhcacheStats.class
net.sf.ehcache.hibernate.management.api.HibernateStats.class
net.sf.ehcache.hibernate.management.impl.AggregateCacheRegionStats.class
net.sf.ehcache.hibernate.management.impl.BaseEmitterBean.class
net.sf.ehcache.hibernate.management.impl.BeanUtils.class
net.sf.ehcache.hibernate.management.impl.CacheRegionStats.class
net.sf.ehcache.hibernate.management.impl.CacheRegionUtils.class
net.sf.ehcache.hibernate.management.impl.CollectionStats.class
net.sf.ehcache.hibernate.management.impl.EhcacheHibernate.class
net.sf.ehcache.hibernate.management.impl.EhcacheHibernateMBeanRegistration.class
net.sf.ehcache.hibernate.management.impl.EhcacheHibernateMBeanRegistrationImpl.class
net.sf.ehcache.hibernate.management.impl.EhcacheHibernateMbeanNames.class
net.sf.ehcache.hibernate.management.impl.EhcacheStatsImpl.class
net.sf.ehcache.hibernate.management.impl.EntityStats.class
net.sf.ehcache.hibernate.management.impl.HibernateStatsImpl.class
net.sf.ehcache.hibernate.management.impl.NullHibernateStats.class
net.sf.ehcache.hibernate.management.impl.ProviderMBeanRegistrationHelper.class
net.sf.ehcache.hibernate.management.impl.QueryStats.class
net.sf.ehcache.hibernate.regions.EhcacheCollectionRegion.class
net.sf.ehcache.hibernate.regions.EhcacheDataRegion.class
net.sf.ehcache.hibernate.regions.EhcacheEntityRegion.class
net.sf.ehcache.hibernate.regions.EhcacheGeneralDataRegion.class
net.sf.ehcache.hibernate.regions.EhcacheQueryResultsRegion.class
net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion.class
net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.class
net.sf.ehcache.hibernate.strategy.AbstractEhcacheAccessStrategy.class
net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.class
net.sf.ehcache.hibernate.strategy.NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.NonStrictReadWriteEhcacheEntityRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.ReadOnlyEhcacheCollectionRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.ReadOnlyEhcacheEntityRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.ReadWriteEhcacheCollectionRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.ReadWriteEhcacheEntityRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.TransactionalEhcacheCollectionRegionAccessStrategy.class
net.sf.ehcache.hibernate.strategy.TransactionalEhcacheEntityRegionAccessStrategy.class
net.sf.ehcache.hibernate.tm.SyncTransaction.class
net.sf.ehcache.hibernate.tm.SyncTransactionManager.class
net.sf.ehcache.hibernate.tm.SyncXid.class
net.sf.ehcache.hibernate.tm.TransactionSynchronization.class
net.sf.ehcache.loader.CacheLoader.class
net.sf.ehcache.loader.CacheLoaderFactory.class
net.sf.ehcache.management.Cache.class
net.sf.ehcache.management.CacheConfiguration.class
net.sf.ehcache.management.CacheConfigurationMBean.class
net.sf.ehcache.management.CacheMBean.class
net.sf.ehcache.management.CacheManager.class
net.sf.ehcache.management.CacheManagerMBean.class
net.sf.ehcache.management.CacheStatistics.class
net.sf.ehcache.management.CacheStatisticsMBean.class
net.sf.ehcache.management.ManagementService.class
net.sf.ehcache.management.provider.MBeanRegistrationProvider.class
net.sf.ehcache.management.provider.MBeanRegistrationProviderException.class
net.sf.ehcache.management.provider.MBeanRegistrationProviderFactory.class
net.sf.ehcache.management.provider.MBeanRegistrationProviderFactoryImpl.class
net.sf.ehcache.management.provider.MBeanRegistrationProviderImpl.class
net.sf.ehcache.management.provider.NullMBeanRegistrationProvider.class
net.sf.ehcache.management.sampled.SampledCache.class
net.sf.ehcache.management.sampled.SampledCacheMBean.class
net.sf.ehcache.management.sampled.SampledCacheManager.class
net.sf.ehcache.management.sampled.SampledCacheManagerMBean.class
net.sf.ehcache.management.sampled.SampledEhcacheMBeans.class
net.sf.ehcache.management.sampled.SampledMBeanRegistrationProvider.class
net.sf.ehcache.statistics.CacheUsageListener.class
net.sf.ehcache.statistics.LiveCacheStatistics.class
net.sf.ehcache.statistics.LiveCacheStatisticsData.class
net.sf.ehcache.statistics.LiveCacheStatisticsImpl.class
net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.class
net.sf.ehcache.statistics.NullLiveCacheStatisticsData.class
net.sf.ehcache.statistics.sampled.NullSampledCacheStatistics.class
net.sf.ehcache.statistics.sampled.SampledCacheStatistics.class
net.sf.ehcache.statistics.sampled.SampledCacheStatisticsImpl.class
net.sf.ehcache.statistics.sampled.SampledCacheStatisticsWrapper.class
net.sf.ehcache.store.AbstractPolicy.class
net.sf.ehcache.store.AbstractStore.class
net.sf.ehcache.store.DiskStore.class
net.sf.ehcache.store.FifoPolicy.class
net.sf.ehcache.store.LegacyStoreWrapper.class
net.sf.ehcache.store.LfuPolicy.class
net.sf.ehcache.store.LruMemoryStore.class
net.sf.ehcache.store.LruPolicy.class
net.sf.ehcache.store.MemoryStore.class
net.sf.ehcache.store.MemoryStoreEvictionPolicy.class
net.sf.ehcache.store.Policy.class
net.sf.ehcache.store.Store.class
net.sf.ehcache.store.StoreListener.class
net.sf.ehcache.store.TerracottaStore.class
net.sf.ehcache.store.XATransactionalStore.class
net.sf.ehcache.store.chm.ConcurrentHashMap.class
net.sf.ehcache.store.chm.SelectableConcurrentHashMap.class
net.sf.ehcache.store.compound.CompoundStore.class
net.sf.ehcache.store.compound.CopyStrategy.class
net.sf.ehcache.store.compound.ElementSubstitute.class
net.sf.ehcache.store.compound.ElementSubstituteFactory.class
net.sf.ehcache.store.compound.ElementSubstituteFilter.class
net.sf.ehcache.store.compound.HashEntry.class
net.sf.ehcache.store.compound.IdentityElementSubstituteFactory.class
net.sf.ehcache.store.compound.ImmutableValueElementCopyStrategy.class
net.sf.ehcache.store.compound.InternalElementSubstituteFactory.class
net.sf.ehcache.store.compound.Segment.class
net.sf.ehcache.store.compound.SerializationCopyStrategy.class
net.sf.ehcache.store.compound.factories.CapacityLimitedInMemoryFactory.class
net.sf.ehcache.store.compound.factories.DiskOverflowStorageFactory.class
net.sf.ehcache.store.compound.factories.DiskPersistentStorageFactory.class
net.sf.ehcache.store.compound.factories.DiskStorageFactory.class
net.sf.ehcache.store.compound.factories.FileAllocationTree.class
net.sf.ehcache.store.compound.factories.InMemoryFactory.class
net.sf.ehcache.store.compound.factories.RegionSet.class
net.sf.ehcache.store.compound.impl.DiskPersistentStore.class
net.sf.ehcache.store.compound.impl.MemoryOnlyStore.class
net.sf.ehcache.store.compound.impl.OverflowToDiskStore.class
net.sf.ehcache.terracotta.ClusteredInstanceFactory.class
net.sf.ehcache.transaction.Command.class
net.sf.ehcache.transaction.StoreExpireAllElementsCommand.class
net.sf.ehcache.transaction.StorePutCommand.class
net.sf.ehcache.transaction.StorePutIfAbsentCommand.class
net.sf.ehcache.transaction.StorePutWithWriterCommandImpl.class
net.sf.ehcache.transaction.StoreRemoveAllCommand.class
net.sf.ehcache.transaction.StoreRemoveCommand.class
net.sf.ehcache.transaction.StoreRemoveElementCommand.class
net.sf.ehcache.transaction.StoreRemoveWithWriterCommand.class
net.sf.ehcache.transaction.StoreReplaceCommand.class
net.sf.ehcache.transaction.StoreReplaceElementCommand.class
net.sf.ehcache.transaction.StoreWriteCommand.class
net.sf.ehcache.transaction.TransactionContext.class
net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup.class
net.sf.ehcache.transaction.manager.TransactionManagerLookup.class
net.sf.ehcache.transaction.manager.btm.EhCacheXAResourceHolder.class
net.sf.ehcache.transaction.manager.btm.EhCacheXAResourceProducer.class
net.sf.ehcache.transaction.xa.EhcacheXAException.class
net.sf.ehcache.transaction.xa.EhcacheXAResource.class
net.sf.ehcache.transaction.xa.EhcacheXAResourceImpl.class
net.sf.ehcache.transaction.xa.EhcacheXAStore.class
net.sf.ehcache.transaction.xa.EhcacheXAStoreImpl.class
net.sf.ehcache.transaction.xa.PreparedCommand.class
net.sf.ehcache.transaction.xa.PreparedCommandImpl.class
net.sf.ehcache.transaction.xa.PreparedContext.class
net.sf.ehcache.transaction.xa.PreparedContextImpl.class
net.sf.ehcache.transaction.xa.TransactionXARequestProcessor.class
net.sf.ehcache.transaction.xa.TwoPcExecutionListener.class
net.sf.ehcache.transaction.xa.VersionAwareCommand.class
net.sf.ehcache.transaction.xa.VersionAwareWrapper.class
net.sf.ehcache.transaction.xa.XARequest.class
net.sf.ehcache.transaction.xa.XARequestProcessor.class
net.sf.ehcache.transaction.xa.XATransactionContext.class
net.sf.ehcache.util.CircularLossyQueue.class
net.sf.ehcache.util.ClassLoaderUtil.class
net.sf.ehcache.util.FailSafeTimer.class
net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.class
net.sf.ehcache.util.NamedThreadFactory.class
net.sf.ehcache.util.ProductInfo.class
net.sf.ehcache.util.PropertyUtil.class
net.sf.ehcache.util.TimeUtil.class
net.sf.ehcache.util.UpdateChecker.class
net.sf.ehcache.util.counter.Counter.class
net.sf.ehcache.util.counter.CounterConfig.class
net.sf.ehcache.util.counter.CounterImpl.class
net.sf.ehcache.util.counter.CounterManager.class
net.sf.ehcache.util.counter.CounterManagerImpl.class
net.sf.ehcache.util.counter.sampled.SampledCounter.class
net.sf.ehcache.util.counter.sampled.SampledCounterConfig.class
net.sf.ehcache.util.counter.sampled.SampledCounterImpl.class
net.sf.ehcache.util.counter.sampled.SampledRateCounter.class
net.sf.ehcache.util.counter.sampled.SampledRateCounterConfig.class
net.sf.ehcache.util.counter.sampled.SampledRateCounterImpl.class
net.sf.ehcache.util.counter.sampled.TimeStampedCounterValue.class
net.sf.ehcache.writer.AbstractCacheWriter.class
net.sf.ehcache.writer.CacheWriter.class
net.sf.ehcache.writer.CacheWriterFactory.class
net.sf.ehcache.writer.CacheWriterManager.class
net.sf.ehcache.writer.CacheWriterManagerException.class
net.sf.ehcache.writer.writebehind.CastingOperationConverter.class
net.sf.ehcache.writer.writebehind.CoalesceKeysFilter.class
net.sf.ehcache.writer.writebehind.OperationConverter.class
net.sf.ehcache.writer.writebehind.OperationsFilter.class
net.sf.ehcache.writer.writebehind.WriteBehind.class
net.sf.ehcache.writer.writebehind.WriteBehindManager.class
net.sf.ehcache.writer.writebehind.WriteBehindQueue.class
net.sf.ehcache.writer.writebehind.operations.BatchOperation.class
net.sf.ehcache.writer.writebehind.operations.DeleteAllOperation.class
net.sf.ehcache.writer.writebehind.operations.DeleteOperation.class
net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation.class
net.sf.ehcache.writer.writebehind.operations.SingleOperation.class
net.sf.ehcache.writer.writebehind.operations.SingleOperationType.class
net.sf.ehcache.writer.writebehind.operations.WriteAllOperation.class
net.sf.ehcache.writer.writebehind.operations.WriteOperation.class
net.sf.ehcache.writer.writethrough.WriteThroughManager.class

Pom

ehcache-core-2.1.0.pom file content.

<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>net.sf.ehcache</groupId>
        <artifactId>ehcache-parent</artifactId>
        <version>2.1</version>
    </parent>
    <artifactId>ehcache-core</artifactId>
    <packaging>jar</packaging>
    <version>2.1.0</version>
    <name>Ehcache Core</name>
    <description>This is the ehcache core module. Pair it with other modules for added
        functionality.
    </description>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>src/assemble/LICENSE.txt</url>
        </license>
    </licenses>
    <url>http://ehcache.org</url>


    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <net.sf.ehcache.speedAdjustmentFactor>5</net.sf.ehcache.speedAdjustmentFactor>
        <name>ehcache</name>
    </properties>

    <dependencies>
        <!--Required scope-->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.5.11</version>
            <scope>compile</scope>
        </dependency>

        <!--
              With slf4j, users must choose a concrete logging implementation at
              deploy time, which they provide The maven dependency declarations are
              reproduced here for convenience. <dependency>
              <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId>
              <version>1.5.11</version> </dependency> <dependency>
              <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId>
              <version>1.5.11</version> </dependency> <dependency>
              <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId>
              <version>1.5.11</version> </dependency>
          -->

        <!--
              Provided scope. This one, or another concrete logging implementation
              must be provided.
          -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-jdk14</artifactId>
            <version>1.5.11</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>3.5.1-Final</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.codehaus.btm</groupId>
            <artifactId>btm</artifactId>
            <version>1.3.3</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.1</version>
            <scope>provided</scope>
        </dependency>

        <!-- Test scope -->
        <dependency>
            <groupId>net.sf.hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.4.GA</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-ehcache</artifactId>
            <version>3.3.2.GA</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.derby</groupId>
            <artifactId>derby</artifactId>
            <version>10.5.3.0_1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.8.2</version>
            <scope>test</scope>
        </dependency>
        <!--
        <dependency>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache-terracotta</artifactId>
            <version>2.1.0</version>
            <scope>test</scope>
        </dependency>
        -->
    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>${basedir}/src/main/config/jcache</directory>
            </testResource>
            <testResource>
                <directory>${basedir}/src/test/resources</directory>
            </testResource>
        </testResources>
        <filters>
            <filter>${project.build.directory}/filter.properties</filter>
        </filters>

        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
                <executions>
                    <execution>
                        <id>compile_for_javadoc</id>
                        <phase>pre-site</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.3</version>

                <configuration>
                    <author>true</author>
                    <bottom>true</bottom>
                    <!--<destDir>${project.build.directory}/site/javadoc</destDir>-->
                    <header><![CDATA[<a href="/" target="_top">ehcache</a>]]></header>
                    <minmemory>128m</minmemory>
                    <maxmemory>512</maxmemory>
                    <overview>${basedir}/src/main/java/net/sf/ehcache/overview.html
                    </overview>
                    <use>true</use>
                    <version>true</version>
                    <windowtitle>${project.name} ${project.version} API</windowtitle>
                </configuration>

                <executions>
                    <execution>
                        <id>generate-javadoc</id>
                        <phase>pre-site</phase>
                        <goals>
                            <goal>javadoc</goal>
                        </goals>
                        <configuration>
                            <doclet>ydoc.doclets.YStandard</doclet>
                            <docletPath>
                                ${ydoc.home}/lib/ydoc.jar${path.separator}${ydoc.home}/lib/class2svg.jar${path.separator}${ydoc.home}/resources
                            </docletPath>
                            <additionalparam>-license ${ydoc.license} -filter
                                ydoc.filters.ExcludeFilter -filterpath
                                ${ydoc.home}/lib/ydoc.jar -umlautogen
                            </additionalparam>
                            <author>true</author>
                            <bottom>true</bottom>
                            <!--<destDir>${project.build.directory}/site/javadoc</destDir>-->
                            <header>
                                <![CDATA[<a href="/" target="_top">ehcache</a>]]></header>
                            <minmemory>128m</minmemory>
                            <maxmemory>512</maxmemory>
                            <overview>${basedir}/src/main/java/net/sf/ehcache/overview.html
                            </overview>
                            <use>true</use>
                            <version>true</version>
                            <windowtitle>${project.name} ${project.version} API
                            </windowtitle>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
                <version>1.0-beta-3</version>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>create</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <doCheck>false</doCheck>
                    <doUpdate>false</doUpdate>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.3</version>
                <executions>
                    <execution>
                        <id>rmic</id>
                        <phase>compile</phase>
                        <configuration>
                            <tasks>
                                <rmic base="${project.build.outputDirectory}"
                                      includes="**/RMICachePeer.class"
                                      compiler="forking">
                                </rmic>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>

                    <!--<execution>-->
                    <!--<id>singlepageguide</id>-->
                    <!--<phase>pre-site</phase>-->
                    <!--<configuration>-->
                    <!--<tasks>-->
                    <!--<ant target="singlepageguide"/>-->
                    <!--</tasks>-->
                    <!--</configuration>-->
                    <!--<goals>-->
                    <!--<goal>run</goal>-->
                    <!--</goals>-->
                    <!--</execution>-->

                    <!--<execution>-->
                        <!--<id>unhide_embedded_html</id>-->
                        <!--<phase>site</phase>-->
                        <!--<configuration>-->
                            <!--<tasks>-->
                                <!--<ant target="unhide_html"/>-->
                            <!--</tasks>-->
                        <!--</configuration>-->
                        <!--<goals>-->
                            <!--<goal>run</goal>-->
                        <!--</goals>-->
                    <!--</execution>-->

                    <execution>
                        <id>copy_files</id>
                        <phase>site</phase>
                        <configuration>
                            <tasks>
                                <ant target="copy_files"/>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>

                    <execution>
                        <id>build_info</id>
                        <phase>generate-resources</phase>
                        <configuration>
                            <tasks>
                                <mkdir dir="${project.build.directory}"/>
                                <tstamp>
                                    <format property="last.updated"
                                            pattern="yyyy-MM-dd hh:mm:ss"/>
                                </tstamp>
                                <echo file="${project.build.directory}/filter.properties"
                                      message="build.time=${last.updated}${line.separator}"/>
                                <echo file="${project.build.directory}/filter.properties"
                                      append="true"
                                      message="build.revision=${buildNumber}${line.separator}"/>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>

                </executions>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.0.3</version>
                <!--<executions>-->
                <!--<execution>-->
                <!--<id>attach-sources</id>-->
                <!--<phase>package</phase>-->
                <!--<goals>-->
                <!--<goal>jar</goal>-->
                <!--</goals>-->
                <!--</execution>-->
                <!--</executions>-->
            </plugin>
            <!-- temp ingore since test is ignored
            <plugin>
                <groupId>org.terracotta.maven.plugins</groupId>
                <artifactId>tc-maven-plugin</artifactId>
                <version>1.6.0-SNAPSHOT</version>
                <executions>
                    <execution>
                        <id>run-integration</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>run-integration</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>terminate-integration</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>terminate-integration</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin> -->

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <inherited>true</inherited>
                <configuration>
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
                        <exclude>**/*$*</exclude>
                        <exclude>**/Abstract*Test.java</exclude>
                        <exclude>**/RMICacheReplicatorWithLargePayloadTest.java</exclude>
                    </excludes>
                    <forkMode>pertest</forkMode>
                    <debugForkedProcess>true</debugForkedProcess>
                    <childDelegation>false</childDelegation>
                    <disableXmlReport>false</disableXmlReport>
                    <printSummary>true</printSummary>
                    <reportFormat>plain</reportFormat>
                    <redirectTestOutputToFile>false</redirectTestOutputToFile>
                    <systemProperties>
                        <property>
                            <name>net.sf.ehcache.skipUpdateCheck</name>
                            <value>true</value>
                        </property>
                        <property>
                            <name>java.awt.headless</name>
                            <value>true</value>
                        </property>
                        <property>
                            <name>
                                net.sf.ehcache.speedAdjustmentFactor
                            </name>
                            <value>
                                ${net.sf.ehcache.speedAdjustmentFactor}
                            </value>
                        </property>
                    </systemProperties>
                </configuration>
                <executions>
                    <execution>
                        <!-- Run RMICacheReplicatorWithLargePayloadTest with 256 MB heap -->
                        <id>large-heap-test-execution</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <excludes>
                                <exclude>**/*$*</exclude>
                            </excludes>
                            <includes>
                                <include>**/RMICacheReplicatorWithLargePayloadTest.java</include>
                                <include>**/TerracottaIntegrationTest.java</include>
                            </includes>
                            <argLine>-Xms512m -Xmx512m</argLine>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!--
                   <plugin> <groupId>org.apache.felix</groupId>
                   <artifactId>maven-bundle-plugin</artifactId>
                   <extensions>true</extensions> <configuration> <instructions>
                   <Bundle-SymbolicName> ${pom.artifactId} </Bundle-SymbolicName>
                   <Export-Package> *;version=${pom.version} </Export-Package>
                   <Import-Package>
                   net.sf.hibernate.cache;resolution:=optional,*;-split-package:=merge-first
                   </Import-Package> </instructions> <classifier>osgi</classifier>
                   </configuration> <executions> <execution> <id>bundle</id>
                   <phase>package</phase> <goals> <goal>bundle</goal> </goals>
                   </execution> </executions> </plugin>
               -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <phase>install</phase>
                        <goals>
                            <goal>checkstyle</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <configLocation>${basedir}/checkstyle/checkstyle.xml
                    </configLocation>
                    <suppressionsLocation>${basedir}/checkstyle/suppressions.xml
                    </suppressionsLocation>
                    <headerLocation>${basedir}/checkstyle/ClassHeader.txt
                    </headerLocation>
                    <enableRSS>false</enableRSS>
                    <linkXRef>true</linkXRef>
                    <consoleOutput>true</consoleOutput>
                    <failsOnError>true</failsOnError>
                    <failOnViolation>true</failOnViolation>
                    <includeTestSourceDirectory>false</includeTestSourceDirectory>
                    <enableRulesSummary>true</enableRulesSummary>
                </configuration>
            </plugin>

            <!--
                   Use this to specify a different template. It also needs a local copy
                   of maven-base.css
               -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>2.1</version>
                <configuration>
                    <templateFile>${basedir}/src/site/default-site-ehcache.vm
                    </templateFile>
                </configuration>
            </plugin>


            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <filters>
                        <filter>src/assemble/filter.properties</filter>
                    </filters>
                    <descriptors>
                        <descriptor>src/assemble/distribution.xml</descriptor>
                    </descriptors>
                    <tarLongFileMode>gnu</tarLongFileMode>
                </configuration>
                <!--<executions>-->
                <!--<execution>-->
                <!--<id>assemble</id>-->
                <!--<phase>verify</phase>-->
                <!--<goals>-->
                <!--<goal>assembly</goal>-->
                <!--</goals>-->
                <!--</execution>-->
                <!--</executions>-->
            </plugin>

        </plugins>
    </build>

    <profiles>
        <profile>
            <id>staging</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>


    <!-- Reports -->
    <reporting>
        <plugins>

            <!--Reports -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>2.1.2</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>project-team</report>
                            <report>mailing-list</report>
                            <report>issue-tracking</report>
                            <report>license</report>
                            <report>scm</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <!--Manual Changelist -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <issueLinkTemplatePerSystem>
                        <JIRA>https://jira.terracotta.org/jira/browse/%ISSUE%</JIRA>
                    </issueLinkTemplatePerSystem>
                </configuration>

                <reportSets>
                    <reportSet>
                        <reports>
                            <report>changes-report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <!--Java Cross Reference (JXR) -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jxr-maven-plugin</artifactId>
                <version>2.0-beta-1</version>
                <configuration>
                    <outputDirectory>${project.build.directory}/site</outputDirectory>
                    <docTitle>ehcache</docTitle>
                </configuration>
            </plugin>


        </plugins>
    </reporting>

    <!-- The JBoss repository is only here to satisfy the 'provided' dependency on hibernate-core -->
    <repositories>
        <repository>
	    <id>jboss-releases</id>
	    <url>http://repository.jboss.org/maven2</url>
	    <releases>
	        <enabled>true</enabled>
	    </releases>
	    <snapshots>
	        <enabled>false</enabled>
	    </snapshots>
	</repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>terracotta-snapshots</id>
            <url>http://www.terracotta.org/download/reflector/maven2</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

    <distributionManagement>
        <repository>
            <id>sourceforge-releases</id>
            <name>Sourceforge Release Repository</name>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
            <id>sourceforge-snapshots</id>
            <name>Sourceforge Snapshot Repository</name>
            <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots
            </url>
        </snapshotRepository>


        <!--
              The server id here defined must also appear in ~/.m2/settings.xml
              with username Note: site URL repeated here to ensure correct
              deployment path
          -->
        <site>
            <id>ehcache.org</id>
            <name>EHCache Site</name>
            <url>dav:https://echache-stage.terracotta.lan/export1/ehcache.org
            </url>
        </site>
    </distributionManagement>

    <scm>
        <connection>scm:svn:http://svn.terracotta.org/svn/ehcache/trunk
        </connection>
        <developerConnection>scm:svn:https://svn.terracotta.org/repo/ehcache/trunk
        </developerConnection>
        <tag/>
        <url>http://svn.terracotta.org/svn/ehcache/trunk</url>
    </scm>

    <issueManagement>
        <system>JIRA</system>
        <url>https://jira.terracotta.org/jira/browse/EHC</url>
    </issueManagement>

</project>

POM Entry

<dependency>
   <groupId>net.sf.ehcache</groupId>
   <artifactId>ehcache-core</artifactId>
   <version>2.1.0</version>
</dependency>

Download

If you think the following ehcache-core-2.1.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download ehcache-core-2.1.0.jar file




PreviousNext

Related