Problems when creating plugin skeleton

I get this error when I run the script "atlas-create-jira-plugin":

Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-jira-plugin/3.10.2/maven-jira-plugin-3.10.2.jar
[WARNING]
Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
maven-plugin:3.10.2' from repository central (https://m2proxy.atlassian.com/repo
sitory/public):
Error transferring file: sun.security.validator.ValidatorExcepti
on: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
Exception: unable to find valid certification path to requested target
[INFO] Cannot find mojo descriptor for: 'com.atlassian.maven.plugins:maven-jira-
plugin:3.10.2:create_v4' - Treating as non-aggregator.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [com.atlassian.maven.plugins:maven-jira-plugin:3.10.2:cr
eate_v4]
[INFO] ------------------------------------------------------------------------
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-jira-plugin/3.10.2/maven-jira-plugin-3.10.2.jar
[WARNING]
Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
maven-plugin:3.10.2' from repository central (https://m2proxy.atlassian.com/repo
sitory/public):
Error transferring file: sun.security.validator.ValidatorExcepti
on: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
Exception: unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that t
he goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.atlassian.maven.plugins -DartifactId=
maven-jira-plugin -Dversion=3.10.2 -Dpackaging=maven-plugin -Dfile=/path/to/file


Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.atlassian.maven.plugins -DartifactId=ma
ven-jira-plugin -Dversion=3.10.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]


com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.2

from the specified remote repositories:
central (https://m2proxy.atlassian.com/repository/public)


com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.2

from the specified remote repositories:
central (https://m2proxy.atlassian.com/repository/public)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon May 21 15:45:12 EEST 2012
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------

2 answers

This widget could not be displayed.

C:\Atlassian>java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

C:\Atlassian>atlas-version

ATLAS Version: 3.10.2
ATLAS Home: C:\Atlassian\atlassian-plugin-sdk-3.10.2
ATLAS Scripts: C:\Atlassian\atlassian-plugin-sdk-3.10.2\bin
ATLAS Maven Home: C:\Atlassian\atlassian-plugin-sdk-3.10.2\apache-m
--------
Executing: "C:\Atlassian\atlassian-plugin-sdk-3.10.2\apache-maven\b
-version
Apache Maven 2.1.0 (r755702; 2009-03-18 21:10:27+0200)
Java version: 1.6.0_26
Java home: C:\Program Files\Java\jdk1.6.0_26\jre
Default locale: lv_LV, platform encoding: Cp1257
OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"

This widget could not be displayed.

Hi

Is your connection behind a proxy? When you try to execute it has to download many things from the maven repository so you need to configure the connection to pass throught the proxy.

Hi, thanks for answer!

Yes, I'm configure the connection throught the https proxy...

this not solve the problem

But you are with a proxy? Maybe you have to much restrictions in the proxy so you have to do the download in a free connection.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
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