Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Dominik Obermaier, 1 year ago
org.codehaus.mojo:nsis-maven-plugin: 1.0-20091114.095635-2 or one of its dependencies could not be resolved: Failed to collect dependencies for org.codehaus.mojo:nsis- maven-plugin:jar:1.0-20091114.095635-2 ()
via GitHub by jrwiebe
, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce-maven) on project warcbase: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0 or one of its dependencies could not be resolved: Could not find artifact org.beanshell:bsh:jar:2.0b4
via GitHub by ruebot
, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce-maven) on project warcbase: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0 or one of its dependencies could not be resolved: Could not find artifact org.beanshell:bsh:jar:2.0b4
org.apache.maven.lifecycle.LifecycleExecutionException: Failed toexecute goal org.codehaus.mojo:nsis-maven-plugin:1.0-SNAPSHOT:generate-project (default) on project tomighty: Execution default of goalorg.codehaus.mojo:nsis-maven-plugin:1.0-SNAPSHOT:generate-projectfailed: Plugin org.codehaus.mojo:nsis-maven-plugin:1.0-20091114.095635-2 or one of its dependencies could not beresolved: Failed to collect dependencies for org.codehaus.mojo:nsis-maven-plugin:jar:1.0-20091114.095635-2 () at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) 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: org.apache.maven.plugin.PluginExecutionException: Executiondefault of goal org.codehaus.mojo:nsis-maven-plugin:1.0-SNAPSHOT:generate-project failed: Plugin org.codehaus.mojo:nsis-maven-plugin:1.0-20091114.095635-2 or one of its dependencies could not beresolved: Failed to collect dependencies for org.codehaus.mojo:nsis-maven-plugin:jar:1.0-20091114.095635-2 () at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:86) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) ... 19 moreCaused by: org.apache.maven.plugin.PluginResolutionException: Pluginorg.codehaus.mojo:nsis-maven-plugin:1.0-20091114.095635-2 or one ofits dependencies could not be resolved: Failed to collect dependenciesfor org.codehaus.mojo:nsis-maven-plugin:jar:1.0-20091114.095635-2 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:159) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:316) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:284) at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:186) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:82) ... 20 moreCaused by: org.sonatype.aether.collection.DependencyCollectionException: Failedto collect dependencies for org.codehaus.mojo:nsis-maven-plugin:jar:1.0-20091114.095635-2 () at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:197) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:272) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:148) ... 24 moreCaused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.codehaus.mojo:nsis-maven-plugin:jar:1.0-20091114.095635-2 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:308) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:170) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:191) ... 26 moreCaused by: org.apache.maven.model.resolution.UnresolvableModelException: Couldnot find artifact org.codehaus.mojo:mojo-sandbox-parent:pom:5-SNAPSHOTin codehaus-mojo (http://snapshots.repository.codehaus.org) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:119) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:819) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:299) ... 28 moreCaused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.codehaus.mojo:mojo-sandbox-parent:pom:5-SNAPSHOT in codehaus-mojo (http://snapshots.repository.codehaus.org) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:115) ... 33 moreCaused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.codehaus.mojo:mojo-sandbox-parent:pom:5-SNAPSHOT in codehaus-mojo (http://snapshots.repository.codehaus.org) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:854) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:849) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:602) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:596) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:355) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:407) ... 35 more