Expand my Community achievements bar.

SOLVED

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

Avatar

Level 5

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..!!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 5

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