2014-03-24 08:32:28 -04:00
|
|
|
<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">
|
2014-03-03 18:22:14 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2014-03-03 18:22:14 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hapi-tinder-test</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>HAPI Tinder Plugin - Test Project</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2014-03-03 18:22:14 -05:00
|
|
|
</dependency>
|
2014-10-16 17:19:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2014-10-16 17:19:27 -04:00
|
|
|
</dependency>
|
2014-03-24 08:32:28 -04:00
|
|
|
|
2014-03-17 15:52:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-24 08:32:28 -04:00
|
|
|
|
2014-03-03 18:22:14 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-03-24 08:32:28 -04:00
|
|
|
<!-- <plugin> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-tinder-plugin</artifactId> <version>1.0-SNAPSHOT</version> <executions> <execution> <id>structs</id> <goals> <goal>generate-structures</goal>
|
|
|
|
</goals> <configuration> <package>ca.uhn.tindertest</package> <baseResourceNames> <baseResourceName>patient</baseResourceName> <baseResourceName>valueset</baseResourceName> <baseResourceName>organization</baseResourceName>
|
|
|
|
<baseResourceName>device</baseResourceName> <baseResourceName>location</baseResourceName> <baseResourceName>practitioner</baseResourceName> </baseResourceNames> </configuration> </execution>
|
|
|
|
<execution> <id>client</id> <goals> <goal>generate-client</goal> </goals> <configuration> <clientClassName>ca.uhn.hitest.HiTest</clientClassName> <serverBaseHref>http://fhir.healthintersections.com.au/open</serverBaseHref>
|
|
|
|
<generateSearchForAllParams>true</generateSearchForAllParams> </configuration> </execution> </executions> </plugin> -->
|
|
|
|
|
2014-03-13 17:33:12 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2014-03-13 17:33:12 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>custom-structs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-structures</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<package>ca.uhn.test.customstructs</package>
|
2014-03-17 15:52:41 -04:00
|
|
|
<profileHttpBase>http://foo</profileHttpBase>
|
2014-10-24 15:43:35 -04:00
|
|
|
<version>dstu</version>
|
2014-03-13 17:33:12 -04:00
|
|
|
<resourceProfileFiles>
|
2014-03-17 15:52:41 -04:00
|
|
|
<resourceProfileFile>
|
|
|
|
<profileFile>${project.basedir}/src/test/resources/profile/patient.xml</profileFile>
|
|
|
|
<profileSourceUrl>http://foo1</profileSourceUrl>
|
|
|
|
</resourceProfileFile>
|
|
|
|
<resourceProfileFile>
|
|
|
|
<profileFile>${project.basedir}/src/test/resources/profile/organization.xml</profileFile>
|
|
|
|
<profileSourceUrl>http://foo1</profileSourceUrl>
|
|
|
|
</resourceProfileFile>
|
2014-03-13 17:33:12 -04:00
|
|
|
</resourceProfileFiles>
|
|
|
|
<resourceValueSetFiles>
|
2014-03-17 15:52:41 -04:00
|
|
|
<resourceValueSetFile>
|
|
|
|
<valueSetFile>${project.basedir}/src/test/resources/valueset/valueset-cgta-patientidpool.xml</valueSetFile>
|
|
|
|
</resourceValueSetFile>
|
|
|
|
<resourceValueSetFile>
|
|
|
|
<valueSetFile>${project.basedir}/src/test/resources/valueset/valueset-cgta-provideridpool.xml</valueSetFile>
|
|
|
|
</resourceValueSetFile>
|
2014-03-13 17:33:12 -04:00
|
|
|
</resourceValueSetFiles>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generalstructs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-structures</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<package>ca.uhn.test.realstructs</package>
|
2014-10-24 15:43:35 -04:00
|
|
|
<version>dstu</version>
|
2014-03-13 17:33:12 -04:00
|
|
|
<baseResourceNames>
|
|
|
|
<baseResourceName>patient</baseResourceName>
|
|
|
|
<baseResourceName>valueset</baseResourceName>
|
|
|
|
<baseResourceName>organization</baseResourceName>
|
|
|
|
<baseResourceName>device</baseResourceName>
|
|
|
|
<baseResourceName>location</baseResourceName>
|
|
|
|
<baseResourceName>practitioner</baseResourceName>
|
2014-08-27 12:01:46 -04:00
|
|
|
<baseResourceName>list</baseResourceName>
|
|
|
|
<baseResourceName>securityevent</baseResourceName>
|
2014-03-13 17:33:12 -04:00
|
|
|
</baseResourceNames>
|
|
|
|
<buildDatatypes>true</buildDatatypes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-03-24 13:34:54 -04:00
|
|
|
<execution>
|
|
|
|
<id>generic_multi</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-multi-files</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<version>dstu</version>
|
|
|
|
<templateFile>${project.basedir}/src/test/resources/templates/resource_test.vm</templateFile>
|
|
|
|
<packageBase>ca.uhn.test.generic.multi</packageBase>
|
|
|
|
<targetDirectory>${project.build.directory}/generated-sources/tinder</targetDirectory>
|
|
|
|
<filenameSuffix>ResourceTest.java</filenameSuffix>
|
|
|
|
<baseResourceNames>
|
|
|
|
<baseResourceName>patient</baseResourceName>
|
|
|
|
<baseResourceName>organization</baseResourceName>
|
|
|
|
</baseResourceNames>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generic_single</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-single-file</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<version>dstu</version>
|
|
|
|
<templateFile>${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm</templateFile>
|
|
|
|
<packageBase>ca.uhn.test.generic.multi</packageBase>
|
|
|
|
<targetDirectory>${project.build.directory}/generated-sources/tinder</targetDirectory>
|
|
|
|
<targetPackage>ca.uhn.test.generic.single</targetPackage>
|
|
|
|
<targetFile>TestConfigDstu1.java</targetFile>
|
|
|
|
<baseResourceNames>
|
|
|
|
<baseResourceName>patient</baseResourceName>
|
|
|
|
<baseResourceName>organization</baseResourceName>
|
|
|
|
</baseResourceNames>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- <execution> <id>client</id> <goals> <goal>generate-client</goal> </goals> <configuration> <clientClassName>ca.uhn.hitest.HiTest</clientClassName> <serverBaseHref>http://fhir.healthintersections.com.au/open</serverBaseHref>
|
2014-03-24 08:32:28 -04:00
|
|
|
<generateSearchForAllParams>true</generateSearchForAllParams> </configuration> </execution> -->
|
2014-03-13 17:33:12 -04:00
|
|
|
</executions>
|
2014-10-17 14:51:45 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2014-10-17 14:51:45 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-03-24 08:32:28 -04:00
|
|
|
</plugin>
|
2016-03-24 16:16:52 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>testTinderTask</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<taskdef name="hapi-tinder" classname="ca.uhn.fhir.tinder.ant.TinderGeneratorTask" classpathref="maven.plugin.classpath"/>
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test.vm"
|
|
|
|
targetDir="${project.build.directory}/generated-sources/tinder"
|
|
|
|
packageBase="ca.uhn.test.ant.multi"
|
|
|
|
targetclassSuffix="ResourceTest.java"
|
|
|
|
projectHome="${project.basedir}/.."
|
|
|
|
version="dstu2"
|
|
|
|
baseResourceNames="patient,organization"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm"
|
|
|
|
targetDir="${project.build.directory}/generated-sources/tinder"
|
|
|
|
targetFile="TestConfigDstu2.java"
|
|
|
|
targetPackage="ca.uhn.test.ant.single"
|
|
|
|
packageBase="ca.uhn.test.ant.multi"
|
|
|
|
projectHome="${project.basedir}/.."
|
|
|
|
version="dstu2"
|
|
|
|
baseResourceNames="patient,organization"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2016-03-24 16:16:52 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2016-03-24 16:16:52 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu2</artifactId>
|
2016-04-22 07:05:05 -04:00
|
|
|
<version>1.6-SNAPSHOT</version>
|
2016-03-24 16:16:52 -04:00
|
|
|
</dependency>
|
|
|
|
<!--
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>velocity</groupId>
|
|
|
|
<artifactId>velocity</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>velocity-tools</groupId>
|
|
|
|
<artifactId>velocity-tools</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2014-03-24 08:32:28 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-03-03 18:22:14 -05:00
|
|
|
</plugins>
|
2014-07-03 08:51:42 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
|
|
|
<versionRange>[0.4-SNAPSHOT,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-structures</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2016-03-24 13:34:54 -04:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
|
|
|
<versionRange>[0.4-SNAPSHOT,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-multi-files</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
|
|
|
<versionRange>[0.4-SNAPSHOT,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-single-file</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-07-03 08:51:42 -04:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2014-03-03 18:22:14 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|