java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo

Atlassian JIRA | Eduard Vlasov | 2 years ago
  1. 0

    Report plugin module. When atlassian-plugin.xml looks like that all is OK. {noformat} <property> <key>group</key> <name>Группа</name> <description>Группа пользователей для отображения</description> <type>select</type> <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/> </property> {noformat} But when I use letter "И" in name key an error occurs. (in description key too) {noformat} <property> <key>group</key> <name>Группа И</name> <description>Группа пользователей для отображения</description> <type>select</type> <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/> </property> {noformat} Development jira console output while I'm using atlas-cli's "pi" command: {noformat} [INFO] [talledLocalContainer] 2015-04-14 17:09:45,482 UpmAsynchronousTaskManager:thread-4 WARN admin 1085x440x1 jov2az 127.0.0.1 /rest/plugins/1.0/ [upm.core.install.DefaultPluginInstallationService] Plugin installation failed: Unable to read atlassian-plugin.xml descriptor [INFO] [talledLocalContainer] [Fatal Error] :1:2766: Invalid byte 2 of 2-byte UTF-8 sequence. {noformat} atlas-cli's output: {noformat} [INFO] Install Plugin: Uploading 'ertelecom-jira-reports-1.3.jar' to server via UPM: http://localhost:2990/jira [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:112) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48) at org.twdata.maven.cli.CliShell.run(CliShell.java:29) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:33) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 11 more Caused by: org.apache.maven.plugin.MojoExecutionException: Install Plugin : Upload failed --- {"type":"PLUGIN_INSTALL"," status":{"errorMessage":"An error occurred while installing the add-on. Refer to the logs for more information.","source ":"","done":true,"contentType":"application/vnd.atl.plugins.task.install.err+json","statusCode":200},"links":{"self":"/j ira/rest/plugins/1.0/pending/480d1b68-4da5-4723-9270-ebe2f1d3dda3"},"timestamp":1429013385412,"userKey":"admin","id":"48 0d1b68-4da5-4723-9270-ebe2f1d3dda3"} at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:183) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 17 more {noformat} Sample code (look at the tag): https://bitbucket.org/Edro/timereport-detailed/src/ab70bf2d5b0b99bd75c4ccfbf99deba58418f792/?at=with-bug https://bitbucket.org/Edro/timereport-detailed/src/de58725a8031a9114bb51e415f0269976a9b49a4/?at=without-bug {noformat} E:\git\timereport-detailed>atlas-version ATLAS Version: 5.0.13 ATLAS Home: C:\Users\vlasov.ed\atlassian-plugin-sdk ATLAS Scripts: C:\Users\vlasov.ed\atlassian-plugin-sdk\bin ATLAS Maven Home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1 -------- Executing: "C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\vlasov.ed\atl assian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:37:52+05:00) Maven home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\.. Java version: 1.8.0_40, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_40\jre Default locale: ru_RU, platform encoding: Cp1251 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" Текущая кодовая страница: 1251 {noformat}

    Atlassian JIRA | 2 years ago | Eduard Vlasov
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  2. 0

    Report plugin module. When atlassian-plugin.xml looks like that all is OK. {noformat} <property> <key>group</key> <name>Группа</name> <description>Группа пользователей для отображения</description> <type>select</type> <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/> </property> {noformat} But when I use letter "И" in name key an error occurs. (in description key too) {noformat} <property> <key>group</key> <name>Группа И</name> <description>Группа пользователей для отображения</description> <type>select</type> <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/> </property> {noformat} Development jira console output while I'm using atlas-cli's "pi" command: {noformat} [INFO] [talledLocalContainer] 2015-04-14 17:09:45,482 UpmAsynchronousTaskManager:thread-4 WARN admin 1085x440x1 jov2az 127.0.0.1 /rest/plugins/1.0/ [upm.core.install.DefaultPluginInstallationService] Plugin installation failed: Unable to read atlassian-plugin.xml descriptor [INFO] [talledLocalContainer] [Fatal Error] :1:2766: Invalid byte 2 of 2-byte UTF-8 sequence. {noformat} atlas-cli's output: {noformat} [INFO] Install Plugin: Uploading 'ertelecom-jira-reports-1.3.jar' to server via UPM: http://localhost:2990/jira [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:112) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48) at org.twdata.maven.cli.CliShell.run(CliShell.java:29) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:33) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 11 more Caused by: org.apache.maven.plugin.MojoExecutionException: Install Plugin : Upload failed --- {"type":"PLUGIN_INSTALL"," status":{"errorMessage":"An error occurred while installing the add-on. Refer to the logs for more information.","source ":"","done":true,"contentType":"application/vnd.atl.plugins.task.install.err+json","statusCode":200},"links":{"self":"/j ira/rest/plugins/1.0/pending/480d1b68-4da5-4723-9270-ebe2f1d3dda3"},"timestamp":1429013385412,"userKey":"admin","id":"48 0d1b68-4da5-4723-9270-ebe2f1d3dda3"} at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:183) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 17 more {noformat} Sample code (look at the tag): https://bitbucket.org/Edro/timereport-detailed/src/ab70bf2d5b0b99bd75c4ccfbf99deba58418f792/?at=with-bug https://bitbucket.org/Edro/timereport-detailed/src/de58725a8031a9114bb51e415f0269976a9b49a4/?at=without-bug {noformat} E:\git\timereport-detailed>atlas-version ATLAS Version: 5.0.13 ATLAS Home: C:\Users\vlasov.ed\atlassian-plugin-sdk ATLAS Scripts: C:\Users\vlasov.ed\atlassian-plugin-sdk\bin ATLAS Maven Home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1 -------- Executing: "C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\vlasov.ed\atl assian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:37:52+05:00) Maven home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\.. Java version: 1.8.0_40, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_40\jre Default locale: ru_RU, platform encoding: Cp1251 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" Текущая кодовая страница: 1251 {noformat}

    Atlassian JIRA | 2 years ago | Eduard Vlasov
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  3. 0

    SDK: 5.0.13 Product: Confluence On launching the command atlas-cli > pi the url used is http://localhost:1990//rest/plugins/1.0/. The url should be http://localhost:1990/rest/plugins/1.0/, with one slash at the end of the port number. [DEBUG] Configuring mojo com.atlassian.maven.plugins:atlassian-pdk:2.3.2:install from plugin realm ClassRealm[plugin>com.atlassian.maven.plugins:atlassian-pdk:2.3.2, parent: sun.misc.Launcher$AppClassLoader@7d487b8b] [DEBUG] Configuring mojo 'com.atlassian.maven.plugins:atlassian-pdk:2.3.2:install' with basic configurator --> [DEBUG] (f) pluginFile = /Users/xxxxx/target/xxxxxx-1.0.jar [DEBUG] (f) username = admin [DEBUG] (f) password = admin [DEBUG] (f) serverUrl = http://localhost:1990/ [DEBUG] (f) pluginKey = com.coveo.plugins.xxxxxxx [DEBUG] (f) installMethod = upload [DEBUG] (f) localRepository = id: local url: file:///Users/xxxxxx/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) pluginsHome = /Users/xxxxxx/${atlassian.pdk.server.home}/plugins [DEBUG] -- end configuration -- 1 * Out-bound request 1 > HEAD http://localhost:1990//rest/plugins/1.0/ 1 > Authorization: Basic xxxxxxxxxx 1 > 1 < 404 1 < X-Content-Type-Options: nosniff 1 < Content-Length: 0 1 < Vary: Accept 1 < X-Seraph-LoginReason: OK 1 < Cache-Control: no-transform 1 < X-AUSERNAME: admin 1 < Set-Cookie: JSESSIONID=87E0525E52EFB11D0A2381D0CF1BFEC4; Path=/ 1 < X-XSS-Protection: 1; mode=block 1 < Content-Type: text/html;charset=UTF-8 1 < Server: Apache-Coyote/1.1 1 < Date: Mon, 30 Mar 2015 18:55:06 GMT 1 < 1 * In-bound response [INFO] Install Plugin: Couldn't get the token from upm. Headers. Falling back to legacy upload. [INFO] Install Plugin: Uploading 'coveotheme-1.0.jar' to server: http://localhost:1990/ [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:112) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48) at org.twdata.maven.cli.CliShell.run(CliShell.java:29) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:33) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 11 more Caused by: org.apache.maven.plugin.MojoExecutionException: Install Plugin: Upload failed[404]: Not Found at com.atlassian.maven.plugins.pdk.InstallPluginMojo.legacyUploadFile(InstallPluginMojo.java:225) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:167) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)

    Atlassian JIRA | 2 years ago | Cedric Gagnon
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SDK: 5.0.13 Product: Confluence On launching the command atlas-cli > pi the url used is http://localhost:1990//rest/plugins/1.0/. The url should be http://localhost:1990/rest/plugins/1.0/, with one slash at the end of the port number. [DEBUG] Configuring mojo com.atlassian.maven.plugins:atlassian-pdk:2.3.2:install from plugin realm ClassRealm[plugin>com.atlassian.maven.plugins:atlassian-pdk:2.3.2, parent: sun.misc.Launcher$AppClassLoader@7d487b8b] [DEBUG] Configuring mojo 'com.atlassian.maven.plugins:atlassian-pdk:2.3.2:install' with basic configurator --> [DEBUG] (f) pluginFile = /Users/xxxxx/target/xxxxxx-1.0.jar [DEBUG] (f) username = admin [DEBUG] (f) password = admin [DEBUG] (f) serverUrl = http://localhost:1990/ [DEBUG] (f) pluginKey = com.coveo.plugins.xxxxxxx [DEBUG] (f) installMethod = upload [DEBUG] (f) localRepository = id: local url: file:///Users/xxxxxx/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) pluginsHome = /Users/xxxxxx/${atlassian.pdk.server.home}/plugins [DEBUG] -- end configuration -- 1 * Out-bound request 1 > HEAD http://localhost:1990//rest/plugins/1.0/ 1 > Authorization: Basic xxxxxxxxxx 1 > 1 < 404 1 < X-Content-Type-Options: nosniff 1 < Content-Length: 0 1 < Vary: Accept 1 < X-Seraph-LoginReason: OK 1 < Cache-Control: no-transform 1 < X-AUSERNAME: admin 1 < Set-Cookie: JSESSIONID=87E0525E52EFB11D0A2381D0CF1BFEC4; Path=/ 1 < X-XSS-Protection: 1; mode=block 1 < Content-Type: text/html;charset=UTF-8 1 < Server: Apache-Coyote/1.1 1 < Date: Mon, 30 Mar 2015 18:55:06 GMT 1 < 1 * In-bound response [INFO] Install Plugin: Couldn't get the token from upm. Headers. Falling back to legacy upload. [INFO] Install Plugin: Uploading 'coveotheme-1.0.jar' to server: http://localhost:1990/ [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:112) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48) at org.twdata.maven.cli.CliShell.run(CliShell.java:29) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:33) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 11 more Caused by: org.apache.maven.plugin.MojoExecutionException: Install Plugin: Upload failed[404]: Not Found at com.atlassian.maven.plugins.pdk.InstallPluginMojo.legacyUploadFile(InstallPluginMojo.java:225) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:167) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)

    Atlassian JIRA | 2 years ago | Cedric Gagnon
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  6. 0

    [JRA-21449] Unable to deploy with atlas-cli - Atlassian JIRA

    atlassian.com | 11 months ago
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo

    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

      Install Plugin : Upload failed --- {"type":"PLUGIN_INSTALL"," status":{"errorMessage":"An error occurred while installing the add-on. Refer to the logs for more information.","source ":"","done":true,"contentType":"application/vnd.atl.plugins.task.install.err+json","statusCode":200},"links":{"self":"/j ira/rest/plugins/1.0/pending/480d1b68-4da5-4723-9270-ebe2f1d3dda3"},"timestamp":1429013385412,"userKey":"admin","id":"48 0d1b68-4da5-4723-9270-ebe2f1d3dda3"}

      at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile()
    2. com.atlassian.maven
      InstallPluginMojo.execute
      1. com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:183)
      2. com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135)
      2 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
      1 frame
    4. org.twdata.maven
      MojoExecutor.executeMojo
      1. org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)
      2. org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476)
      3. org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75)
      3 frames
    5. com.atlassian.maven
      InstallMojo.execute
      1. com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278)
      2. com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17)
      2 frames
    6. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
      1 frame
    7. org.shaded.mojoexecutor
      MojoExecutor.executeMojo
      1. org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)
      2. org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476)
      3. org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75)
      3 frames
    8. org.twdata.maven
      AbstractCliMojo$1.run
      1. org.twdata.maven.cli.MojoCall.run(MojoCall.java:33)
      2. org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126)
      3. org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109)
      4. org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107)
      5. org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48)
      6. org.twdata.maven.cli.CliShell.run(CliShell.java:29)
      7. org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174)
      8. org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22)
      9. org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123)
      9 frames