AEM - Maven - Unable to execute multimodule-content-package-archetype | Community
Skip to main content
gangi_nandyala
October 16, 2015
Solved

AEM - Maven - Unable to execute multimodule-content-package-archetype

  • October 16, 2015
  • 4 replies
  • 1565 views

All required setup(maven 3.0.5, updated settings.xml with required repo) for building with maven is completed,

Looks like public repository issue, i am seeing 404 for below, can somebody from adboe can check the repository?

https://repo.adobe.com/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml

Actually i am getting below error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist
(com.day.jcr.vault:multimodule-content-package-archetype:1.0.2) -> [Help 1]

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 Feike_Visser1

I just tried your command, I have no issues with this.

Try to run it with -X to see where it fails

4 replies

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

Can you share your complete command?

gangi_nandyala
October 16, 2015

Below is the command i was using.

mvn -Padobe-public archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2

I followed all the instructions as per below URL

http://docs.adobe.com/docs/en/cq/current/developing/developmenttools/how-to-build-aem-projects-using-apache-maven.html#Detailed Maven Setup for AEM Projects

gangi_nandyala
October 16, 2015

I found the issue some how maven is unable to download multimodule-content-package-archetype jar, i manually downloaded and installed in my local then its working. I am not sure issue is with my local system or Adobe Repo, i am having same issue in two different machines and different networks.

multimodule-content-package-archetype-1.0.2.jar.lastUpdated

simple-content-package-archetype-1.0.2.jar.lastUpdated

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

I just tried your command, I have no issues with this.

Try to run it with -X to see where it fails