Details
-
Bug
-
Resolution: Support Request
-
Low
-
None
-
5.7.1
-
None
-
OSX 10.10.2
Description
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)