Error "Couldn't detect an AMPS plugin" when starting the Jira plugin

Bogdan Kozhukhov May 6, 2023

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]

image.png
In my advanced-sla-pom.xml I define AMPS version 8.1.2:

image.png

image.png

In main pom.xml I define 2 modules:

image.png

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:

image.png

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!

 

1 answer

1 accepted

0 votes
Answer accepted
Bogdan Kozhukhov May 12, 2023

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.

Suggest an answer

Log in or Sign up to answer