Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] WTP build error

Thank you so much, Matthias. I'm in the process of changing it.

Best Regards

Samuel Wu

Inactive hide details for Matthias Sohn ---06/08/2015 02:33:41 PM---On Mon, Jun 8, 2015 at 8:29 PM, Matthias Sohn <matthias.sohMatthias Sohn ---06/08/2015 02:33:41 PM---On Mon, Jun 8, 2015 at 8:29 PM, Matthias Sohn <matthias.sohn@xxxxxxxxx> wrote:

From: Matthias Sohn <matthias.sohn@xxxxxxxxx>
To: Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
Date: 06/08/2015 02:33 PM
Subject: Re: [cbi-dev] WTP build error
Sent by: cbi-dev-bounces@xxxxxxxxxxx





On Mon, Jun 8, 2015 at 8:29 PM, Matthias Sohn <matthias.sohn@xxxxxxxxx> wrote:
    On Mon, Jun 8, 2015 at 7:11 PM, Samuel Wu <samuelwu@xxxxxxxxxx> wrote:
      The WTP build failed with the following error message and I wonder whether someone can shed some light. Thank you.

      Downloading:
      https://repo.eclipse.org/content/repositories/cbi-snapshots/org/eclipse/cbi/maven/plugins/eclipse-jarsigner-plugin/1.1.2-SNAPSHOT/eclipse-jarsigner-plugin-1.1.2-SNAPSHOT.jar
      [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
      [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
      [DEBUG] Closing connection to remote
      [ERROR] Internal error: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm: Plugin org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:1.1.2-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:jar:1.1.2-SNAPSHOT in tycho (
      https://oss.sonatype.org/content/repositories/public/) -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
      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(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
      at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:166)
      at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:124)
      at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
      at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:70)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      ... 11 more
      Caused by: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
      at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.newMavenExecutionException(PluginRealmHelper.java:143)
      at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:130)
      at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:146)
      ... 16 more
      Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:1.1.2-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:jar:1.1.2-SNAPSHOT in tycho (
      https://oss.sonatype.org/content/repositories/public/)
      at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:133)
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:150)
      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:497)
      at org.eclipse.tycho.core.maven.utils.MavenCompatiblityHelper.getPluginDescriptor(MavenCompatiblityHelper.java:68)
      at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:95)
      ... 17 more
      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:jar:1.1.2-SNAPSHOT in tycho (
      https://oss.sonatype.org/content/repositories/public/)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
      at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
      at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
      ... 24 more
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:jar:1.1.2-SNAPSHOT in tycho (
      https://oss.sonatype.org/content/repositories/public/)
      at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
      at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
      at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
      ... 28 more


    jarsigner 1.1.2 was released a while ago
    https://repo.eclipse.org/content/repositories/cbi-snapshots/org/eclipse/cbi/maven/plugins/eclipse-jarsigner-plugin/1.1.2-SNAPSHOT/eclipse-jarsigner-plugin-1.1.2-SNAPSHOT.jar
    and SNAPSHOT builds are purged after a they reached a certain age

    -MatthiasĀ 

I meant
https://repo.eclipse.org/content/repositories/cbi-releases/org/eclipse/cbi/maven/plugins/eclipse-jarsigner-plugin/1.1.2/_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev

GIF image


Back to the top