You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
What could be causing this error and how can I fix it?
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.