Hi Wim, The signing maven plugin is not found in repo1. This is expected since this plugin is only available in eclipse's nexus : http://maven.eclipse.org/nexus/
If this worked before this could mean that (these are only ideas): - There have been a change in the global settings.xml on hudson. Eclipse repository was used as a mirror for all repository, and it was configured to be more selective. - We are using a shared $HOME/.m2/repository and another build had already downloaded the plugin for us. But this repo has been cleared. Try to add http://maven.eclipse.org/nexus/content/repositories/milestone-indigo/ as a pluginRepository in our pom. This could work. -- Nicolas Le 13 déc. 2011 à 08:38, Wim Jongman a écrit : > Hi, > > Our build fails with this exception. Does this ring a bell with someone? > > [ERROR] Internal error: java.lang.RuntimeException: > org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm: > Plugin org.eclipse.dash.maven:eclipse-signing-maven-plugin:1.0.3 or one of > its dependencies could not be resolved: Failure to find > org.eclipse.dash.maven:eclipse-signing-maven-plugin:jar:1.0.3 in > http://repo1.maven.org/maven2 was cached in the local repository, resolution > will not be reattempted until the update interval of central has elapsed or > updates are forced -> [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:163) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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: > org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm > at > org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:165) > at > org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:74) > at > org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:56) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) > ... 11 more > Caused by: org.apache.maven.MavenExecutionException: Could not setup plugin > ClassRealm > at > org.eclipse.tycho.core.maven.utils.PluginRealmHelper.newMavenExecutionException(PluginRealmHelper.java:134) > at > org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:123) > at > org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:149) > ... 15 more > Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin > org.eclipse.dash.maven:eclipse-signing-maven-plugin:1.0.3 or one of its > dependencies could not be resolved: Failure to find > org.eclipse.dash.maven:eclipse-signing-maven-plugin:jar:1.0.3 in > http://repo1.maven.org/maven2 was cached in the local repository, resolution > will not be reattempted until the update interval of central has elapsed or > updates are forced > at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:96) > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:136) > at > org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:86) > ... 16 more > Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: > Failure to find org.eclipse.dash.maven:eclipse-signing-maven-plugin:jar:1.0.3 > in http://repo1.maven.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190) > at > org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:250) > at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:92) > ... 18 more > Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to > find org.eclipse.dash.maven:eclipse-signing-maven-plugin:jar:1.0.3 in > http://repo1.maven.org/maven2 was cached in the local repository, resolution > will not be reattempted until the update interval of central has elapsed or > updates are forced > at > org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:191) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:384) > ... 21 more > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException > Terminating xvnc. > _______________________________________________ > nebula-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________ nebula-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/nebula-dev
