Post by Jörn KottmannPost by Richard Eckart de CastilhoAs far as I understood Tycho, it takes the PDE metadata and makes it usable by Maven. Dependencies are downloaded from Update Sites, etc. Effectively this allows you to build Eclipse PDE applications in tools like Jenkins that support Maven, but not the PDE builds.
Doesn't the posted link say that it is possible to resolve dependencies
from a maven repository?
"Let Tycho use the P2 resolver, which resolves plug-ins from
repositories defined in the POM."
There are two parts to Tycho:
1) the maven plugin that you add to the POM
2) the m2eclipse connector that you install in Eclipse
The maven plugin allows maven resolves artifacts from a P2 repository in addition to regular maven repositories.
I am not completely sure what the m2eclipse connector does, though. I know that it is able to detect that the uimaj-ep-* modules are PDE projects and generates a PDE nature into the Eclipse .project file. I am not sure how it handles artifact resolution within Eclipse, e.g. does one use the "Plug-in Dependencies", the "Maven Dependencies" or both. Last time I tried tycho, I couldn't figure that out properly. My impression at the time was that m2eclipse could not act as a resolver for dependencies in Eclipse for PDE projects. During my latest experiments with UIMA, though, I temporarily had a state where I had both "Plug-in Dependencies" and "Maven Dependencies" in a project and it seemed at least not to cause build errors.
Some experimentation should help ;)
Cheers,
Richard
--
-------------------------------------------------------------------
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab
FB 20 Computer Science Department
Technische Universität Darmstadt
Hochschulstr. 10, D-64289 Darmstadt, Germany
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckartde-8gU7mq+ap6zbA/***@public.gmane.org
www.ukp.tu-darmstadt.de
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
-------------------------------------------------------------------