diff --git a/hapi-tinder-plugin/.gitignore b/hapi-tinder-plugin/.gitignore index 6a6c8a46784..4c86414cde7 100644 --- a/hapi-tinder-plugin/.gitignore +++ b/hapi-tinder-plugin/.gitignore @@ -1,128 +1,128 @@ -target/ -/bin - -# Created by https://www.gitignore.io - -### Java ### -*.class - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.jar -*.war -*.ear - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* - - -### Maven ### -target/ -pom.xml.tag -pom.xml.releaseBackup -pom.xml.versionsBackup -pom.xml.next -release.properties -dependency-reduced-pom.xml -buildNumber.properties - - -### Vim ### -[._]*.s[a-w][a-z] -[._]s[a-w][a-z] -*.un~ -Session.vim -.netrwhist -*~ - - -### Intellij ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm - -*.iml - -## Directory-based project format: -.idea/ -# if you remove the above rule, at least ignore the following: - -# User-specific stuff: -# .idea/workspace.xml -# .idea/tasks.xml -# .idea/dictionaries - -# Sensitive or high-churn files: -# .idea/dataSources.ids -# .idea/dataSources.xml -# .idea/sqlDataSources.xml -# .idea/dynamic.xml -# .idea/uiDesigner.xml - -# Gradle: -# .idea/gradle.xml -# .idea/libraries - -# Mongo Explorer plugin: -# .idea/mongoSettings.xml - -## File-based project format: -*.ipr -*.iws - -## Plugin-specific files: - -# IntelliJ -/out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties - - - -### Eclipse ### -*.pydevproject -.metadata -.gradle -bin/ -tmp/ -*.tmp -*.bak -*.swp -*~.nib -local.properties -.settings/ -.loadpath - -# Eclipse Core -.project - -# External tool builders -.externalToolBuilders/ - -# Locally stored "Eclipse launch configurations" -*.launch - -# CDT-specific -.cproject - -# JDT-specific (Eclipse Java Development Tools) -.classpath - -# PDT-specific -.buildpath - -# sbteclipse plugin -.target - -# TeXlipse plugin -.texlipse - +target/ +/bin + +# Created by https://www.gitignore.io + +### Java ### +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + + +### Maven ### +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties + + +### Vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm + +*.iml + +## Directory-based project format: +.idea/ +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties + + + +### Eclipse ### +*.pydevproject +.metadata +.gradle +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath + +# Eclipse Core +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# PDT-specific +.buildpath + +# sbteclipse plugin +.target + +# TeXlipse plugin +.texlipse + diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/AbstractGenerator.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/AbstractGenerator.java index fbbaa69e989..80539c1b41f 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/AbstractGenerator.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/AbstractGenerator.java @@ -21,6 +21,7 @@ package ca.uhn.fhir.tinder; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.context.FhirVersionEnum; +import ca.uhn.fhir.tinder.GeneratorContext.ResourceSource; import ca.uhn.fhir.tinder.parser.BaseStructureParser; import ca.uhn.fhir.tinder.parser.DatatypeGeneratorUsingSpreadsheet; import ca.uhn.fhir.tinder.parser.ResourceGeneratorUsingModel; @@ -112,35 +113,37 @@ public abstract class AbstractGenerator { DatatypeGeneratorUsingSpreadsheet dtp = null; Map datatypeLocalImports = new HashMap(); - vsp = new ValueSetGenerator(context.getVersion()); - vsp.setResourceValueSetFiles(context.getValueSetFiles()); - context.setValueSetGenerator(vsp); - try { - vsp.parse(); - } catch (Exception e) { - throw new FailureException("Failed to load valuesets", e); + if (ResourceSource.SPREADSHEET.equals(context.getResourceSource())) { + vsp = new ValueSetGenerator(context.getVersion()); + vsp.setResourceValueSetFiles(context.getValueSetFiles()); + context.setValueSetGenerator(vsp); + try { + vsp.parse(); + } catch (Exception e) { + throw new FailureException("Failed to load valuesets", e); + } + + /* + * A few enums are not found by default because none of the generated classes + * refer to them, but we still want them. + */ + vsp.getClassForValueSetIdAndMarkAsNeeded("NarrativeStatus"); + + logInfo("Loading Datatypes..."); + + dtp = new DatatypeGeneratorUsingSpreadsheet(context.getVersion(), context.getBaseDir()); + context.setDatatypeGenerator(dtp); + try { + dtp.parse(); + dtp.markResourcesForImports(); + } catch (Exception e) { + throw new FailureException("Failed to load datatypes", e); + } + dtp.bindValueSets(vsp); + + datatypeLocalImports = dtp.getLocalImports(); } - /* - * A few enums are not found by default because none of the generated classes - * refer to them, but we still want them. - */ - vsp.getClassForValueSetIdAndMarkAsNeeded("NarrativeStatus"); - - logInfo("Loading Datatypes..."); - - dtp = new DatatypeGeneratorUsingSpreadsheet(context.getVersion(), context.getBaseDir()); - context.setDatatypeGenerator(dtp); - try { - dtp.parse(); - dtp.markResourcesForImports(); - } catch (Exception e) { - throw new FailureException("Failed to load datatypes", e); - } - dtp.bindValueSets(vsp); - - datatypeLocalImports = dtp.getLocalImports(); - /* * Load the requested resources */ @@ -173,6 +176,7 @@ public abstract class AbstractGenerator { rp.setBaseResourceNames(includeResources); rp.parse(); + rp.markResourcesForImports(); break; } } diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericMultiFileMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericMultiFileMojo.java index 42cba862f57..ee6e8779217 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericMultiFileMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericMultiFileMojo.java @@ -16,6 +16,7 @@ import org.apache.maven.project.MavenProject; import ca.uhn.fhir.tinder.AbstractGenerator.ExecutionException; import ca.uhn.fhir.tinder.AbstractGenerator.FailureException; +import ca.uhn.fhir.tinder.GeneratorContext.ResourceSource; import ca.uhn.fhir.tinder.TinderStructuresMojo.ValueSetFileDefinition; import ca.uhn.fhir.tinder.parser.BaseStructureParser; import ca.uhn.fhir.tinder.parser.DatatypeGeneratorUsingSpreadsheet; @@ -76,7 +77,8 @@ import ca.uhn.fhir.tinder.parser.TargetType; * Which source of resource definitions should be processed? Valid values are:
* + *
  • model  to cause resources to be generated based on the model structure classes. Note that + * generateResources is the only one of the above options that can be used when model is specified.
  • * No. Defaults to: spreadsheet * * @@ -276,6 +278,14 @@ public class TinderGenericMultiFileMojo extends AbstractMojo { context.setExcludeResources(excludeResources); context.setResourceSource(resourceSource); context.setValueSetFiles(valueSetFiles); + if (ResourceSource.MODEL.equals(context.getResourceSource())) { + if (generateDatatypes) { + throw new MojoFailureException("Cannot use \"generateDatatypes\" when resourceSource=model"); + } + if (generateValueSets) { + throw new MojoFailureException("Cannot use \"generateValueSets\" when resourceSource=model"); + } + } generator.prepare(context); } catch (ExecutionException e) { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java index 1f4339280c4..1ef058bb24c 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java @@ -25,6 +25,7 @@ import org.apache.velocity.tools.generic.EscapeTool; import ca.uhn.fhir.tinder.AbstractGenerator.ExecutionException; import ca.uhn.fhir.tinder.AbstractGenerator.FailureException; +import ca.uhn.fhir.tinder.GeneratorContext.ResourceSource; import ca.uhn.fhir.tinder.TinderStructuresMojo.ValueSetFileDefinition; import ca.uhn.fhir.tinder.parser.BaseStructureParser; import ca.uhn.fhir.tinder.parser.BaseStructureSpreadsheetParser; @@ -76,7 +77,8 @@ import ca.uhn.fhir.tinder.parser.TargetType; * Which source of resource definitions should be processed? Valid values are:
    * + *
  • model  to cause resources to be generated based on the model structure classes. Note that + * generateResources is the only one of the above options that can be used when model is specified.
  • * No. Defaults to: spreadsheet * * @@ -269,6 +271,11 @@ public class TinderGenericSingleFileMojo extends AbstractMojo { context.setExcludeResources(excludeResources); context.setResourceSource(resourceSource); context.setValueSetFiles(valueSetFiles); + if (ResourceSource.MODEL.equals(context.getResourceSource())) { + if (generateDatatypes) { + throw new MojoFailureException("Cannot use \"generateDatatypes\" when resourceSource=model"); + } + } generator.prepare(context); } catch (ExecutionException e) { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java index e45f0a190f4..7f4d9c2b121 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java @@ -41,6 +41,7 @@ import ca.uhn.fhir.tinder.AbstractGenerator; import ca.uhn.fhir.tinder.AbstractGenerator.ExecutionException; import ca.uhn.fhir.tinder.AbstractGenerator.FailureException; import ca.uhn.fhir.tinder.GeneratorContext; +import ca.uhn.fhir.tinder.GeneratorContext.ResourceSource; import ca.uhn.fhir.tinder.TinderStructuresMojo.ValueSetFileDefinition; import ca.uhn.fhir.tinder.ValueSetGenerator; import ca.uhn.fhir.tinder.VelocityHelper; @@ -107,7 +108,8 @@ import ca.uhn.fhir.tinder.parser.TargetType; * Which source of resource definitions should be processed? Valid values are:
    * + *
  • model  to cause resources to be generated based on the model structure classes. Note that + * generateResources is the only one of the above options that can be used when model is specified.
  • * No. Defaults to: spreadsheet * * @@ -327,6 +329,14 @@ public class TinderGeneratorTask extends Task { context.setExcludeResources(excludeResources); context.setResourceSource(resourceSource); context.setValueSetFiles(valueSetFiles); + if (ResourceSource.MODEL.equals(context.getResourceSource())) { + if (generateDatatypes) { + throw new BuildException("Cannot use \"generateDatatypes\" when resourceSource=model"); + } + if (generateValueSets) { + throw new BuildException("Cannot use \"generateValueSets\" when resourceSource=model"); + } + } generator.prepare(context); } catch (ExecutionException e) { diff --git a/hapi-tinder-test/pom.xml b/hapi-tinder-test/pom.xml index 6e8750cec40..d570711cf57 100644 --- a/hapi-tinder-test/pom.xml +++ b/hapi-tinder-test/pom.xml @@ -1,420 +1,489 @@ - - 4.0.0 - - - ca.uhn.hapi.fhir - hapi-fhir - 3.6.0-SNAPSHOT - ../pom.xml - - - hapi-tinder-test - jar - - HAPI Tinder Plugin - Test Project - - - - ca.uhn.hapi.fhir - hapi-fhir-base - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2 - ${project.version} - - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2.1 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-base - - - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu3 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-hl7org-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu3 - ${project.version} - - - junit - junit - test - - - - - - - - - - ca.uhn.hapi.fhir - hapi-tinder-plugin - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-base - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2.1 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-base - - - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu3 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-hl7org-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu3 - ${project.version} - - - - - - generalstructs - - generate-structures - - - ca.uhn.test.realstructs - dstu2 - - patient - valueset - organization - device - location - practitioner - list - auditevent - - true - - - - generic_multi - - generate-multi-files - - - dstu2 - true - ${project.basedir}/src/test/resources/templates/resource_test.vm - ${project.build.directory}/generated-sources/tinder - ca.uhn.test.generic.multi - ResourceTest.java - - patient - organization - - - - - generic_multi_json - - generate-multi-files - - - dstu2 - true - ${project.basedir}/src/test/resources/templates/resource_map.vm - ${project.basedir}/src/test/resources/macros - ${project.build.directory}/generated-resources/tinder - maps - _Map.json - - patient - organization - bundle - composition - - - - - generic_single - - generate-single-file - - - dstu2 - true - ${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm - ${project.build.directory}/generated-sources/tinder - ca.uhn.test.generic.single - ca.uhn.test.generic.multi - TestConfigDstu2.java - - patient - organization - - - - - generic_single_json - - generate-single-file - - - dstu2 - true - ${project.basedir}/src/test/resources/templates/composite_map.vm - ${project.basedir}/src/test/resources/macros - ${project.build.directory}/generated-resources/tinder - maps - Datatypes_Dstu2.json - - patient - organization - - - - - - - - maven-antrun-plugin - - - testTinderTask - generate-sources - - run - - - - - - - - - - - - - - - - ca.uhn.hapi.fhir - hapi-fhir-base - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu2.1 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-base - - - - - ca.uhn.hapi.fhir - hapi-fhir-structures-dstu3 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-structures-hl7org-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu2 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-fhir-validation-resources-dstu3 - ${project.version} - - - ca.uhn.hapi.fhir - hapi-tinder-plugin - ${project.version} - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-source - generate-sources - - add-source - - - - target/generated-sources/tinder - - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - ca.uhn.hapi.fhir - hapi-tinder-plugin - [0.4-SNAPSHOT,) - - generate-structures - - - - - - - - - ca.uhn.hapi.fhir - hapi-tinder-plugin - [0.4-SNAPSHOT,) - - generate-multi-files - - - - - - - - - ca.uhn.hapi.fhir - hapi-tinder-plugin - [0.4-SNAPSHOT,) - - generate-single-file - - - - - - - - - - - - - - - ${basedir}/src/main/resources - - - ${basedir}/target/generated-resources/tinder - - - - - + + 4.0.0 + + + ca.uhn.hapi.fhir + hapi-fhir + 3.6.0-SNAPSHOT + ../pom.xml + + + hapi-tinder-test + jar + + HAPI Tinder Plugin - Test Project + + + + ca.uhn.hapi.fhir + hapi-fhir-base + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2 + ${project.version} + + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2.1 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-base + + + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu3 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-hl7org-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu3 + ${project.version} + + + junit + junit + test + + + + + + + + + + ca.uhn.hapi.fhir + hapi-tinder-plugin + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-base + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2.1 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-base + + + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu3 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-r4 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-hl7org-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu3 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-r4 + ${project.version} + + + + + + generalstructs + + generate-structures + + + ca.uhn.test.realstructs + dstu2 + + patient + valueset + organization + device + location + practitioner + list + auditevent + + true + + + + generic_multi_dstu2 + + generate-multi-files + + + dstu2 + true + ${project.basedir}/src/test/resources/templates/resource_test.vm + ${project.build.directory}/generated-sources/tinder + ca.uhn.test.generic.multi + ResourceTest.java + + patient + organization + + + + + generic_multi_dstu3 + + generate-multi-files + + + dstu3 + true + model + ${project.basedir}/src/test/resources/templates/resource_test.vm + ${project.build.directory}/generated-sources/tinder + ca.uhn.test.generic.multi.dstu3 + ResourceTest.java + + patient + organization + + + + + generic_multi_r4 + + generate-multi-files + + + r4 + true + model + ${project.basedir}/src/test/resources/templates/resource_test.vm + ${project.build.directory}/generated-sources/tinder + ca.uhn.test.generic.multi.r4 + ResourceTest.java + + patient + organization + + + + + generic_multi_json + + generate-multi-files + + + dstu2 + true + spreadsheet + ${project.basedir}/src/test/resources/templates/resource_map.vm + ${project.basedir}/src/test/resources/macros + ${project.build.directory}/generated-resources/tinder + maps + _Map.json + + patient + organization + bundle + composition + + + + + generic_single_dstu2 + + generate-single-file + + + dstu2 + true + ${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm + ${project.build.directory}/generated-sources/tinder + ca.uhn.test.generic.single + ca.uhn.test.generic.multi + TestConfigDstu2.java + + patient + organization + + + + + generic_single_r4 + + generate-single-file + + + r4 + true + model + ${project.basedir}/src/test/resources/templates/resource_test_beans_java.vm + ${project.build.directory}/generated-sources/tinder + ca.uhn.test.generic.single.r4 + ca.uhn.test.generic.multi.r4 + TestConfigR4.java + + patient + organization + + + + + generic_single_json + + generate-single-file + + + dstu2 + true + ${project.basedir}/src/test/resources/templates/composite_map.vm + ${project.basedir}/src/test/resources/macros + ${project.build.directory}/generated-resources/tinder + maps + Datatypes_Dstu2.json + + patient + organization + + + + + + + + maven-antrun-plugin + + + testTinderTask + generate-sources + + run + + + + + + + + + + + + + + + + ca.uhn.hapi.fhir + hapi-fhir-base + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu2.1 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-base + + + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu3 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-hl7org-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu2 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu3 + ${project.version} + + + ca.uhn.hapi.fhir + hapi-tinder-plugin + ${project.version} + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + target/generated-sources/tinder + + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + ca.uhn.hapi.fhir + hapi-tinder-plugin + [0.4-SNAPSHOT,) + + generate-structures + + + + + + + + + ca.uhn.hapi.fhir + hapi-tinder-plugin + [0.4-SNAPSHOT,) + + generate-multi-files + + + + + + + + + ca.uhn.hapi.fhir + hapi-tinder-plugin + [0.4-SNAPSHOT,) + + generate-single-file + + + + + + + + + + + + + + + ${basedir}/src/main/resources + + + ${basedir}/target/generated-resources/tinder + + + + +