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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.