Expand my Community achievements bar.

SOLVED

Adobe repo is not accessible

Avatar

Level 2

Not able to access https://repo.adobe.com/nexus/content/groups/public
 Build is trying to download junit-bom but could not download. Adobe repo is not accessible and getting below error

Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.4.1/junit-bom-5.4.1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.junit:junit-bom:pom:5.4.1 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): transfer failed for https://repo.adobe.com/nexus/content/groups/public/org/junit/junit-bom/5.4.1/junit-bom-5.4.1.pom @ line 688, column 25
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.test.aem:mykey:0.0.1-SNAPSHOT (C:\Users\myfol\workspace\aem\pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Could not transfer artifact org.junit:junit-bom:pom:5.4.1 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): transfer failed for https://repo.adobe.com/nexus/content/groups/public/org/junit/junit-bom/5.4.1/junit-bom-5.4.1.pom @ line 688, column 25: Connect to repo.adobe.com:443 [repo.adobe.com/13.107.227.59, repo.adobe.com/13.107.219.59] failed: Connection timed out: connect -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@shakuntshri probably check if any vpn or firewall is blocking the downloads.Corporate proxy might be blocking downloading dependencies from certain sites. 

Editing the proxies session in your ~/.m2/settings.xml file. might help:  

<settings>
  <proxies>
    <proxy>
      <id>genproxy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxyHost</host>
      <port>3128</port>
      <username>username</username>
      <password>password</password>
    </proxy>
 </proxies>
</settings>

View solution in original post

4 Replies

Avatar

Community Advisor

Please make sure if there any firewall blocks the access.

If there is any proxy server, you can configure it in the settings.xml file

 

Please check the below blog

https://kodejava.org/how-to-configure-a-proxy-in-maven-settings/ 

Avatar

Community Advisor

In settings xml file under m2 folder, verify you have Adobe-public as active profile if not please add it as well.

 

As suggested in comment check if any vpn or firewall is blocking the downloads and make changes to setting

https://java.tutorials24x7.com/blog/how-to-install-java-11-on-windows

Refer for how to adobe-public in settings.xml

Avatar

Correct answer by
Community Advisor

@shakuntshri probably check if any vpn or firewall is blocking the downloads.Corporate proxy might be blocking downloading dependencies from certain sites. 

Editing the proxies session in your ~/.m2/settings.xml file. might help:  

<settings>
  <proxies>
    <proxy>
      <id>genproxy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxyHost</host>
      <port>3128</port>
      <username>username</username>
      <password>password</password>
    </proxy>
 </proxies>
</settings>