Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] how to get eclipse repos fixed?

Hi,

I have a build using the tycho plugin to pull down p2 content from http://download.eclipse.org/releases/staging/ and it appears that:

	org.eclipse.pde.ua.ui_1.0.300.v20130830-1837.jar

is missing from that repository, but there are still references to it in content.xml:

<unit id="org.eclipse.pde.ua.ui.source" singleton="false" version="1.0.300.v20130830-1837"> <update id="org.eclipse.pde.ua.ui.source" range="[0.0.0,1.0.300.v20130830-1837)" severity="0" />
      <properties size="9">
        <property name="df_LT.bundleVendor" value="Eclipse.org" />
        <property name="df_LT.bundleName" value="PDE UA UI Source" />
        <property name="org.eclipse.equinox.p2.name" value="%bundleName" />
<property name="org.eclipse.equinox.p2.provider" value="%bundleVendor" /> <property name="org.eclipse.equinox.p2.bundle.localization" value="OSGI-INF/l10n/bundle-src" />
        <property name="maven-groupId" value="org.eclipse.pde" />
        <property name="maven-artifactId" value="org.eclipse.pde.ua.ui" />
        <property name="maven-version" value="1.0.300-SNAPSHOT" />
        <property name="maven-classifier" value="sources" />
      </properties>
      <provides size="4">
<provided name="org.eclipse.pde.ua.ui.source" version="1.0.300.v20130830-1837" namespace="org.eclipse.equinox.p2.iu" /> <provided name="org.eclipse.pde.ua.ui.source" version="1.0.300.v20130830-1837" namespace="osgi.bundle" /> <provided name="source" version="1.0.0" namespace="org.eclipse.equinox.p2.eclipse.type" /> <provided name="df_LT" version="1.0.0" namespace="org.eclipse.equinox.p2.localization" />
      </provides>
      <artifacts size="1">
<artifact id="org.eclipse.pde.ua.ui.source" classifier="osgi.bundle" version="1.0.300.v20130830-1837" />
      </artifacts>
      <touchpoint id="org.eclipse.equinox.p2.osgi" version="1.0.0" />
      <touchpointData size="1">
        <instructions size="1">
<instruction key="manifest">Bundle-SymbolicName: org.eclipse.pde.ua.ui.source
Bundle-Version: 1.0.300.v20130830-1837</instruction>
        </instructions>
      </touchpointData>
    </unit>

Maven throws an error because it can't download the artifact (from nexus in this case):

[ERROR] Internal error: java.lang.RuntimeException:
"Messages while reading artifacts from child repositories":
["Messages while reading artifacts from child repositories":
["Problems while reading artifacts from http://localhost:8080/nexus/content/repositories/eclipse-4.4-I-builds": ["HTTP Server 'Internal Error': http://localhost:8080/nexus/content/repositories/eclipse-4.4-I-builds/plugins/org.eclipse.pde.ua.ui_1.0.300.v20130830-1837.jar";], "Problems while reading artifacts from http://localhost:8080/nexus/content/repositories/eclipse_release_staging": ["HTTP Server 'Internal Error': http://localhost:8080/nexus/content/repositories/eclipse_release_staging/plugins/org.eclipse.pde.ua.ui_1.0.300.v20130830-1837.jar";],
"Messages while reading artifacts from child repositories":
["Problems while reading artifacts from http://localhost:8080/nexus/content/repositories/eclipse_release_staging": ["HTTP Server 'Internal Error': http://localhost:8080/nexus/content/repositories/eclipse_release_staging/plugins/org.eclipse.pde.ua.ui_1.0.300.v20130830-1837.jar";]]]] -> [Help 1]

QUESTIONS:

We have these problems periodically and generally the solution has been to try to route around the offending repository, but that is not always possible.

How do I verify that the artifact is truly missing from the external p2 repository?

Are there programs run against these repositories that periodically scan for missing artifacts and repair the metadata?

How do we file a "bug" against the offending provider (eclipse.org in this case)?

Is there any way to get tycho to "forgive" certain errors in transitive dependencies?

I'm very interested in how others debug and correct this type of problems.

I did find a nice tool that Igor Fedorenko wrote, that I found helpful in validating p2 site url's, but it doesn't do any consistency checks on the remote p2 repository.

thanks in advance,
-Russ

[1] https://github.com/ifedorenko/p2-browser.git


Back to the top