|
|
|
@ -104,6 +104,11 @@
|
|
|
|
|
<artifactId>hapi-fhir-structures-r4</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-structures-r5</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId>
|
|
|
|
@ -124,6 +129,11 @@
|
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r5</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<executions>
|
|
|
|
|
<!--
|
|
|
|
@ -234,6 +244,25 @@
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_multi_r5</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate-multi-files</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<version>r5</version>
|
|
|
|
|
<generateResources>true</generateResources>
|
|
|
|
|
<resourceSource>model</resourceSource>
|
|
|
|
|
<templateFile>${project.basedir}/src/test/resources/templates/resource_test.vm</templateFile>
|
|
|
|
|
<targetSourceDirectory>${project.build.directory}/generated-sources/tinder</targetSourceDirectory>
|
|
|
|
|
<targetPackage>ca.uhn.test.generic.multi.r5</targetPackage>
|
|
|
|
|
<filenameSuffix>ResourceTest.java</filenameSuffix>
|
|
|
|
|
<includeResources>
|
|
|
|
|
<includeResource>patient</includeResource>
|
|
|
|
|
<includeResource>organization</includeResource>
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_multi_json</id>
|
|
|
|
|
<goals>
|
|
|
|
@ -275,6 +304,26 @@
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_single_dstu3</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate-single-file</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<version>dstu3</version>
|
|
|
|
|
<generateResources>true</generateResources>
|
|
|
|
|
<resourceSource>model</resourceSource>
|
|
|
|
|
<templateFile>${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm</templateFile>
|
|
|
|
|
<targetSourceDirectory>${project.build.directory}/generated-sources/tinder</targetSourceDirectory>
|
|
|
|
|
<targetPackage>ca.uhn.test.generic.single</targetPackage>
|
|
|
|
|
<packageBase>ca.uhn.test.generic.multi</packageBase>
|
|
|
|
|
<targetFile>TestConfigDstu3.java</targetFile>
|
|
|
|
|
<includeResources>
|
|
|
|
|
<includeResource>patient</includeResource>
|
|
|
|
|
<includeResource>organization</includeResource>
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_single_r4</id>
|
|
|
|
|
<goals>
|
|
|
|
@ -295,6 +344,26 @@
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_single_r5</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate-single-file</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<version>r5</version>
|
|
|
|
|
<generateResources>true</generateResources>
|
|
|
|
|
<resourceSource>model</resourceSource>
|
|
|
|
|
<templateFile>${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm</templateFile>
|
|
|
|
|
<targetSourceDirectory>${project.build.directory}/generated-sources/tinder</targetSourceDirectory>
|
|
|
|
|
<targetPackage>ca.uhn.test.generic.single.r5</targetPackage>
|
|
|
|
|
<packageBase>ca.uhn.test.generic.multi.r5</packageBase>
|
|
|
|
|
<targetFile>TestConfigR5.java</targetFile>
|
|
|
|
|
<includeResources>
|
|
|
|
|
<includeResource>patient</includeResource>
|
|
|
|
|
<includeResource>organization</includeResource>
|
|
|
|
|
</includeResources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generic_single_json</id>
|
|
|
|
|
<goals>
|
|
|
|
@ -331,11 +400,46 @@
|
|
|
|
|
<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" generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetPackage="ca.uhn.test.ant.multi" filenameSuffix="ResourceTest.java" projectHome="${project.basedir}/.." version="dstu2" includeResources="patient,organization" />
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test.vm"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetPackage="ca.uhn.test.ant.multi" filenameSuffix="ResourceTest.java" projectHome="${project.basedir}/.."
|
|
|
|
|
version="dstu2" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm" generateResources="true" targetSourceDirectory="${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" includeResources="patient,organization" />
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetPackage="ca.uhn.test.ant.multi.dstu3" filenameSuffix="ResourceTest.java" projectHome="${project.basedir}/.."
|
|
|
|
|
version="dstu3" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetPackage="ca.uhn.test.ant.multi.r4" filenameSuffix="ResourceTest.java" projectHome="${project.basedir}/.."
|
|
|
|
|
version="r4" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetPackage="ca.uhn.test.ant.multi.r5" filenameSuffix="ResourceTest.java" projectHome="${project.basedir}/.."
|
|
|
|
|
version="r5" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${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" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetFile="TestConfigDstu3.java" targetPackage="ca.uhn.test.ant.single" packageBase="ca.uhn.test.ant.multi.dstu3"
|
|
|
|
|
projectHome="${project.basedir}/.." version="dstu3" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetFile="TestConfigR4.java" targetPackage="ca.uhn.test.ant.single" packageBase="ca.uhn.test.ant.multi.r4"
|
|
|
|
|
projectHome="${project.basedir}/.." version="r4" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
<hapi-tinder templateFile="${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm" resourceSource="model"
|
|
|
|
|
generateResources="true" targetSourceDirectory="${project.build.directory}/generated-sources/tinder"
|
|
|
|
|
targetFile="TestConfigR5.java" targetPackage="ca.uhn.test.ant.single" packageBase="ca.uhn.test.ant.multi.r5"
|
|
|
|
|
projectHome="${project.basedir}/.." version="r5" includeResources="patient,organization" />
|
|
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
</configuration>
|
|
|
|
@ -368,6 +472,16 @@
|
|
|
|
|
<artifactId>hapi-fhir-structures-dstu3</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-structures-r4</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-structures-r5</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId>
|
|
|
|
@ -383,6 +497,16 @@
|
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu3</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r5</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
|
<artifactId>hapi-tinder-plugin</artifactId>
|
|
|
|
|