mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-14 17:05:04 +00:00
* Extracting a Cache interface and building service loaders for Caffeine and Guava * Fix estimated size interface * Use LoadingCache when needed. * Removing Caffeine from dependency lists. * Adding hapi-fhir-cache-caffeine as a test dependency * Putting caching solutions in a single module. * Fixing the spacing * Standardizing the use of TimeUnits * Making a new module to simplify the switch of the cache library in tests. * Making sure the Guava design matches the behavior of Caffeine. * Making sure the Cache structure also does not throw InvalidCacheLoading exception to match the LoadingCache. * Renaming module names for the caching group. * Better error handing that informs devs what to do. * Improving documentation * Typo * Matching error message design with Caffeine. * Matching the behavior of Caffeine with Guava * Final adjustments for the test dependencies on the cache modules. * Fixing relative pom path. * Adding caffeine as a testing requirement for the new modules. * Add changelog and set JPA server to use caffeine cache * POM fixes * Build fix * Buid fix * Fixes * Address review comment * One more cache * Move changelog to next release * Update pom versions * Build fix * Build fixes * Build fix * Try to get build working * Experiment with failing build * Rever change * Fix POM version * Build fix * Build fix * Add Msg.code to new exceptions Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
121 lines
3.2 KiB
XML
121 lines
3.2 KiB
XML
<?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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-deployable-pom</artifactId>
|
|
<version>6.3.0-PRE4-SNAPSHOT</version>
|
|
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>HAPI FHIR JPA Server Test R4B</name>
|
|
<artifactId>hapi-fhir-jpaserver-test-r4b</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-fhir-jpaserver-test-utilities</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-fhir-caching-testing</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<configuration>
|
|
<!--<useManifestOnlyJar>false</useManifestOnlyJar>-->
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
<runOrder>alphabetical</runOrder>
|
|
<includes>
|
|
<include>**/*IT.java</include>
|
|
</includes>
|
|
<useModulePath>false</useModulePath>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit_version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<runOrder>alphabetical</runOrder>
|
|
<argLine>@{argLine} ${surefire_jvm_args}</argLine>
|
|
<forkCount>0.6C</forkCount>
|
|
<excludes>*StressTest*</excludes>
|
|
<skip>${skipFailsafe}</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>NOPARALLEL</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<excludes>
|
|
<exclude>**/stresstest/*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>CI</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<runOrder>alphabetical</runOrder>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|