org.apache.maven.lifecycle.LifecycleExecutionException: Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable to get dependency information: Unable to read the metadata file for artifact 'com.sun.jersey:jersey-bundle:jar': Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-bundle:jar:null for project null:jersey-bundle:jar:null com.sun.jersey:jersey-bundle:jar:1.4 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots), central (http://repo1.maven.org/maven2), apache.public.https ( https://repository.apache.org/content/repositories/public) Path to dependency: 1) org.apache.ranger:security-admin-web:war:0.4.0

ranger-dev | Sitaraman Vilayannur | 2 years ago
  1. 0

    Re: Error while building.

    ranger-dev | 2 years ago | Sitaraman Vilayannur
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable to get dependency information: Unable to read the metadata file for artifact 'com.sun.jersey:jersey-bundle:jar': Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-bundle:jar:null for project null:jersey-bundle:jar:null com.sun.jersey:jersey-bundle:jar:1.4 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots), central (http://repo1.maven.org/maven2), apache.public.https ( https://repository.apache.org/content/repositories/public) Path to dependency: 1) org.apache.ranger:security-admin-web:war:0.4.0
  2. 0

    Eclipse - Multiple annotations found at this line: - Missing: ---------- 1) com.google.protobuf:protoc:exe:${os.detected.classifier}:3.1.0

    GitHub | 2 months ago | paulvi
    org.apache.maven.plugin.MojoExecutionException: Missing: ---------- 1) com.google.protobuf:protoc:exe:${os.detected.classifier}:3.1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.1.0 -Dclassifier=${os.detected.classifier} -Dpackaging=exe -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google.protobuf - DartifactId=protoc -Dversion=3.1.0 -Dclassifier=${os.detected.classifier} -Dpackaging=exe -Dfile=/path/to/file - Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.example.grpc:com.example.grpc.maven:jar:0.0.1-SNAPSHOT 2) com.google.protobuf:protoc:exe:${os.detected.classifier}:3.1.0 ---------- 1 required artifact is missing. for artifact: com.example.grpc:com.example.grpc.maven:jar:0.0.1-SNAPSHOT from the specified remote repositories: central
  3. 0

    GitHub comment 88#27461098

    GitHub | 3 years ago | maskbit
    org.apache.maven.plugin.MojoExecutionException: Unable to generate Cobertura Report for project.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error cobertura in sonar "Too small initial heap"

    Stack Overflow | 5 years ago | Gama Ogi Prayogo
    org.apache.maven.plugin.MojoExecutionException: Unable to generate Cobertura Report for project.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable to get dependency information: Unable to read the metadata file for artifact 'com.sun.jersey:jersey-bundle:jar': Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-bundle:jar:null for project null:jersey-bundle:jar:null com.sun.jersey:jersey-bundle:jar:1.4 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots), central (http://repo1.maven.org/maven2), apache.public.https ( https://repository.apache.org/content/repositories/public) Path to dependency: 1) org.apache.ranger:security-admin-web:war:0.4.0

      at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.resolveProjectArtifacts()
    2. org.apache.maven
      ProcessRemoteResourcesMojo.execute
      1. org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.resolveProjectArtifacts(ProcessRemoteResourcesMojo.java:721)
      2. org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects(ProcessRemoteResourcesMojo.java:621)
      3. org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.configureVelocityContext(ProcessRemoteResourcesMojo.java:988)
      4. org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:511)
      4 frames
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      8 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    6. org.apache.maven
      CompatibleMain.main
      1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames