Skip to main content
Level 2
Dec 2, 2015 1:38 PM UTC
Solved

Unable to create archetype maven project

Hi All,

I am newbie to AEM and following the steps of Creating an AEM project using Eclipse IDE.

Have configured Maven. But i couldn't able to create Adobe CQ archetype project.

I am executing the command,

" mvn 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 -DgroupId=com.aem.community -DartifactId=echoproject -Dversion=1.0-SNAPSHOT -Dpackage=com.aem.community -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company" "

But, it is showing error as,

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4: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]

Please help in fixing this issue.

Regards,

Maria Anto

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Dec 2, 2015 1:47 PM UTC

Hi Maria,

One reason could he that your network might not be allowing to download Jar files

Please take a look at a better recommended approach using eclipse AEM plugin

12 replies

Feike_Visser1
Adobe Employee
Adobe Employee
Dec 3, 2015 12:13 PM UTC

It works for me, just tried this command...

Translate
Feb 8, 2019 7:19 PM UTC

The links are not working.

For me the maven profile activeByDefault was set to false. Make sure to update settings.xml with this profile:

<id>adobe-public</id>

  <activation>

    <activeByDefault>true</activeByDefault>

  </activation>

  <repositories>

    <repository>

      <id>adobe</id>

      <name>Nexus Proxy Repository</name>

      <url>http://repo.adobe.com/nexus/content/groups/public/</url>

      <layout>default</layout>

    </repository>

  </repositories>

  <pluginRepositories>

    <pluginRepository>

      <id>adobe</id>

      <name>Nexus Proxy Repository</name>

      <url>http://repo.adobe.com/nexus/content/groups/public/</url>

      <layout>default</layout>

    </pluginRepository>

  </pluginRepositories>

</profile>

Translate