Try to fix build more

This commit is contained in:
jamesagnew 2015-11-29 15:43:43 -05:00
parent a977cbc663
commit 9b0f2a3a9d
2 changed files with 2 additions and 3 deletions

View File

@ -55,13 +55,11 @@
<artifactId>hapi-fhir-validation-resources-dstu2</artifactId>
<version>1.3</version>
</dependency>
<!--
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-validation-resources-dstu2.1</artifactId>
<version>1.3</version>
<version>1.4-SNAPSHOT</version>
</dependency>
-->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>

View File

@ -106,6 +106,7 @@ public class ValueSetGenerator {
if (version.equals("dstu21")) {
name = "/org/hl7/fhir/instance/model/dstu21/valueset/valuesets.xml";
}
ourLog.info("Loading valuesets from: {}", name);
String vs = IOUtils.toString(ValueSetGenerator.class.getResourceAsStream(name));
if ("dstu".equals(myVersion)) {
Bundle bundle = newXmlParser.parseBundle(vs);