hapi-fhir/hapi-fhir-sql-migrate/pom.xml

160 lines
4.3 KiB
XML
Raw Normal View History

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2018-08-23 05:24:13 -04:00
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
2018-08-27 08:21:20 -04:00
<artifactId>hapi-deployable-pom</artifactId>
<version>7.1.9-SNAPSHOT</version>
2018-08-27 08:21:20 -04:00
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
2018-08-23 05:24:13 -04:00
</parent>
<artifactId>hapi-fhir-sql-migrate</artifactId>
2018-08-23 05:24:13 -04:00
<packaging>jar</packaging>
<name>HAPI FHIR Server - SQL Migration</name>
<description>Tooling for migrating SQL schemas.</description>
2018-08-23 05:24:13 -04:00
<dependencies>
2018-08-27 08:21:20 -04:00
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
2018-10-31 05:50:50 -04:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
2018-08-23 05:24:13 -04:00
<version>${project.version}</version>
</dependency>
<dependency>
Jakarta/Javax Servlet Migration (#5429) * Servlet migrsation changes * Apply spotless * Work on migration * Start working on JPA migration * Test fixes * Test fixes * Test fixes * Work * Work on servlet migration * Work on migration * Work on fixes * Imports fix * Work on tests * Test fix * All tests passing * Work on migration * Schema generator * Refactor ID strategy * Some test fixes * Test fixes * API additions * Work on websockets * Test fixe * Version bump * Work on migration * All tests have passed! * Work on test fixes * Fixes * Work on fixes * CDR fix * Work on migration * Fixes * Spotless * Disable onetoone ban * Adjust migratyions * Transaction service fix * Add tinyint to migrator * Work * Migration * Compile fix * Add license * Test fix * Test fix * Cleanup * Cleanup attempt * Test fix * Reslve fixmes * Remove legacy lastn implementation * Test cleanup * Cleanup * Remove dead import * Bad import setups * Review comments * Review fixes * Build fix * Test fix * Spotless * Account for CR changes * Compile fixes * Rollback one change * Test tweak * License header * Test fix * Test fix part 2: * Clean up tx isolation * Spotless * Spotless apply * Drop min SQL Server level * Attempted test fix * Test fix * Test fix * Test fix * Bump hibernate * Test fix * Test fixes * Test fixes * Test fixes * Test cleanup * One more test fix * Test fix * Try to fix test * Clean up expunge * Test fix * Remove unneeded task * Spotless * Bump compiler plugin * Spotless * Compile fix * Add license headers * License header * Test fixes * Bump animal sniffer * Spotless * Bump Jetty version * Test fix and version bump * Cleanup --------- Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2023-12-03 11:15:37 -05:00
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
</dependency>
2018-08-27 08:21:20 -04:00
<!-- Test Database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
2018-08-27 08:21:20 -04:00
<scope>test</scope>
</dependency>
<dependency>
2019-06-07 11:11:25 -04:00
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
2019-06-07 11:11:25 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
2018-08-27 08:21:20 -04:00
<scope>test</scope>
2018-08-23 05:24:13 -04:00
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
2018-08-27 08:21:20 -04:00
<artifactId>annotations</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
Ks 20220916 remove flyway (#4040) * removed flyway, started coding persistence * started wiring up new dao service * replace jpa with sqlbuilder * down to 16 failed tests * remove outOfOrder test. We no longer support validating order. * Removed noFlyway mode. It is no longer a thing. * merge migrator * down to 1 failing test * cleanup * removed unused noflyway cli arguments * cleanup * cleanup * cleanup * cleanup * create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing * fix test * fix test * improve migration table detection to use the catalogue * Msg.code() * cleanup * save version in same format as flyway * cleanup * add migration result to migration result class * failed migrations stay in the table and don't really affect anything. * change log * docs * ugh Flyway requires lower-case column names * integration test fixes * log * fix oracle issue * lowercase tablenames for postgres. fussy fussy! * Revert "lowercase tablenames for postgres. fussy fussy!" This reverts commit 92c9cb263b90cff2190cc327fab051dc3bb2f83f. * revert to capital table names. surround table name by quotes for Postgres. * added log message before executing find all query * changed log message from info to debug * javadoc * pom cleanup * review feedback * Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback. Use prepared statement. * Change installedOn insert from timestamp to date * Change installedOn column type from timestamp to date * bump hapi version * fix poms * fix poms and cdr compile * add exclusions to clean up build Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2022-10-03 22:40:09 -04:00
<!-- SQL Builder -->
<dependency>
Ks 20220916 remove flyway (#4040) * removed flyway, started coding persistence * started wiring up new dao service * replace jpa with sqlbuilder * down to 16 failed tests * remove outOfOrder test. We no longer support validating order. * Removed noFlyway mode. It is no longer a thing. * merge migrator * down to 1 failing test * cleanup * removed unused noflyway cli arguments * cleanup * cleanup * cleanup * cleanup * create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing * fix test * fix test * improve migration table detection to use the catalogue * Msg.code() * cleanup * save version in same format as flyway * cleanup * add migration result to migration result class * failed migrations stay in the table and don't really affect anything. * change log * docs * ugh Flyway requires lower-case column names * integration test fixes * log * fix oracle issue * lowercase tablenames for postgres. fussy fussy! * Revert "lowercase tablenames for postgres. fussy fussy!" This reverts commit 92c9cb263b90cff2190cc327fab051dc3bb2f83f. * revert to capital table names. surround table name by quotes for Postgres. * added log message before executing find all query * changed log message from info to debug * javadoc * pom cleanup * review feedback * Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback. Use prepared statement. * Change installedOn insert from timestamp to date * Change installedOn column type from timestamp to date * bump hapi version * fix poms * fix poms and cdr compile * add exclusions to clean up build Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2022-10-03 22:40:09 -04:00
<groupId>com.healthmarketscience.sqlbuilder</groupId>
<artifactId>sqlbuilder</artifactId>
</dependency>
<!-- test -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-test-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
2018-08-23 05:24:13 -04:00
</dependencies>
<build>
<!-- The following is not required for the application to build, but allows you to test it by issuing "mvn jetty:run" from the command line. -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<webApp>
<contextPath>/hapi-fhir-jpaserver-example</contextPath>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webApp>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- The configuration here tells the WAR plugin to include the FHIR Tester overlay. You can omit it if you are not using that feature. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Build-Time>${maven.build.timestamp}</Build-Time>
</manifestEntries>
</archive>
<overlays>
<overlay>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
</overlay>
</overlays>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
<!-- This is to run the integration tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>