Unable to create archetype maven project | Community
Skip to main content
Level 2
December 2, 2015
Solved

Unable to create archetype maven project

  • December 2, 2015
  • 12 replies
  • 8760 views

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.
Best answer by edubey

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
December 3, 2015

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

February 8, 2019

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>