infinispan-jcache-tck-runner
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-tck-runner</artifactId> <version>9.4.24.Final</version> </dependency>
<?xml version='1.0' encoding='UTF-8'?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-parent</artifactId> <version>9.4.24.Final</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>infinispan-jcache-tck-runner</artifactId> <packaging>jar</packaging> <name>Infinispan JCACHE (JSR-107) TCK Runner</name> <description>JCACHE (JSR-107) TCK runner for Infinispan implementations</description> <properties> <domain-lib-dir>${project.build.directory}/domainlib</domain-lib-dir> <domain-jar>domain.jar</domain-jar> <tck.mbean.builder>org.infinispan.jcache.tck.TckMbeanServerBuilder</tck.mbean.builder> <tck.mbean.server>TckMbeanServer</tck.mbean.server> <!-- TODO: do they need to be different? --> <embedded.CacheManagerImpl>org.infinispan.jcache.embedded.JCacheManager</embedded.CacheManagerImpl> <embedded.CacheImpl>org.infinispan.jcache.embedded.JCache</embedded.CacheImpl> <embedded.CacheEntryImpl>org.infinispan.jcache.JCacheEntry</embedded.CacheEntryImpl> <embedded.CacheInvocationContextImpl>org.infinispan.jcache.annotation.CacheKeyInvocationContextImpl</embedded.CacheInvocationContextImpl> <remote.CacheManagerImpl>org.infinispan.jcache.remote.JCacheManager</remote.CacheManagerImpl> <remote.CacheImpl>org.infinispan.jcache.remote.JCache</remote.CacheImpl> <remote.CacheEntryImpl>org.infinispan.jcache.JCacheEntry</remote.CacheEntryImpl> <remote.CacheInvocationContextImpl>org.infinispan.jcache.annotation.CacheKeyInvocationContextImpl</remote.CacheInvocationContextImpl> <ispnserver.project.dir>${basedir}/../../server/integration/build</ispnserver.project.dir> <server.build.dist>${ispnserver.project.dir}/target/${infinispan.brand.prefix}-server-${infinispan.brand.version}</server.build.dist> <ispnserver.dist>${basedir}/target/infinispan-server</ispnserver.dist> <server.dir.parent>${project.build.directory}</server.dir.parent> <server.dir.name>infinispan-server-${project.version}</server.dir.name> <server.dir>${server.dir.parent}/${server.dir.name}</server.dir> <mcast.ip>234.99.54.14</mcast.ip> <server.jvm>${env.JAVA_HOME}</server.jvm> <server.jvm.args>${testjvm.extraArgs} ${jvm.ip.stack} ${serverMemoryJvmArgs} ${testjvm.jigsawArgs}</server.jvm.args> <jvm.ip.stack>-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -Djboss.default.multicast.address=${mcast.ip}</jvm.ip.stack> <serverMemoryJvmArgs>-Xmx500m ${testjvm.commonArgs}</serverMemoryJvmArgs> <failsafe.reportdir.embedded>${project.build.directory}/failsafe-reports-embedded</failsafe.reportdir.embedded> <failsafe.reportdir.remote>${project.build.directory}/failsafe-reports-remote</failsafe.reportdir.remote> <failsafe.summary.embedded>${failsafe.reportdir.embedded}/failsafe-summary.xml</failsafe.summary.embedded> <failsafe.summary.remote>${failsafe.reportdir.remote}/failsafe-summary.xml</failsafe.summary.remote> <default.transport.stack>udp</default.transport.stack> <transport.stack>-Djboss.default.jgroups.stack=${default.transport.stack}</transport.stack> <jvm.x64.args /> </properties> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-client-hotrod</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-commons-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.wildfly.core</groupId> <artifactId>wildfly-controller</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.infinispan.server</groupId> <artifactId>infinispan-server-build</artifactId> <type>pom</type> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.cache</groupId> <artifactId>cache-tests</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.cache</groupId> <artifactId>cache-tests</artifactId> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>javax.cache</groupId> <artifactId>cdi-weld-annotations-test-harness</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>true</filtering> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-infinispan-server</id> <phase>generate-test-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${server.dir}</outputDirectory> <resources> <resource> <directory>../../server/integration/build/target/${infinispan.brand.prefix}-server-${infinispan.brand.version}</directory> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-cache-tests</id> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.testOutputDirectory}</outputDirectory> <includeArtifactIds>cache-tests</includeArtifactIds> <includeScope>test</includeScope> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>generate-distros-and-configs</id> <goals> <goal>run</goal> </goals> <phase>generate-resources</phase> <configuration> <skip>${skipTests}</skip> <target> <ant antfile="${basedir}/../../server/integration/src/main/ant/infinispan-server.xml" target="create-distro"> <property name="server.build.dist" value="${server.build.dist}" /> <property name="server.dist" value="${ispnserver.dist}" /> </ant> </target> </configuration> </execution> <execution> <id>infinispan-server-startup</id> <phase>pre-integration-test</phase> <goals> <goal>run</goal> </goals> <configuration> <skip>${skipTests}</skip> <target> <ant antfile="${basedir}/../../server/integration/src/main/ant/infinispan-server.xml" target="kill-server"> <property name="hotrod.port" value="11222" /> </ant> <ant antfile="${basedir}/../../server/integration/src/main/ant/infinispan-server.xml" target="start-server"> <property name="server.dist" value="${ispnserver.dist}" /> <property name="port.offset" value="0" /> <property name="management.port" value="9990" /> <property name="hotrod.port" value="11222" /> <property name="jboss.node.name" value="ispn-server" /> <property name="jboss.config.file" value="standalone.xml" /> <property name="server.jvm.args" value="${server.jvm.args}" /> </ant> </target> </configuration> </execution> <execution> <id>infinispan-server-shutdown</id> <phase>post-integration-test</phase> <goals> <goal>run</goal> </goals> <configuration> <skip>${skipTests}</skip> <target> <ant antfile="${basedir}/../../server/integration/src/main/ant/infinispan-server.xml" target="kill-server"> <property name="hotrod.port" value="11222" /> </ant> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <id>default-test</id> <phase>none</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <includes> <include>**/Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> </includes> <disableXmlReport>false</disableXmlReport> <systemPropertyVariables> <domainJar>${domain-lib-dir}/${domain-jar}</domainJar> <javax.management.builder.initial>${tck.mbean.builder}</javax.management.builder.initial> <org.jsr107.tck.management.agentId>${tck.mbean.server}</org.jsr107.tck.management.agentId> <log4j.configurationFile>${log4j.configurationFile}</log4j.configurationFile> <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> <jgroups.join_timeout>2000</jgroups.join_timeout> <infinispan.test.checkThreadLeaks>false</infinispan.test.checkThreadLeaks> </systemPropertyVariables> <argLine>${forkJvmArgs} ${testjvm.jigsawArgs}</argLine> <properties> <listener>${junitListener}</listener> </properties> </configuration> <executions> <execution> <id>tck-embedded</id> <phase>integration-test</phase> <goals> <goal>integration-test</goal> </goals> <configuration> <summaryFile>${failsafe.summary.embedded}</summaryFile> <reportsDirectory>${failsafe.reportdir.embedded}</reportsDirectory> <classpathDependencyExcludes> <classpathDependencyExcludes>${project.groupId}:infinispan-jcache-remote</classpathDependencyExcludes> </classpathDependencyExcludes> <disableXmlReport>false</disableXmlReport> <systemPropertyVariables> <ExcludeList>ExcludeList_embedded</ExcludeList> <javax.cache.Cache>${embedded.CacheImpl}</javax.cache.Cache> <javax.cache.Cache.Entry>${embedded.CacheEntryImpl}</javax.cache.Cache.Entry> <jgroups.join_timeout>2000</jgroups.join_timeout> </systemPropertyVariables> </configuration> </execution> <execution> <id>verify-tck-embedded</id> <phase>verify</phase> <goals> <goal>verify</goal> </goals> <configuration> <summaryFile>${failsafe.summary.embedded}</summaryFile> <reportsDirectory>${failsafe.reportdir.embedded}</reportsDirectory> </configuration> </execution> <execution> <id>tck-remote</id> <phase>integration-test</phase> <goals> <goal>integration-test</goal> </goals> <configuration> <summaryFile>${failsafe.summary.remote}</summaryFile> <reportsDirectory>${failsafe.reportdir.remote}</reportsDirectory> <classpathDependencyExcludes> <classpathDependencyExcludes>${project.groupId}:infinispan-jcache</classpathDependencyExcludes> </classpathDependencyExcludes> <disableXmlReport>false</disableXmlReport> <systemPropertyVariables> <ExcludeList>ExcludeList_remote</ExcludeList> <javax.cache.Cache>${remote.CacheImpl}</javax.cache.Cache> <javax.cache.Cache.Entry>${remote.CacheEntryImpl}</javax.cache.Cache.Entry> <jgroups.join_timeout>2000</jgroups.join_timeout> </systemPropertyVariables> </configuration> </execution> <execution> <id>verify-tck-remote</id> <phase>verify</phase> <goals> <goal>verify</goal> </goals> <configuration> <summaryFile>${failsafe.summary.remote}</summaryFile> <reportsDirectory>${failsafe.reportdir.remote}</reportsDirectory> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>${version.maven.surefire}</version> </dependency> </dependencies> </plugin> </plugins> </build> <profiles> <profile> <id>test-basic-cache</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <excludes> <exclude>**/interceptor/*Test.java</exclude> </excludes> <systemPropertyVariables> <domainJar>${domain-lib-dir}/${domain-jar}</domainJar> <jgroups.join_timeout>2000</jgroups.join_timeout> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>test-optional-cache</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <includes> <include>**/interceptor/*Test.java</include> </includes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>smoke</id> <properties> <skipTests>true</skipTests> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <id>default-test</id> <phase>none</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <skipITs>${skipTests}</skipITs> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>java8-test</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <server.jvm>${env.JAVA8_HOME}</server.jvm> <server.jvm.args>${testjvm.extraArgs} ${jvm.ip.stack} ${serverMemoryJvmArgs} ${transport.stack} ${jvm.x64.args}</server.jvm.args> </properties> </profile> </profiles> </project>