It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

bamboo spec maven archetype problem

Jim Weaver Oct 14, 2017

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 Leader 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

161 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you