org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.servicebus .plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy (default-cli) on project test-servicebus-project: Unexpected error loading the Service Bus Archive: null

Oracle Community | 553152 | 2 years ago
  1. 0

    Issue in deploying Service Bus projects using maven

    Oracle Community | 2 years ago | 553152
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.servicebus .plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy (default-cli) on project test-servicebus-project: Unexpected error loading the Service Bus Archive: null
  2. 0

    GitHub comment 19#83149825

    GitHub | 2 years ago | s0undt3ch
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project update-center2: An exception occured while executing the Java class. null
  3. 0

    Build Failure: exec-maven-plugin Invacationexception

    Stack Overflow | 2 months ago | Bernier Fierens
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project MercuriusMaven: An exception occured while executing the Java class. null at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 79#232725259

    GitHub | 5 months ago | rultor
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.5.1:site (default-site) on project maxur-base: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin
  6. 0

    I'm trying to cut the 1.5.0 release of the OSS Crowd Plugin before making the changes necessary to have it be compatible with 1.6. But when I go to do the release, I get a 401 error on https://repository.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar: INFO] [INFO] [deploy:deploy {execution: default-deploy}] [INFO] [DEBUG] Using Wagon implementation lightweight from default mapping for protocol https [INFO] [DEBUG] Checking for pre-existing User-Agent configuration. [INFO] [DEBUG] Adding User-Agent configuration. [INFO] [DEBUG] not adding permissions to wagon connection [INFO] Uploading: https://repository.sonatype.org/service/local/staging/deploy/maven2//org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar [INFO] 4/43K [INFO] 8/43K [INFO] 12/43K [INFO] 16/43K [INFO] 20/43K [INFO] 24/43K [INFO] 28/43K [INFO] 32/43K [INFO] 36/43K [INFO] 40/43K [INFO] 43/43K [INFO] [DEBUG] Using Wagon implementation lightweight from default mapping for protocol https [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] BUILD ERROR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Error deploying artifact: Failed to transfer file: https://repository.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar. Return code is: 401 [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [DEBUG] Trace [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://repository.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar. Return code is: 401 [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) [INFO] at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) [INFO] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [INFO] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) [INFO] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://repository.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar. Return code is: 401 [INFO] at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) [INFO] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) [INFO] ... 17 more (etc. etc. etc.) I'm using the same credentials as I use for snapshot deployment as it works. I can also log into r.s.o. using those credentials and see I a Staging repository. Any ideas?

    Sonatype JIRA | 7 years ago | Justin Edelson
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://repository.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.5.0/nexus-crowd-plugin-1.5.0.jar. Return code is: 401

    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

      Unexpected error loading the Service Bus Archive: null

      at oracle.sb.maven.plugin.DeployMojo.loadConfig()
    2. oracle.sb.maven
      DeployMojo.execute
      1. oracle.sb.maven.plugin.DeployMojo.loadConfig(DeployMojo.java:161)
      2. oracle.sb.maven.plugin.DeployMojo.execute(DeployMojo.java:81)
      2 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    4. Maven Core
      MojoExecutor.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      1 frame