Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

The build could not read 2 projects

Avatar

Level 2

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

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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