AEM Maven Project Create issue with Error SSL Exception: Connection reset | Community
Skip to main content
rsl_lucky
October 20, 2023
Solved

AEM Maven Project Create issue with Error SSL Exception: Connection reset

  • October 20, 2023
  • 1 reply
  • 1131 views

Hi,

I'm trying to create a maven project using archetype 35 & 44 both. Used the command below and receiving the error, at background can see project created but error on command prompt. 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype
-D archetypeVersion=35 -D aemVersion=cloud -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D frontendModule=general -D includeExamples=n

 

Same error hapenning for both archetypes:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project standalone-pom: javax.net.ssl.SSLException: Connection reset

not sure the exact issue cause, running command prompt on remote machine and have set proxy info as well in settings.xml 

Can anyone share your thoughts around it. Thank you..!!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Hello @rsl_lucky 

 

It seems something like Zcalar is blocking connection to some https URL.

 

Can you please check if this helps https://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxy

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
October 20, 2023

Hello @rsl_lucky 

 

It seems something like Zcalar is blocking connection to some https URL.

 

Can you please check if this helps https://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxy

 

Aanchal Sikka
rsl_lucky
rsl_luckyAuthor
October 20, 2023

Thanks @aanchal-sikka, after enabling it on remote desk can see project got created.