Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how to consume update site zip?

> Could Tycho download the zipped up update site and extract it in the local
> repository and use it from there?

Yes, this would be possible. This would be yet another step of integrating Maven and p2. However, this is not on the agenda. There hasn't even been an enhancement request for this yet </hint>

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Max Spring
> Sent: Donnerstag, 10. Januar 2013 16:43
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] how to consume update site zip?
> 
> My project is an open-sourced Jenkins plugin [1] and it is consuming the
> update site of another open source project [2].
> So the Nexus plugin approach is not applicable.
> 
> I ended up incorporating the source code of [2] into my project.
> Not really a "maven-ish" way, but it gives me a robust build which
> produces the desired results.
> 
> Could Tycho download the zipped up update site and extract it in the local
> repository and use it from there?
> 
> Regards,
> -Max
> 
> [1] https://github.com/jenkinsci/jenkow-plugin
> [2] https://github.com/Activiti/Activiti-Designer
> 
> 
> On 01/07/2013 01:38 AM, Sievers, Jan wrote:
> > http://wiki.eclipse.org/Tycho/Nexus_Unzip_Plugin
> >
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=393847
> >
> >
> >
> > -----Original Message-----
> > From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Alex Blewitt
> > Sent: Freitag, 4. Januar 2013 10:40
> > To: Tycho user list
> > Subject: Re: [tycho-user] how to consume update site zip?
> >
> > I know that Eclipse supports the use of a 'jar' prefix for archived
> update sites; this would be represented as jar:https://...updatesite-
> 5.11.1.zip!/ (note trailing slash). I have no idea if this works in Tycho
> though.
> >
> > Alex
> >
> > On 4 Jan 2013, at 03:20, Igor Fedorenko wrote:
> >
> >> Tycho does not currently support this and there are no plans to
> >> implement such support in Tycho as far as I know.
> >>
> >> I think Jan and Tobias wanted to implement Nexus plugin to make zipped
> >> p2 repositories deployed to Nexus directly usable from Tycho or any p2
> >> client, but I will let them comment on this.
> >>
> >> --
> >> Regards,
> >> Igor
> >>
> >> On Thu, Jan 3, 2013 at 8:32 PM, Max Spring <m2spring@xxxxxxxxxxxxx>
> wrote:
> >>> I'm trying to consume a zipped-up update site sitting in a Maven
> repository
> >>> [1].
> >>> Tycho (0.16.0) doesn't like the naive way ("..." indicates omission):
> >>>
> >>>   <repository>
> >>>     <id>activiti</id>
> >>>     <layout>p2</layout>
> >>>     <url>https://...updatesite-5.11.1.zip</url>
> >>>   </repository>
> >>>
> >>> It complains
> >>>
> >>>   No repository found at https://...updatesite-5.11.1.zip
> >>>
> >>> Or course, I could use the maven-dependency-plugin to unpack the zip
> and use
> >>> a file:// URL.
> >>> That works, but I doesn't work in one aggregator.
> >>> (I brought this up last Aug [2].)
> >>>
> >>> Is there any alternative?
> >>>
> >>> Any suggestion would be highly appreciated.
> >>>
> >>> -Max
> >>>
> >>> [1]
> >>>
> https://maven.alfresco.com/nexus/content/groups/public/org/activiti/design
> er/org.activiti.designer.updatesite/5.11.1/org.activiti.designer.updatesit
> e-5.11.1.zip
> >>> [2] http://dev.eclipse.org/mhonarc/lists/tycho-user/msg03177.html
> >>> _______________________________________________
> >>> tycho-user mailing list
> >>> tycho-user@xxxxxxxxxxx
> >>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> >> _______________________________________________
> >> tycho-user mailing list
> >> tycho-user@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/tycho-user
> >
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> >
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top