Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] building -eclipse - error "Failed to load p2 repository"

Hi PTP-Users,

 

I am trying to build a patched version of PTP 8.1.0 but I am getting the error “Failed to load p2 repository”.

 

Does anyone know what the proper value of the <platform-site> URL needs to be in the pom.xml file?

 

Neither of  these work for me…

 

<platform-site>http://download.eclipse.org/eclipse/updates/4.4/R-4.4-201406061215</platform-site>

<platform-site>http://download.eclipse.org/eclipse/updates/4.4/R-4.4.1-201409250400</platform-site>

 

Thanks

Mark

 

Here’s the trace from the maven command……

 

C:\PTP_8_1_0\PTP_8_1_0>mvn clean verify

[INFO] Scanning for projects...

[INFO] Computing target platform for MavenProject: org.eclipse.ptp:org.eclipse.p

tp.core:7.0.0-SNAPSHOT @ C:\PTP_8_1_0\PTP_8_1_0\core\org.eclipse.ptp.core\pom.xm

l

[INFO] Adding repository http://download.eclipse.org/eclipse/updates/4.4/R-4.4.1

-201409250400

[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository

with ID 'platform-luna' from location http://download.eclipse.org/eclipse/updat

es/4.4/R-4.4.1-201409250400: No repository found at http://download.eclipse.org/

eclipse/updates/4.4/R-4.4.1-201409250400. -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept

ion: Failed to load p2 repository with ID 'platform-luna' from location http://d

ownload.eclipse.org/eclipse/updates/4.4/R-4.4.1-201409250400

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:483)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun

cher.java:289)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav

a:229)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La

uncher.java:415)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:

356)


Back to the top