Am 10.08.2011 um 15:13 schrieb Jörn Kottmann:

> On 8/10/11 2:58 PM, Richard Eckart de Castilho wrote:
>> As 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?
> 
> Here:
> "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
[email protected] 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 




Reply via email to