Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tycho » Bundles stored in local repository?
Bundles stored in local repository? [message #660723] Mon, 21 March 2011 12:13 Go to next message
Eclipse UserFriend
Originally posted by: jfrantzius.googlemail.com

Hi,

not having made any practical experiences with Tycho so far,
unfortunately, I'd have a question regarding downloaded bundles.

"Normal" maven dependencies are cached in the local repository once they
were downloaded. Now the question is: does this also hold true for
bundles learned from bundle descriptors, that were e.g. downloaded from
P2 repositories?

I guess they'd have to be "repackaged" as maven artifacts, with some
kind of generated POM in order to facilitate this, so I wonder whether
Tycho does this.

Thanks for any hints,
Jörg
Re: Bundles stored in local repository? [message #660931 is a reply to message #660723] Tue, 22 March 2011 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jfrantzius.googlemail.com

When looking at slide 6 from
http://www.slideshare.net/jsievers/building-eclipse-plugins- with-tycho,
it seems that instead bundles are stored in a local p2 repository. Tycho
then seems to provide support for resolving dependencies against that
local p2 repository.

So in theory, it should be possible to write a maven mojo that has e.g.
the EMF generator as its dependency with
"<packaging>eclipse-plugin</packaging>"?


On 21.03.2011 13:13, Jörg von Frantzius wrote:
> Hi,
>
> not having made any practical experiences with Tycho so far,
> unfortunately, I'd have a question regarding downloaded bundles.
>
> "Normal" maven dependencies are cached in the local repository once
> they were downloaded. Now the question is: does this also hold true
> for bundles learned from bundle descriptors, that were e.g. downloaded
> from P2 repositories?
>
> I guess they'd have to be "repackaged" as maven artifacts, with some
> kind of generated POM in order to facilitate this, so I wonder whether
> Tycho does this.
>
> Thanks for any hints,
> Jörg
Re: Bundles stored in local repository? [message #717930 is a reply to message #660931] Mon, 22 August 2011 18:34 Go to previous message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
You need to use

<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>

for <packaging>eclipse-plugin</packaging>.

Hope this helps.
Previous Topic:Features versions in .product file
Next Topic:Eclipse Default Bundles/Plugin
Goto Forum:
  


Current Time: Sat Nov 29 03:01:10 GMT 2014

Powered by FUDForum. Page generated in 0.18527 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software