bamboo spec maven archetype problem

Cannot create a bamboo-spec project according to the tutorial.  If I use the 6.2.0 version of the archetype as the tutorial command provides, I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.atlassian.bamboo:bamboo-specs-archetype:6.2.0) -> [Help 1]

If I use 6.2.1 version instead, I get:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate (default-cli) on project standalone-pom: The defined artifact is not an archetype -> [Help 1]

Here is the full command:

mvn archetype:generate -B     -DarchetypeGroupId=com.atlassian.bamboo -DarchetypeArtifactId=bamboo-specs-archetype -DarchetypeVersion=6.2.1     -DgroupId=com.atlassian.bamboo -DartifactId=bamboo-specs-tutorial -Dversion=1.0.0-SNAPSHOT     -Dpackage=tutorial -Dtemplate=minimal

I have maven version 3.5.0

I can see in my .m2 repository the 6.2.1 archetype directory, which appears to have a jar, but the 6.2.0 one does not.

I do not normally use maven archetypes, is there some obvious step to install an archetype before using that was not on the tutorial instructions that I failed to execute?  Something else?

 

 

1 answer

0 votes
Gonchik Tsymzhitov Community Champion Sep 15, 2018

Hi! 

 

Looks like this error is gone. 

I can not reproduce it from your command.

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 3 hours ago in Jira Service Desk

Frequently Asked Questions for Jira Service Desk (AKA JSD FAQ)

Just the FAQs! Welcome to the Community, and this Focused-FAQ! Here, we've pulled together some of the most frequently asked questions associated with Jira Service Desk (JSD). We hope ...

18 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you