4 Replies Latest reply on Dec 10, 2012 8:48 AM by Ryan Lunka

    Trouble with Maven Archetype

    Ryan Lunka Level 3

      I'm trying to set up a project using the Adobe Maven archetype for CQ, described here: http://dev.day.com/docs/en/cq/current/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.h tml under Multimodule Content Package Archetype.  I may be doing something silly, but when I run the following command (as described by the documentation):

      mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases -e

      ...I get the following exception:

       

      Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype does not exist (com.day.jcr.vault:multimodule-content-package-archetype:1.0.0)

       

      I'm trying to figure out what the problem is.  I have the Adobe Maven repo profile set up in my settings.xml file, which I assume is correct, but don't really know how to test.  I've been wondering if there's something wrong with that and the real problem is that I can't reach the repo correctly...I dont know though.

       

      Am I missing something to this?