cache-tests
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<version>1.1.1</version>
</dependency><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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>javax.cache</groupId>
<artifactId>tck-parent</artifactId>
<version>1.1.1</version>
</parent>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<packaging>jar</packaging>
<name>Cache Tests</name>
<url>https://github.com/jsr107/jsr107tck</url>
<description>Tests, that form part of the Technology Compatibility Kit for
JSR107. You should be able to test an implementation by:
1. Adding the dependency
2. Configuring the JUnit test fixtures
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>${jcache.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!--The rest come from the parent pom-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<!--Reference this using a "tests" classifier-->
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!--Required for CloudBees CI. Local builds will still work if you mvn
install jsr107api first -->
<repository>
<id>cloudbees-snapshots</id>
<url>https://repository-jsr107.forge.cloudbees.com/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jmockit-svn</id>
<url>http://jmockit.googlecode.com/svn/maven-repo</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
<repository>
<id>jboss.maven.repo</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/
</url>
</repository>
</repositories>
<profiles>
<!-- Turn this on to run TCK tests from the IDE. Without it no caching provider will be found. -->
<profile>
<id>run_tests_from_ide</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>${implementation-groupId}</groupId>
<artifactId>${implementation-artifactId}</artifactId>
<version>${implementation-version}</version>
</dependency>
<!--<dependency>-->
<!--<groupId>javax.cache</groupId>-->
<!--<!–<artifactId>spring-annotations-test-harness</artifactId>–>-->
<!--<!–<artifactId>guice-annotations-test-harness</artifactId>–>-->
<!--<artifactId>cdi-weld-annotations-test-harness</artifactId>-->
<!--<version>${project.parent.version}</version>-->
<!--</dependency>-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<systemPropertyVariables>
<java.net.preferIPv4Stack>${java.net.preferIPv4Stack}</java.net.preferIPv4Stack>
<javax.cache.CacheManager>${CacheManagerImpl}</javax.cache.CacheManager>
<javax.cache.Cache>${CacheImpl}</javax.cache.Cache>
<javax.cache.Cache.Entry>${CacheEntryImpl}</javax.cache.Cache.Entry>
<javax.cache.annotation.CacheInvocationContext>$
{CacheInvocationContextImpl}
</javax.cache.annotation.CacheInvocationContext>
</systemPropertyVariables>
<excludes>
<exclude>**/annotation/*Test.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>