Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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/m...

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]

1 Accepted Solution

Avatar

Correct answer by
Employee

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

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

View solution in original post

4 Replies

Avatar

Employee

Can you share your complete command?

Avatar

Level 1

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... Maven Setup for AEM Projects

Avatar

Level 1

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

Avatar

Correct answer by
Employee

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

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