Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-5036 tests for all-infinispan-embedded #3124

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 19 additions & 6 deletions bom/pom.xml
Expand Up @@ -54,12 +54,14 @@
<properties>
<infinispan.codename>Guinness</infinispan.codename>
<infinispan.core.schema.version>7.1</infinispan.core.schema.version>


<!-- Versions for dependencies -->
<version.protostream>2.0.2.Final</version.protostream>
<version.protobuf>2.6.0</version.protobuf>
<version.protoparser>3.1.4</version.protoparser>
<version.aesh>0.33.7</version.aesh>
<version.antlr>3.4</version.antlr>
<version.c3p0>0.9.5-pre8</version.c3p0>
<version.commons.pool>1.6</version.commons.pool>
<version.gnu.getopt>1.0.13</version.gnu.getopt>
<version.hibernate.javax.persistence>1.0.0.Final</version.hibernate.javax.persistence>
Expand Down Expand Up @@ -95,7 +97,7 @@

<dependencyManagement>
<dependencies>

<!-- Infinispan module versions -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>infinispan-cachestore-jdbc</artifactId>
Expand Down Expand Up @@ -227,7 +229,7 @@
<artifactId>infinispan-jcache</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Infinispan aggregate jars -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>infinispan-embedded</artifactId>
Expand Down Expand Up @@ -304,7 +306,7 @@
<artifactId>hibernate-core</artifactId>
<version>${version.hibernate.core}</version>
</dependency>

<!-- Infinispan RHQ module dependencies -->
<dependency>
<groupId>org.rhq</groupId>
<artifactId>rhq-core-domain</artifactId>
Expand Down Expand Up @@ -336,7 +338,7 @@
<artifactId>rhq-core-native-system</artifactId>
<version>${version.rhq}</version>
</dependency>

<!-- Infinispan Query module dependencies -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-engine</artifactId>
Expand All @@ -352,7 +354,12 @@
<artifactId>hibernate-search-serialization-avro</artifactId>
<version>${version.hibernate.search}</version>
</dependency>

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${version.hibernate.core}</version>
</dependency>
<!-- Infinispan Remote Query module dependencies -->
<dependency>
<groupId>org.infinispan.protostream</groupId>
<artifactId>protostream</artifactId>
Expand Down Expand Up @@ -412,6 +419,12 @@
<artifactId>commons-pool</artifactId>
<version>${version.commons.pool}</version>
</dependency>
<!-- Other dependencies -->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>${version.c3p0}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
71 changes: 46 additions & 25 deletions integrationtests/all-embedded-it/pom.xml
Expand Up @@ -30,40 +30,61 @@
<groupId>org.infinispan</groupId>
<artifactId>infinispan-embedded</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Final</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- JPA test dependencies -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<scope>provided</scope>
</dependency>
<!-- JDBC test dependecies -->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
<version>1.1.13.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
<version>1.0.0.CR8</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

<profiles>
<profile>
<id>h2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.180</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<connection.url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection.url>
<driver.class>org.h2.Driver</driver.class>
<jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>