Ehcache Web Filters.
Web caching filters..
Here is the list of declaration for ehcache-web. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-web</artifactId> <version>2.0.0</version> </dependency>
If you think this Maven repository POM file listing for ehcache-web is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The ehcache-web-2.0.0 has 3 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 60 |
Log | slf4j-jdk14 1.5.8 The slf4j JDK14 binding | 40 |
Testing Mock | mockito-all 1.8.0 Mock objects library for java | 19 |
The following plugins are used in the ehcache-web-2.0.0.jar
The following packages are defined in the ehcache-web-2.0.0.jar
net.sf.ehcache.constructs.web net.sf.ehcache.constructs.web.filter
Here is the content of the POM file.
<?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/maven-v4_0_0.xsd"> <!--mvn -Ptest verify to do a test build--> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-parent</artifactId> <version>2.0</version> </parent> <name>Ehcache Web Filters</name> <artifactId>ehcache-web</artifactId> <packaging>jar</packaging> <version>2.0.0</version> <description><![CDATA[Web caching filters.]]> </description> <dependencies> <dependency> <groupId>${pom.groupId}</groupId> <artifactId>ehcache-core</artifactId> <version>[1.7.1,]</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>1.5.8</version> <scope>test</scope> </dependency> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>httpunit</groupId> <artifactId>httpunit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.8.0</version> <scope>test</scope> </dependency> </dependencies> <properties> <maven.test.skip>true</maven.test.skip> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <profiles> <profile> <id>test</id> <activation> <property> <name>env</name> <value>test</value> </property> </activation> <properties> <maven.test.skip>false</maven.test.skip> </properties> <dependencies> <!--With slf4j, users choose a concrete logging implementation at deploy time, which they provide--> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>1.5.8</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.0.2</version> <executions> <execution> <phase>package</phase> <goals> <goal>war</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.17</version> <configuration> <contextPath>/</contextPath> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>9090</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <scanIntervalSeconds>10</scanIntervalSeconds> <stopKey>foo</stopKey> <stopPort>9999</stopPort> </configuration> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <goals> <goal>run-war</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>post-integration-test</phase> <goals> <goal>stop</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>**/web/**/*</exclude> <exclude>**/Abstract*Test.java</exclude> <exclude>**/constructs/web/**</exclude> </excludes> <forkMode>never</forkMode> <childDelegation>false</childDelegation> <disableXmlReport>false</disableXmlReport> <printSummary>true</printSummary> <reportFormat>plain</reportFormat> <redirectTestOutputToFile>true</redirectTestOutputToFile> <systemProperties> <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> <id>integration-tests</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <redirectTestOutputToFile>true </redirectTestOutputToFile> <forkMode>never</forkMode> <includes> <include>**/web/**/*Test.java</include> </includes> <excludes> <exclude>**/*$*</exclude> </excludes> <enableAssertions>false</enableAssertions> <useSystemClassLoader>false</useSystemClassLoader> <additionalClasspathElements> <additionalClasspathElement>target/classes </additionalClasspathElement> </additionalClasspathElements> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-clover2-plugin</artifactId> <configuration> <license><![CDATA[f8f1ea99d9fd4fab107592960]]></license> </configuration> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.3</version> <executions> <execution> <phase>verify</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> <enableRulesSummary>false</enableRulesSummary> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> <failOnViolation>true</failOnViolation> <includeTestSourceDirectory>true</includeTestSourceDirectory> <enableRulesSummary>true</enableRulesSummary> </configuration> </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> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <filters> <filter>src/assemble/filter.properties</filter> </filters> <descriptors> <descriptor>src/assemble/distribution.xml</descriptor> </descriptors> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <excludes> <exclude>**/servlet/**</exclude> </excludes> </configuration> </plugin> </plugins> </build> <contributors> <contributor> <name>Craig Andrews</name> <email/> <url/> <organization/> <organizationUrl/> <roles> <role>Developer</role> </roles> <timezone>+10</timezone> <properties> <contribution>Contributed to the CachingHeaders implementation. </contribution> </properties> </contributor> </contributors> <!-- Note: site URL repeated here to ensure correct deployment path --> <distributionManagement> <!-- The server id here defined must also appear in ~/.m2/settings.xml with username --> <repository> <id>sourceforge-releases</id> <name>Sourceforge Release Repository</name> <url>http://oss.sonatype.org/content/repositories/sourceforge-releases</url> </repository> <snapshotRepository> <id>sourceforge-snapshots</id> <name>Sourceforge Snapshot Repository</name> <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots</url> </snapshotRepository> </distributionManagement> </project>