Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,086
Community Members
 
Community Events
176
Community Groups

Failed to run plugin: Couldn't detect an AMPS product to dispatch to ...

Hello!

I tried to run my test plugin through atlas-debug.

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.3.15:debug (default-cli) on project limetime-atlassian: Couldn't detect an AMPS product to dispatch to -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.3.15:debug (default-cli) on project limetime-atlassian: Couldn't detect an AMPS product to dispatch to
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

There's no problem with compilation, I tried atlas-mvn clean install/clean compile package.

I run app in correct folder with project with .pom

Any more ideas to fix it?

Please help.

4 answers

1 accepted

10 votes
Answer accepted

I am experiencing this after updating to atlassian SDK v8.0.4.

see here: https://ecosystem.atlassian.net/browse/ATLASSDK-147

basically you need to change (in your pom.xml) from `maven-jira-plugin` to `<artifactId>jira-maven-plugin</artifactId>` and update `${amps.version}` in your properties to `8.0.0`.

 

then atlas-mvn clean install

Like # people like this

Thanks @destan. Spot on. That worked a treat.

Thank you very much @destan 

Thanks  @destan  :) 

I also need to remove this section from my pom.xml

            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
1 vote

I know this is late to the party, but you can force atlas-debug to use a specific version of the plugins using the -u flag, eg:

atlas-debug -u 6.3.21

Can anyone help me? Please ... 

Suggest an answer

Log in or Sign up to answer