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

The command "atlas-create-jira-plugin" creates error "Failed to execute goal com.atlassian.maven"

I am trying to develop Jira plugin using the following documentation:

https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/

However, after I've written the following command: 

atlas-create-jira-plugin

Then the above command was executing approximately 1 hour and then I saw the following error:

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:6.3
.15:create (default-cli) on project standalone-pom: Execution default-cli of goa
l com.atlassian.maven.plugins:maven-jira-plugin:6.3.15:create failed: Plugin com
.atlassian.maven.plugins:maven-jira-plugin:6.3.15 or one of its dependencies cou
ld not be resolved: Failed to collect dependencies at com.atlassian.maven.plugin
s:maven-jira-plugin:jar:6.3.15 -> com.atlassian.maven.archetypes:jira-plugin-arc
hetype:jar:6.3.15 -> org.twdata.maven:mojo-executor:jar:1.5.2 -> org.apache.mave
n:maven-artifact:jar:3.2.1 -> org.codehaus.plexus:plexus-utils:jar:3.0.17: Faile
d to read artifact descriptor for org.codehaus.plexus:plexus-utils:jar:3.0.17: C
ould not transfer artifact org.codehaus.plexus:plexus-utils:pom:3.0.17 from/to a
tlassian-public (https://maven.atlassian.com/repository/public): Connect to mave
n.atlassian.com:443 [maven.atlassian.com/104.192.142.93, maven.atlassian.com/104
.192.142.92, maven.atlassian.com/104.192.142.94] failed: Connection timed out: c
onnect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException

Guys, what can I do to solve this error and start writing a plugin?

4 answers

1 accepted

1 vote
Answer accepted

i can resolve this problem, it was simple enough, i should think better first))

I change address for maven environmental variable in system variables (i use windows 7 x64) to maven which had been installed with atlassian sdk. After that everything starts to work.

Check your proxy settings or network connection to https://maven.atlassian.com/repository/public

 

The error says it's having issues connecting to maven.atlassian.com

It is really interesting, however I can see this link

you need to verify that you can also route to the link via the shell you're running the command from.  e.g. from the same place you are trying to run atlas-create-jira-plugin, try pinging maven.atlassian.com

0 votes
Timothy Chin Community Leader May 31, 2018

maven.atlassian.com has been extremely slow today.. Else, you have a proxy or a connectivity issue.

I'ver tried today, but there is still the same error.

Sorry, but i have similiar problem with test Hello, World plugin project.

So here are my errors:

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:6.3.15:jar (default-jar) on project myPlugin: Unable to execute mojo: Error assembling JAR: Problem creating jar: E:\_Projects\temp\myPlugin\target\myPlugin-1.0.0-SNAPSHOT: : 1.0.0-SNAPSHOT.jar (Синтаксическая ошибка в имени файла, имени папки или метке тома) (and the archive is probably corrupt but I could not delete it) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I can open this link from borowser https://maven.atlassian.com/repository/public

How can i resolve this problem?

I haven't found solution for this problem and we started using ScriptRunner. It is really cool tool and support of the ScriptRunner is really great! :)

oh, you are lucky :) But, i haven't got such opportunity.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

875 views 7 0
Join discussion

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