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

[DROOLS-7513] Upgrade Infinispan to 14.0.13.Final #5402

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<version.org.hamcrest>1.3</version.org.hamcrest>
<version.org.hibernate>5.6.12.Final</version.org.hibernate>
<version.org.hsqldb>2.3.0</version.org.hsqldb>
<version.org.infinispan>14.0.13.Final</version.org.infinispan>
<version.org.javassist>3.26.0-GA</version.org.javassist>
<version.org.jboss.narayana.tomcat>5.13.1.Final</version.org.jboss.narayana.tomcat>
<version.org.jboss.transaction.spi>7.6.1.Final</version.org.jboss.transaction.spi>
Expand Down

This file was deleted.

196 changes: 1 addition & 195 deletions drools-reliability/drools-reliability-infinispan/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,17 @@

<properties>
<java.module.name>org.drools.reliability.infinispan</java.module.name>
<version.infinispan>14.0.6.Final</version.infinispan>
<version.testcontainers>1.17.2</version.testcontainers>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-bom</artifactId>
<version>${version.infinispan}</version>
<version>${version.org.infinispan}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${version.testcontainers}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -55,88 +47,6 @@
<groupId>org.drools</groupId>
<artifactId>drools-reliability-core</artifactId>
</dependency>

<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-engine</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-server-testdriver-core</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
<exclusion>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-jboss-marshalling</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-component-annotations</artifactId>
<scope>test</scope>
</dependency>

<dependency><!-- For unit test logging: configure in src/test/resources/logback-test.xml -->
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-model-codegen</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -173,108 +83,4 @@
</plugins>
</build>

<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<!-- override default-test for embedded -->
<id>default-test</id>
<configuration>
<excludes>
<exclude>**/*SmokeTest.java</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>smoke-tests-remote</id>
<configuration>
<systemPropertyVariables>
<drools.reliability.storage.infinispan.mode>REMOTE</drools.reliability.storage.infinispan.mode>
</systemPropertyVariables>
<includes>
<include>**/smoke/remote/*SmokeTest.java</include>
</includes>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
<execution>
<id>smoke-tests-remote-proto</id>
<configuration>
<systemPropertyVariables>
<drools.reliability.storage.infinispan.mode>REMOTE</drools.reliability.storage.infinispan.mode>
<drools.reliability.storage.infinispan.marshaller>PROTOSTREAM</drools.reliability.storage.infinispan.marshaller>
<drools.reliability.storage.infinispan.serialization.context.initializer>org.drools.reliability.infinispan.proto.TestProtoStreamSchemaImpl</drools.reliability.storage.infinispan.serialization.context.initializer>
</systemPropertyVariables>
<includes>
<include>**/smoke/proto/*SmokeTest.java</include>
</includes>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>remote</id>
<activation>
<property>
<name>remote</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<!-- override default-test from embedded to remote -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<drools.reliability.storage.infinispan.mode>REMOTE</drools.reliability.storage.infinispan.mode>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>remote-proto</id>
<activation>
<property>
<name>remote-proto</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<!-- override default-test with Remote+ProtoStream -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<drools.reliability.storage.infinispan.mode>REMOTE</drools.reliability.storage.infinispan.mode>
<drools.reliability.storage.infinispan.marshaller>PROTOSTREAM</drools.reliability.storage.infinispan.marshaller>
<drools.reliability.storage.infinispan.serialization.context.initializer>org.drools.reliability.infinispan.proto.TestProtoStreamSchemaImpl</drools.reliability.storage.infinispan.serialization.context.initializer>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
3 changes: 1 addition & 2 deletions drools-reliability/drools-reliability-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<properties>
<java.module.name>org.drools.reliability.infinispan</java.module.name>
<version.infinispan>14.0.6.Final</version.infinispan>
<version.testcontainers>1.17.2</version.testcontainers>
</properties>

Expand All @@ -24,7 +23,7 @@
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-bom</artifactId>
<version>${version.infinispan}</version>
<version>${version.org.infinispan}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down