The build could not read 2 projects | Community
Skip to main content
New Participant
November 14, 2022
Solved

The build could not read 2 projects

  • November 14, 2022
  • 1 reply
  • 1464 views

I'm trying to run two separate instances of AEM on my Windows 10 PC and for the one below, I'm using port 4512, but am getting errors. Could this be because everything funnels to the same .m2 folder. Is there something else I'm missing?

[ERROR] The build could not read 2 projects -> [Help 1] [ERROR] [ERROR] The project com.adobe:business.ui.apps:${version} (C:\project2\ui.apps\pom.xml) has 3 errors [ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.24 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.24: Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin:pom:0.5.24 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): transfer failed for https://repo.adobe.com/nexus/content/groups/public/com/day/jcr/vault/content-package-maven-plugin/0.5.24/content-package-maven-plugin-0.5.24.pom: Connect to repo.adobe.com:443 [repo.adobe.com/13.107.213.51, repo.adobe.com/13.107.246.51] failed: Read timed out -> [Help 2] [ERROR] Unknown packaging: content-package @ line 34, column 16 [ERROR] 'dependencies.dependency.version' for com.adobe:business.core:jar must be a valid version but is '${version}'. @ line 207, column 22 [ERROR] [ERROR] The project com.adobe:business.ui.content:${version} (C:\project2\ui.content\pom.xml) has 3 errors [ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.24 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.24: Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin:pom:0.5.24 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): transfer failed for https://repo.adobe.com/nexus/content/groups/public/com/day/jcr/vault/content-package-maven-plugin/0.5.24/content-package-maven-plugin-0.5.24.pom: Connect to repo.adobe.com:443 [repo.adobe.com/13.107.213.51, repo.adobe.com/13.107.246.51] failed: Read timed out -> [Help 2] [ERROR] Unknown packaging: content-package @ line 34, column 16 [ERROR] 'dependencies.dependency.version' for com.adobe:business.core:jar must be a valid version but is '${version}'. @ line 118, column 22

 

 

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 Saravanan_Dharmaraj

Please check this related post to see if it helps

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/pom-xml-errors/m-p/555057

 

Run this command

mvn clean install -P autoInstallPackage -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

1 reply

Saravanan_Dharmaraj
Saravanan_DharmarajAccepted solution
New Participant
November 14, 2022

Please check this related post to see if it helps

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/pom-xml-errors/m-p/555057

 

Run this command

mvn clean install -P autoInstallPackage -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true