Facing error while creating Hello world plugin project

anshu02
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2019

I wanted to learn about atlassian development environment, i have installed atlassian sdk and while creating a Hello world plugin i am getting this error. 

 

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom
Downloading: https://maven.atlassian.com/repository/public/commons-lang/commons-lang/2.1/commons-lang-2.1.pom
Downloading: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom
Downloading: https://maven.atlassian.com/repository/public/commons-logging/commons-logging/1.2/commons-logging-1.2.pom
Downloading: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.005 s
[INFO] Finished at: 2019-01-29T14:32:10+05:30
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:6.3.21:create (default-cli) on project standalone-pom: Execution default-cli of goal com.atlassian.maven.plugins:maven-jira-plugin:6.3.21:create failed: Plugin com.atlassian.maven.plugins:maven-jira-plugin:6.3.21 or one of its dependencies could not be resolved: Failed to collect dependencies at com.atlassian.maven.plugins:maven-jira-plugin:jar:6.3.21 -> com.atlassian.maven.archetypes:jira-plugin-archetype:jar:6.3.21 -> org.twdata.maven:mojo-executor:jar:1.5.2 -> org.apache.maven:maven-artifact:jar:3.2.1 -> org.codehaus.plexus:plexus-utils:jar:3.0.17: Failed to read artifact descriptor for org.codehaus.plexus:plexus-utils:jar:3.0.17: Could not transfer artifact org.codehaus.plexus:plexus-utils:pom:3.0.17 from/to atlassian-public (https://maven.atlassian.com/repository/public): maven.atlassian.com: Unknown host maven.atlassian.com -> [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/PluginResolutionException

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2019

Hello,

I think the problem is here:

Unknown host maven.atlassian.com

Are you sure that you have access to the internet in the host from which you try to run your plugin?

anshu02
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2019

Hi @Alexey Matveev

 

Yes host has access to the internet, any other suggestions to check ?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2019

You need access to the Internet from your host or you need your local repository with all packages, which are used by your plugin. Otherwise your plugin will not run.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events