Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Proper Approach to using Tycho built jars in Non-tycho maven builds

Hello,

We are currently using Tycho to build a series of jars that our clients typically use outside of eclipse and we need to support Maven;  The clients in general are unable to make major adjustments to their build mvn process so we are looking for the best approach to allow for a simple dependency to resolve all the underlying dependencies.  I have ran across several approaches including repackaging but want to make sure we follow the “best practice”

My preferred approach is to allow clients to use the following and have it resolve the dependencies below

<dependency>
<groupId>org.eclipse.mdht</groupId>
<artifactId>org.eclipse.mdht.uml.cda</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>

Currently clients have to manually include all the additional dependencies within their build in order to use the jar(s). 
So as part of our current releases, we create archive will all the dependent jars included and then the client deploys locally (this is not optimal).

Appreciate any insight 

Thanks

Sean

[INFO] org.eclipse.mdht:org.eclipse.mdht.uml.cda:eclipse-plugin:3.0.0-SNAPSHOT
[INFO] +- p2.eclipse-plugin:org.eclipse.osgi:jar:3.11.0.v20160309-1913:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.preferences:jar:3.6.0.v20160120-1756:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.registry:jar:3.6.100.v20160223-2218:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.common:jar:3.8.0.v20160315-1450:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.contenttype:jar:3.5.100.v20160310-1346:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.jobs:jar:3.8.0.v20160209-0147:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.app:jar:1.3.400.v20150715-1528:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.runtime:jar:3.12.0.v20160222-1238:system
[INFO] +- p2.eclipse-plugin:org.eclipse.emf.common:jar:2.12.0.v20160315-0423:system
[INFO] +- p2.eclipse-plugin:org.eclipse.emf.ecore:jar:2.12.0.v20160315-0423:system
[INFO] +- p2.eclipse-plugin:org.eclipse.emf.ecore.xmi:jar:2.12.0.v20160315-0423:system
[INFO] +- p2.eclipse-plugin:org.eclipse.mdht.emf.runtime:jar:3.0.0.201604011602:system
[INFO] +- p2.eclipse-plugin:org.eclipse.ocl.ecore:jar:3.6.0.v20160224-1849:system
[INFO] +- p2.eclipse-plugin:org.eclipse.mdht.uml.hl7.datatypes:jar:3.0.0.201604011602:system
[INFO] +- p2.eclipse-plugin:org.eclipse.mdht.uml.hl7.vocab:jar:3.0.0.201604011602:system
[INFO] +- p2.eclipse-plugin:org.eclipse.uml2.types:jar:2.0.0.v20160321-0821:system
[INFO] +- p2.eclipse-plugin:org.eclipse.uml2.common:jar:2.1.0.v20160321-0821:system
[INFO] +- p2.eclipse-plugin:org.eclipse.mdht.uml.hl7.rim:jar:3.0.0.201604011602:system
[INFO] +- p2.eclipse-plugin:lpg.runtime.java:jar:2.0.17.v201004271640:system
[INFO] +- p2.eclipse-plugin:org.eclipse.ocl.common:jar:1.4.0.v20160105-1130:system
[INFO] \- p2.eclipse-plugin:org.eclipse.ocl:jar:3.6.0.v20160224-1849:system

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top