Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Consume old update sites as repositories

On 01/11/2013 12:34 PM, Christian.Pontesegger@xxxxxxxxxxxx wrote:
Hi,
Hi,
typically I add p2 repositories to my poms like this:

		<repository>
			<id>Juno</id>
			<layout>p2</layout>
			<url>http://download.eclipse.org/releases/juno</url>
		</repository>

Works like a charm. Now I need to add an old-style update site. Is this supported? Which layout type would I have to use?
Non-p2 repositories are not supported since they do not contain metadata for dependency resolution.
You should think about mirroring the old update-site as a p2 repository, by either:
* Re-creating a p2 repo using PDE (redefine a category.xml containing the content of your old update-site and export it. It will add p2 metadata), or
* using an Ant script to invoke p2.mirror and p2.publish.featuresAndBundles tasks: http://download.jboss.org/jbosstools/updates/requirements/findbugs/build.xml

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top