Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] why does tycho fail with this?

A feature:

[ERROR] An error occurred while transferring artifact canonical: org.eclipse.update.feature,org.eclipse.e4.rcp,4.15.0.v20200304-0601 from repository http://developer.servoy.com/p2_repository/2020.06:
[ERROR]    Artifact org.eclipse.update.feature,org.eclipse.e4.rcp,4.15.0.v20200304-0601 is a folder but the repository is an archive or remote location.

has suddenly also exactly the same problem
But what could be the difference here? because i i look in the artifacts.jar/xml its for both releases (4.14 and 4.15 updates sites that i generated exactly the same except for the version string and the size for both, so the plugin and the feature)



On Mon, 6 Apr 2020 at 15:13, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:
Hi,

now that i am creating 1 big mirrored p2 site from the eclipse target editor (for our 3 architectures)
i have suddenly a problem when i now moved to Eclipse 4.15 (i am updating from 4.14)

i generate the same kind of target again but with updated stuff
And point my pom files to that new target

but now i get:

[INFO] Fetching org.eclipse.jdt.core.manipulation_1.13.100.v20200224-2108.jar from http://developer.servoy.com/p2_repository/2020.06/plugins/ (1,5MB)
[ERROR] An error occurred while transferring artifact canonical: osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 from repository http://developer.servoy.com/p2_repository/2020.06:
[ERROR]    Artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 is a folder but the repository is an archive or remote location.
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details.
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details.
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact (MirroringArtifactProvider.java:226)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable (MirroringArtifactProvider.java:211)
    at org.eclipse.tycho.repository.local.PackedFormatMirroringArtifactProvider.makeOneFormatLocallyAvailable (PackedFormatMirroringArtifactProvider.java:43)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable (MirroringArtifactProvider.java:182)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile (MirroringArtifactProvider.java:121)
    at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile (CompositeArtifactProvider.java:85)
    at org.eclipse.tycho.p2.target.TargetPlatformBaseImpl.getLocalArtifactFile (TargetPlatformBaseImpl.java:128)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addUnit (P2ResolverImpl.java:297)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult (P2ResolverImpl.java:260)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:251)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveTargetDependencies (P2ResolverImpl.java:124)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:368)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:336)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:126)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)


Why is that?
If i look at my older 4.14 target that is working fine.. But suddenly the new target is not working
As far as i can see the org.eclipse.jdt.debug_3.15.0.v20200224-0604 plugin is the same kind (its a dir not a jar)
But my previous that has: org.eclipse.jdt.debug_3.14.0.v20191105-0758
also has that samething, so that plugin as dir.

So why would that suddenly fail?

johan



--
Johan Compagner
Servoy


--
Johan Compagner
Servoy

Back to the top