Comments (9)
It pulls hapi-fhir-base 4.0.1 and 4.0.0-SNAPSHOT. Any ideas?
Seems some artifacts in 4.0.1 still pulls 4.0.0 artifacts which eventually pulled the parent-snapshot thingy.
Solved it (temporarily) with exclusions and explicit dependencies where needed.
from org.hl7.fhir.core.
Hi,
we've also noticed this problem yesterday. Failing build in our experimental lift to HAPI 4.0.0.
from org.hl7.fhir.core.
Hi,
We are facing the same problems with a maven build trying to upgrade to 4.0 from 3.7.
from org.hl7.fhir.core.
FYI I have just pushed a 4.0.1 release to Maven central. This build contains no changes other than correcting the dependency on the SNAPSHOT built. It should propagate in the next few hours.
from org.hl7.fhir.core.
Thanks,
Got 4.0.1 building now. One thing i had missed were these two dependencies
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.r4</artifactId>
<version>${hapifhir.version}</version>
</dependency>
Without them older versions of fhir utilities were fetched and resulted in a broken build. Now 4.0.1 builds cleanly here.
from org.hl7.fhir.core.
It still refers to 4.0.0-SNAPSHOT somewhere - a clean m2 repo and mvn dependency:analyze results in 4.0.0-SNAPSHOT being downloaded.
if I set hapifhir.version to 4.0.1
<!-- This dependency includes the core HAPI-FHIR classes -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<!-- Include the HAPI server framework -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-server</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<!-- At least one "structures" JAR must also be included -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<!-- This dependency is used for the "FHIR Tester" web app overlay -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
<version>${hapifhir.version}</version>
<type>war</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu2</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu3</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
<version>${hapifhir.version}</version>
<classifier>classes</classifier>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu2</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu3</artifactId>
</exclusion>
</exclusions>
</dependency>
It pulls hapi-fhir-base 4.0.1 and 4.0.0-SNAPSHOT. Any ideas?
from org.hl7.fhir.core.
If anyone else needs a working workaround this is how we got it to build. hopefully we will see a 4.0.2 release soon fixing these problems.
<!-- This dependency includes the core HAPI-FHIR classes -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-validation</artifactId>
<version>${hapifhir.version}</version>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.validation</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.convertors</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-converter</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.dstu2</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.dstu2016may</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.dstu3</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- TODO: Workaround for HAPI problems, explicitly pull in dependencies with correct version -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-converter</artifactId>
<version>${hapifhir.version}</version>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.convertors</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.r4</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.convertors</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.validation</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
<version>${hapifhir.version}</version>
</dependency>
<!-- Include the HAPI server framework -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-server</artifactId>
<version>${hapifhir.version}</version>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- At least one "structures" JAR must also be included -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
<version>${hapifhir.version}</version>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.r4</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- This dependency is used for the "FHIR Tester" web app overlay -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
<version>${hapifhir.version}</version>
<type>war</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu2</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu3</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-server</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
<version>${hapifhir.version}</version>
<classifier>classes</classifier>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu2</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu3</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-server</artifactId>
</exclusion>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
</exclusion>
</exclusions>
</dependency>
from org.hl7.fhir.core.
FYI all- A 4.0.2 release has now been uploaded to Maven Central that hopefully puts this to bed for good.
from org.hl7.fhir.core.
Please use 4.0.3 - Closing per hapifhir/hapi-fhir#1465
from org.hl7.fhir.core.
Related Issues (20)
- Address.line[] element is not converted in some versions, instead only the String value is
- CodeSystem content mode causes faulty validation errors HOT 2
- org.hl7.fhir.r4.model.codesystems package missing in R4B HOT 1
- Validator - Unable to resolve cross-version extension in slicing logic
- CLI Validator | Resolving of external profile urls not working HOT 2
- OSGI metadata of org.hl7.fhir.utilities introduces hard junit dependency HOT 22
- validator_cli confused about binding strength, causing unwarranted validation failures HOT 3
- Insecure Transformer used in XmlParsers HOT 1
- Suppress choice group element 'item' from being generated in CDA instances HOT 1
- hl7.fhir.cda package cannot be found
- checkToSeeIfSlicingExists - error while reprofiling a profile in the same IG inheriting from another IG where slices are defined
- required VS-bindings in slices are not recognized by the validator
- I18n Project for WHO HOT 1
- root cardinality of extension not taken into account
- Validator based on a directory does not check local file in profile based slices HOT 1
- Errors splitting canonical in URL and version HOT 11
- Request CDA namespace prefix be added to support Australian CDA transformations
- SNOWMED - oops
- Error element [path] launches straight into slicing without the slicing being set up properly first
- Error Index -1 out of bounds for length 0 in derived profiles where base profile has sliced value[x] element on type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.hl7.fhir.core.