Hi,
I trying to deploy a plugin. It consists of 2 modules. Frontend and advanced-sla. I run it from the main directory via atlas-run. I get the following error:
[ERROR] Failed to execute goal com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:8.1.2:run (default-cli) on project sd-sla-conditions-parent: Cou
ldn't detect an AMPS plugin to dispatch to -> [Help 1]
In my advanced-sla-pom.xml I define AMPS version 8.1.2:
In main pom.xml I define 2 modules:
In the screenshot with the error you can see that the modules bind and in the first line is defined AMPS version 8.1.2.
Below are my settings Atlassian SDK:
Also I checked the work on HelloWorld Plugin and it run successfully.
Question
What could be causing this error and how can I fix it?
Cheers, Bogdan!
If you have a project with several modules. The command atlas-run must be run in the directory in which your Java project. In my case it is advanced-sla directory.
From this directory I could not run the plugin because I had installed the wrong version of Java 8. Installing JDK 8 from the Oracle website solved the problem.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.