Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] [MAVEN under Eclipse] Issue when I add the market place

Hello,

 

I’ve a strange issue.

Under Kepler (because my plugins are built under Kepler) I try to generate an Eclipse product with Maven for Luna.

The 1st build worked fine, but I’ve realized that it’s missed the market place;

So, I’ve add in my product the dependencies : org.eclipse.mpc (1.3.2.v20150218-2039).

 

Before doing a “maven install”, I tried to generate the product via the product plugin doing : “Eclipse Product export wizard” and it was ok : I’ve my product with the market place … good !

But, when I tried to build with maven I’ve this error :

 

[ERROR] All attempts to read artifact osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 failed:

[ERROR]    An error occurred while transferring artifact packed: osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 from repository http://download.eclipse.org/releases/luna/201502271000:

[ERROR]       HTTP Server 'Internal Error': http://download.eclipse.org/releases/luna/201502271000/plugins/org.eclipse.epp.mpc.core_1.3.2.v20141216-2136.jar.pack.gz

[ERROR]    An error occurred while transferring artifact canonical: osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 from repository http://download.eclipse.org/releases/luna/201502271000:

[ERROR]       HTTP Server 'Internal Error': http://download.eclipse.org/releases/luna/201502271000/plugins/org.eclipse.epp.mpc.core_1.3.2.v20141216-2136.jar

[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 into the local Maven repository.See log output for details. HttpComponents connection error response code 500. -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 into the local Maven repository.See log output for details.

       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: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.epp.mpc.core,1.3.2.v20141216-2136 into the local Maven repository.See log output for details.

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:217)

……

 

I tried to contact this url : http://download.eclipse.org/releases/luna/201502271000/plugins/org.eclipse.epp.mpc.core_1.3.2.v20141216-2136.jar.pack.gz

It’s ok

 

And I don’t understand why Maven fails where “Eclipse Product export wizard” is successful ????

Do you have any idea ?

 

Thank you

Have a good day

 

Christelle


Back to the top