Hi Everybody,
I am working throw the tutorial {https://developer.atlassian.com/server/confluence/write-a-simple-confluence-blueprint-plugin/.
I run atlas-create-confluence-plugin/atlas-create-jira-plugin and call atlas-run and get error.
The error message:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.154 s
[INFO] Finished at: 2021-07-23T13:16:39+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.plugin:atlassian-spring-scanner-maven-plugin:2.1.7:atlassian-spring-scanner (default) on project myPlugin: Execution default of goal com.atlassian.plugin:atlassian-spring-scanner-maven-plugin:2.1.7:atlassian-spring-scanner failed: Plugin com.atlassian.plugin:atlassian-spring-scanner-maven-plugin:2.1.7 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.0.1, org.reflections:reflections:jar:0.9.9-RC1, org.javassist:javassist:jar:3.19.0-GA, org.springframework:spring-context:jar:4.2.4.RELEASE, org.springframework:spring-aop:jar:4.2.4.RELEASE, org.springframework:spring-beans:jar:4.2.4.RELEASE, org.springframework:spring-core:jar:4.2.4.RELEASE, org.springframework:spring-expression:jar:4.2.4.RELEASE: Could not transfer artifact org.codehaus.plexus:plexus-utils:jar:3.0.1 from/to atlassian-public (Index of maven-external/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
My settings are as follows:
ATLAS Version: 8.2.7
ATLAS Home: C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7
ATLAS Scripts: C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7\bin
ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7\apache-maven-3.5.4
AMPS Version: 8.1.2
Executing: “C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7\apache-maven-3.5.4\bin\mvn.cmd” --version -gs C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7\apache-maven-3.5.4/conf/settings.xml
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T00:03:14+05:30)
Maven home: C:\Applications\Atlassian\atlassian-plugin-sdk-8.2.7\apache-maven-3.5.4\bin..
Java version: 1.8.0_271, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_271\jre
Default locale: en_US, platform encoding: Cp1252
OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows”
Could you please help me to solve the problem?
Thanks
Avinash