Skip to main content

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

I used p2browser, added
repository, searched for, then downloaded the two


On 12/20/2013, 19:03, Russ Tremain wrote:
Hi Igor,

At 7:32 AM -0500 12/20/13, Igor Fedorenko wrote:
Tycho does not introduce arbitrary dependency requirements, this
installable unit must be required by one of your projects, otherwise
Tycho would not complain about it. There is not way to suppress this
kind of errors.

I don't believe it is required by any project of ours.  The proof is that when I removed the eclipse_release_staging repository, the build finally worked.  So I believe it is a transitive dependency pulled in by tycho.  We are using tycho 0.17, however, not the latest.

I just checked and I see both and 1.0.300.v20130830-1837 are present in the
repository. So this particular problem must be specific to your environment.

thanks for checking, how did you do it?  is there an eclipse tool that allows one to browse p2 repositories (I don't normally use eclipse).

Not sure if this affects other developers, but I find Eclipse repository
mirrors exceptionally unreliable and always tell Tycho to download from
the main repository directly. Nexus p2 proxy implementation is supposed
to fallback to main repository automatically, but I have not checked if
this logic still works.

is it possible that this is a bug in the nexus-p2-repository plugin?

I have noticed that the nexus p2 composite repositories do not always work as one would expect; I have had to shut down nexus, remove the composite p2 repo, and restart it when changing the member repositories in order to force it to rebuild the composite {artifact,content}.xml files.

I am not aware of any tool to verify consistency of p2 repositories.

seems like your tool is a good start.. ;)

I don't know how/where to report this kind of problems.

thanks for your help..



On 12/19/2013, 17:05, Russ Tremain wrote:

I have a build using the tycho plugin to pull down p2 content from and it appears that:

is missing from that repository, but there are still references to it in

     <unit id="" singleton="false"
       <update id=""
range="[0.0.0,1.0.300.v20130830-1837)" severity="0" />
       <properties size="9">
         <property name="df_LT.bundleVendor" value="" />
         <property name="df_LT.bundleName" value="PDE UA UI Source" />
         <property 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="" />
         <property name="maven-version" value="1.0.300-SNAPSHOT" />
         <property name="maven-classifier" value="sources" />
       <provides size="4">
         <provided name=""
version="1.0.300.v20130830-1837" namespace="org.eclipse.equinox.p2.iu" />
         <provided name=""
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" />
       <artifacts size="1">
         <artifact id=""
classifier="osgi.bundle" version="1.0.300.v20130830-1837" />
       <touchpoint id="org.eclipse.equinox.p2.osgi" version="1.0.0" />
       <touchpointData size="1">
         <instructions size="1">
           <instruction key="manifest">Bundle-SymbolicName:
Bundle-Version: 1.0.300.v20130830-1837</instruction>

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 Server 'Internal Error':

"Problems while reading artifacts from
["HTTP Server 'Internal Error':

"Messages while reading artifacts from child repositories":
["Problems while reading artifacts from
["HTTP Server 'Internal Error':
-> [Help 1]


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

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

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 ( in
this case)?

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

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,


To unsubscribe, e-mail: nexus-user-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: nexus-user-help@xxxxxxxxxxxx

tycho-user mailing list

Back to the top