How to run atlas-backage successful?

Hi,

I try to run atlas-package for my Atlassian Confluence Data Center App and getting this error: Failed to execute goal on project agile-application-stack: Could not resolve dependencies for project com.teknologiaplaneetta.confluence.grideditor:agile-application-stack:atlassian-plugin:4.3.0: The following artifacts could not be resolved: com.atlassian.crowd:embedded-crowd-api:jar:5.0.5, com.atlassian.crowd:crowd-core:jar:5.0.5: Could not transfer artifact com.atlassian.crowd:embedded-crowd-api:jar:5.0.5 from/to atlassian-public (Index of maven-external/): peer not authenticated

What to do?

I solved this with:

mvn -Dhttps.protocols=TLSv1.2 install

And changing a JAVA_HOME to point OpenJDK 8.