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

154 lines
4.1 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>6.3.2-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>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</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>
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>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>