org.apache.maven.plugin.MojoExecutionException

Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: scala-tools.org (http://scala-tools.org/repo-releases), terracotta-repository (http://www.terracotta.org/download/reflector/maven2), central (http://repo1.maven.org/maven2), Codehaus Snapshots (http://snapshots.repository.codehaus.org/) Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Unknown author,
  • via Unknown by gonchare,
  • Stack trace

    • org.apache.maven.plugin.MojoExecutionException: Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: scala-tools.org (http://scala-tools.org/repo-releases), terracotta-repository (http://www.terracotta.org/download/reflector/maven2), central (http://repo1.maven.org/maven2), Codehaus Snapshots (http://snapshots.repository.codehaus.org/) Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3 at org.terracotta.maven.plugins.tc.DsoSurefireMojo.constructSurefireBooter(DsoSurefireMojo.java:585) at org.terracotta.maven.plugins.tc.DsoSurefireMojo$SurefireThread.runSurefire(DsoSurefireMojo.java:434) at org.terracotta.maven.plugins.tc.DsoSurefireMojo$SurefireThread.run(DsoSurefireMojo.java:417) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to parse the Maven built-in model: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: scala-tools.org (http://scala-tools.org/repo-releases), terracotta-repository (http://www.terracotta.org/download/reflector/maven2), central (http://repo1.maven.org/maven2), Codehaus Snapshots (http://snapshots.repository.codehaus.org/) Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3 at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:432) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:300) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:259) at org.terracotta.maven.plugins.tc.DsoArtifactResolverImpl.resolveArtifact(DsoArtifactResolverImpl.java:145) at org.terracotta.maven.plugins.tc.DsoSurefireMojo.addArtifact(DsoSurefireMojo.java:775) at org.terracotta.maven.plugins.tc.DsoSurefireMojo.constructSurefireBooter(DsoSurefireMojo.java:548) ... 3 more Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to parse the Maven built-in model: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:347) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:328) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:409) ... 10 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:1483) at org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuperProject(DefaultMavenProjectBuilder.java:308) at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:343) ... 12 more Caused by: org.apache.maven.profiles.activation.ProfileActivationException: Cannot retrieve list of profile activators. at org.apache.maven.profiles.DefaultProfileManager.isActive(DefaultProfileManager.java:284) at org.apache.maven.profiles.DefaultProfileManager.getActiveProfiles(DefaultProfileManager.java:209) at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:1477) ... 14 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.profiles.activation.ProfileActivatorsystem-property', it could not be started at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:339) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440) at org.codehaus.plexus.DefaultPlexusContainer.lookupList(DefaultPlexusContainer.java:423) at org.apache.maven.profiles.DefaultProfileManager.isActive(DefaultProfileManager.java:265) ... 16 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) ... 19 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Unable to contextualize component at org.codehaus.plexus.personality.plexus.lifecycle.phase.ContextualizePhase.execute(ContextualizePhase.java:24) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) ... 22 more Caused by: org.codehaus.plexus.context.ContextException: Unable to resolve context key: SystemProperties at org.codehaus.plexus.context.DefaultContext.get(DefaultContext.java:154) at org.apache.maven.profiles.activation.SystemPropertyProfileActivator.contextualize(SystemPropertyProfileActivator.java:38) at org.codehaus.plexus.personality.plexus.lifecycle.phase.ContextualizePhase.execute(ContextualizePhase.java:20) ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.