Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdht-dev] maven repository for jars mdht release/runtime? maven packaging

Hi Sean

Thanks a lot for your help. We could upgrade our base ch model to the current distribution. I factored out also a ihe.pharm model which will implement the IHE Pharm Content models, maybe we can contribute that back to mdht once it is finalized?

Best regards
Oliver

On 21 January 2016 at 23:39, Oliver Egger <oliver.egger@xxxxxxxx> wrote:
Hi Sean

Thanks! I give it a try.
Oliver

On 21 January 2016 at 23:29, sean.muir@xxxxxxxxxxxxxxx <sean.muir@xxxxxxxxxxxxxxx> wrote:
We deploy a run time zip for each of the models now that have the dependencies included 




here is the current eclipse dependencies

lpg.runtime.java-2.0.17.v201004271640.jar
org.eclipse.core.contenttype-3.4.200.v20130326-1255.jar
org.eclipse.core.jobs-3.5.300.v20130429-1813.jar
org.eclipse.core.runtime-3.9.100.v20131218-1515.jar
org.eclipse.emf.common-2.9.2.v20131212-0545.jar
org.eclipse.emf.ecore-2.9.2.v20131212-0545.jar
org.eclipse.emf.ecore.xmi-2.9.1.v20131212-0545.jar
org.eclipse.equinox.app-1.3.100.v20130327-1442.jar
org.eclipse.equinox.common-3.6.200.v20130402-1505.jar
org.eclipse.equinox.preferences-3.5.100.v20130422-1538.jar
org.eclipse.equinox.registry-3.5.301.v20130717-1549.jar
org.eclipse.ocl-3.3.0.v20140120-1508.jar
org.eclipse.ocl.common-1.1.0.v20130531-0544.jar
org.eclipse.ocl.ecore-3.3.0.v20130520-1222.jar
org.eclipse.osgi-3.9.1.v20140110-1610.jar
org.eclipse.uml2.common-1.8.2.v20140202-2055.jar
org.eclipse.uml2.types-1.1.0.v20140202-2055.jar

On Jan 21, 2016, at 4:17 PM, Oliver Egger <oliver.egger@xxxxxxxx> wrote:

Sean

Thanks for your help and pointers.

 I can compile the example project but when I want to run it i get exceptions due to missing dependencies. 

Do you have somewhere a list of which dependencies are necessary? We had the dependencies running with the mdht 1.2 release but with maven I got stuck.

Currently I have the following dependencies below added but get an error in:

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NoClassDefFoundError: org/eclipse/ocl/common/preferences/PreferenceableOption

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:760)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)

at java.net.URLClassLoader.access$100(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:367)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:360)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at org.eclipse.ocl.options.ParsingOptions.<clinit>(ParsingOptions.java:56)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.operationCallExpCS(AbstractOCLAnalyzer.java:4052)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.modelPropertyCallExpCS(AbstractOCLAnalyzer.java:3858)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.propertyCallExpCS(AbstractOCLAnalyzer.java:3461)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.oclExpressionCS(AbstractOCLAnalyzer.java:1979)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.invCS(AbstractOCLAnalyzer.java:1440)

at org.eclipse.ocl.parser.AbstractOCLAnalyzer.invOrDefCS(AbstractOCLAnalyzer.java:1420)

at org.eclipse.ocl.parser.OCLAnalyzer.parseInvOrDefCS(OCLAnalyzer.java:266)

at org.eclipse.ocl.internal.helper.HelperUtil.parseInvariant(HelperUtil.java:206)

at org.eclipse.ocl.internal.helper.OCLHelperImpl.createInvariant(OCLHelperImpl.java:216)

at org.eclipse.ocl.ecore.OCLHelperImpl.createInvariant(OCLHelperImpl.java:75)

at org.eclipse.ocl.ecore.OCLHelperImpl.createInvariant(OCLHelperImpl.java:1)

at org.openhealthtools.mdht.uml.cda.operations.ClinicalDocumentOperations.validateClassCode(ClinicalDocumentOperations.java:114)

at org.openhealthtools.mdht.uml.cda.impl.ClinicalDocumentImpl.validateClassCode(ClinicalDocumentImpl.java:1636)

at org.openhealthtools.mdht.uml.cda.util.CDAValidator.validateClinicalDocument_validateClassCode(CDAValidator.java:1763)

at org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator.validateContinuityOfCareDocument(ConsolValidator.java:28871)

at org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator.validate(ConsolValidator.java:18345)

at org.eclipse.emf.ecore.util.EObjectValidator.validate(EObjectValidator.java:324)

at org.eclipse.emf.ecore.util.Diagnostician.doValidate(Diagnostician.java:171)

at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:158)

at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:137)

at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:108)

at org.openhealthtools.mdht.uml.cda.util.CDAUtil.validate(CDAUtil.java:703)

at org.openhealthtools.mdht.uml.cda.util.CDAUtil.validate(CDAUtil.java:692)

at org.openhealthtools.mdht.cda.maven.example.Examples.createCCD(Examples.java:210)

at org.openhealthtools.mdht.cda.maven.example.Examples.main(Examples.java:237)

... 6 more





<dependency>

<groupId>org.eclipse.emf</groupId>

<artifactId>org.eclipse.emf.common</artifactId>

<version>2.9.2-v20131212-0545</version>

</dependency>


<dependency>

<groupId>org.eclipse.emf</groupId>

<artifactId>org.eclipse.emf.ecore</artifactId>

<version>2.9.2-v20131212-0545</version>

</dependency>


<dependency>

<groupId>org.eclipse.uml2.types</groupId>

<artifactId>org.eclipse.uml2.types</artifactId>

<version>1.1.0.v20130902-0826</version>

</dependency>


<dependency>

<groupId>org.eclipse.emf</groupId>

<artifactId>org.eclipse.emf.ecore.xmi</artifactId>

<version>2.9.1-v20131212-0545</version>

</dependency>


<dependency>

<groupId>org.eclipse</groupId>

<artifactId>org.eclipse.ocl</artifactId>

<version>3.3.0.v20140120-1508</version>

</dependency>


<dependency>

<groupId>org.eclipse.ocl</groupId>

<artifactId>org.eclipse.ocl.ecore</artifactId>

<version>3.3.0.v20130520-1222</version>

</dependency>


<dependency>

<groupId>lpg.runtime</groupId>

<artifactId>java</artifactId>

<version>2.0.17-v201004271640</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht</groupId>

<artifactId>org.openhealthtools.mdht.emf.runtime</artifactId>

<version>2.5.18-SNAPSHOT</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht</groupId>

<artifactId>org.openhealthtools.mdht.uml.hl7.vocab</artifactId>

<version>2.5.18-SNAPSHOT</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht</groupId>

<artifactId>org.openhealthtools.mdht.uml.hl7.rim</artifactId>

<version>2.5.18-SNAPSHOT</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht</groupId>

<artifactId>org.openhealthtools.mdht.uml.hl7.datatypes</artifactId>

<version>2.5.18-SNAPSHOT</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht.cda</groupId>

<artifactId>org.openhealthtools.mdht.uml.cda</artifactId>

<version>2.5.18-SNAPSHOT</version>

</dependency>


<dependency>

<groupId>org.openhealthtools.mdht.cda</groupId>

<artifactId>org.openhealthtools.mdht.uml.cda.consol</artifactId>

<version>2.5.16-SNAPSHOT</version>

</dependency>

</dependencies>


On 21 January 2016 at 17:28, <sean.muir@xxxxxxxxxxxxxxx> wrote:
Oliver
looks like the parent pom version was not updated - i have since updated the pom parent version and you should be able to run a build
We are working on our final maven repository configuration (IP and licensing issues) but have started to formalize maven releases more 
the repository is here 
It is a small machine so we do not all the version available
The latest version of the base is 2.5.18-SNAPSHOT and the models are at 2.5.16

one note on maven - we use tycho (https://eclipse.org/tycho/) to support dependencies which works great for managing dependencies
The issue is to use the dependencies outside of tycho - you need to manually define the dependencies - not optimal and will be working with tycho to find a solution

The maven example is here


Thanks

Sean



On Jan 21, 2016, at 3:48 AM, Oliver Egger <oliver.egger@xxxxxxxx> wrote:

hello mdth developers

yet again with some beginners mdht questions

Is there an maven repository for the mdth releases 2.5.11.201510242133? or are these jars the in the cda eclipse developer the latest release?

org.openhealthtools.mdht.emf.runtime_2.5.12.jar
org.openhealthtools.mdht.uml.cda_2.5.12.jar
org.openhealthtools.mdht.uml.hl7.datatypes_2.5.12.jar
org.openhealthtools.mdht.uml.hl7.rim_2.5.12.jar
org.openhealthtools.mdht.uml.hl7.vocab_2.5.12.jar

where do I find the corresponding jars from the model for this release?

org.openhealthtools.mdht.uml.cda.ccd.jar

org.openhealthtools.mdht.uml.cda.cdt.jar

org.openhealthtools.mdht.uml.cda.ihe.jar

if it try to build the models by myself from the trunk/github with maven i get the following error:


workspace_mdht2/org.openhealthtools.mdht.uml.cda.ihe

mvn install

[INFO] Scanning for projects...

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.openhealthtools.mdht.cda:org.openhealthtools.mdht.uml.cda.ihe:2.5.7-SNAPSHOT: Could not find artifact org.openhealthtools.mdht.cda:org.openhealthtools.mdht.cda.generated:pom:2.5.7-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11

 @ 

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]   

[ERROR]   The project org.openhealthtools.mdht.cda:org.openhealthtools.mdht.uml.cda.ihe:2.5.7-SNAPSHOT (/Users/oliveregger/Documents/workspace_mdht2/org.openhealthtools.mdht.uml.cda.ihe/pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.openhealthtools.mdht.cda:org.openhealthtools.mdht.uml.cda.ihe:2.5.7-SNAPSHOT: Could not find artifact org.openhealthtools.mdht.cda:org.openhealthtools.mdht.cda.generated:pom:2.5.7-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

any help or pointers greatly appreciated!

oliver





--
oliver egger


-->  30.3.2016: FHIR workshop und hands-on, www.ahdis.ch/anmeldung

mobile: +41765795005
twitter: @oliveregger

ahdis gmbh
agile health data information systems
bertastrasse 4
8003 zürich
switzerland
_______________________________________________
mdht-dev mailing list
mdht-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdht-dev


_______________________________________________
mdht-dev mailing list
mdht-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdht-dev




--
oliver egger


-->  30.3.2016: FHIR workshop und hands-on, www.ahdis.ch/anmeldung

mobile: +41765795005
twitter: @oliveregger

ahdis gmbh
agile health data information systems
bertastrasse 4
8003 zürich
switzerland
_______________________________________________
mdht-dev mailing list
mdht-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdht-dev


_______________________________________________
mdht-dev mailing list
mdht-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdht-dev




--
oliver egger


-->  30.3.2016: FHIR workshop und hands-on, www.ahdis.ch/anmeldung

mobile: +41765795005
twitter: @oliveregger

ahdis gmbh
agile health data information systems
bertastrasse 4
8003 zürich
switzerland



--
oliver egger


-->  30.3.2016: FHIR workshop und hands-on, www.ahdis.ch/anmeldung

mobile: +41765795005
twitter: @oliveregger

ahdis gmbh
agile health data information systems
bertastrasse 4
8003 zürich
switzerland

Back to the top