org.apache.maven.plugin.MojoExecutionException

Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: archiva.snapshots (http://epbygomsd0006:8001/archiva/repository/snapshots), central (http://repo1.maven.org/maven2), archiva.internal (http://epbygomsd0006:8001/archiva/repository/internal) Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1883

  • via Terracotta by gonchare, 11 months ago
    Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class
  • via terracotta.org by Unknown author, 1 year ago
    Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class
  • via Terracotta by gonchare, 11 months ago
    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
  • 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: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: archiva.snapshots (http://epbygomsd0006:8001/archiva/repository/snapshots), central (http://repo1.maven.org/maven2), archiva.internal (http://epbygomsd0006:8001/archiva/repository/internal) 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: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3 from the specified remote repositories: archiva.snapshots (http://epbygomsd0006:8001/archiva/repository/snapshots), central (http://repo1.maven.org/maven2), archiva.internal (http://epbygomsd0006:8001/archiva/repository/internal) 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:430) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:275) 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: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:363) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:344) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:407) ... 10 more Caused by: org.apache.maven.project.ProjectBuildingException: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom at org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuperProject(DefaultMavenProjectBuilder.java:332) at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:359) ... 12 more Caused by: org.apache.maven.project.interpolation.ModelInterpolationException: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:318) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:328) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102) at java.security.AccessController.doPrivileged(Native Method) at org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:80) at org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate(StringSearchModelInterpolator.java:62) at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:990) at org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuperProject(DefaultMavenProjectBuilder.java:324) ... 13 more Caused by: java.lang.IllegalAccessException: Class org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction can not access a member of class org.apache.maven.model.ModelBase with modifiers "private" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.reflect.Field.doSecurityCheck(Field.java:960) at java.lang.reflect.Field.getFieldAccessor(Field.java:896) at java.lang.reflect.Field.get(Field.java:358) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:298) ... 21 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

    2 times, 1 month ago
    2 times, 4 months ago
    Once, 6 months ago
    Once, 8 months ago
    2 times, 2 months ago
    35 more bugmates