Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Adding discovery sites to p2 repository

There's a mojo we use for JBoss Tools which can add repository
references to an update site's content.xml: .

See the example in the readme. You just need to add the config that
provides associateSites:




Hope that helps,


On Mon, Apr 25, 2016 at 4:40 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
> Hi,
> We have a repository that has dependencies on content from other repositories. We don’t want to enable includeAllDependencies because this just creates a massive repository and makes updates difficult. We don’t want to use a composite repository because the dependencies get shown to the user. We would like the dependent repositories to be added to the content.xml using the <references> and <repository> elements.
> From what I’ve been able to determine by scouring the web, the eclipse-repository packaging type does not copy either the <repository-reference> entries from the category.xml file nor the <discovery> entries from the feature.xml into the content.xml. I’ve also tried adding a p2.inf file with addRepository touchpoint commands, but these don’t seem to be added either.
> The only way I have been able to get this to work is to resort to the old eclipse-update-site packaging type and use a site.xml file.
> Is anyone able to confirm:
> a) the current eclipse-repository packaging type does not provide any way to do this; and
> b) the only way to do it (without resorting to ant scripts) is using an eclipse-update-site.
> Any other suggestions appreciated.
> Thanks
> Greg
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.

Back to the top