Temporary solution:
I have located a temporary solution to the issue. This is an alternative link to the pre 2.4.2 (2.4.1 and earlier) p2 repos for eclipselink.
http://mirror.cs.rit.edu/eclipse/rt/eclipselink/updates
Is there anyone else having issues with the p2 repository for eclipselink? I believe this has happened since the M7 release (Friday of last week).
From: eclipselink-dev-bounces@xxxxxxxxxxx [eclipselink-dev-bounces@xxxxxxxxxxx] on behalf of shull3 [shull3@xxxxxxx]
Sent: Monday, May 13, 2013 11:48 AM
To: eclipselink-dev@xxxxxxxxxxx
Subject: [eclipselink-dev] P2 repository failure tycho build
Everyone,
Tycho is unable to find the EclipseLink 2.4.1 repository and our build spits out the error shown below. This just started happening on Friday after working fine for months. The link to download the zip file of the repository works fine, but could there be some
other problem with the repo? The final exception claims "Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at
http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip."
Our target platform is based on Juno.
Thanks for your time! The error is after my signature.
Forest
--
ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target: Failed to load metadata repository from location
http://download.eclipse.org/rt/eclipselink/updates: Unable to read repository at
http://download.eclipse.org/rt/eclipselink/updates. No repository found at
http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:338)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:207)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:94)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Failed to load metadata repository from location
http://download.eclipse.org/rt/eclipselink/updates
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.loadRepository(TargetDefinitionResolver.java:190)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:109)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:64)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:54)
at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:289)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:331)
... 16 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at
http://download.eclipse.org/rt/eclipselink/updates.
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:186)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:107)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.loadRepository(TargetDefinitionResolver.java:188)
... 21 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at
http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:167)
... 30 more