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] ------------------------------------------------------------------------
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.
Here it is how to do it:
https://answers.atlassian.com/questions/20079/plugin-sdk-does-not-use-http-proxy?page=1#38445
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks for answer!
Yes, I'm configure the connection throught the https proxy...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.