Well, the problem is spelled out in the error text. The archetype can't be found. The docs isn't very clear on this, but I expect that the value for the archetypeRepository parameter isn't right. Maybe it should be a URL; I wouldn't know without looking in the code.
Is this an archetype found in central? If not you should talk to the people maintaining the archetype. Also, if you're in a corporate network the problem could be any of the limitations of the archetype plugin not honoring mirrors and proxies configured in settings.xml (see JIRA tickets). /Anders On Fri, Oct 11, 2013 at 6:19 AM, Siddu Patil <[email protected]>wrote: > Hi All, > > Here i'm compiling the project the below error is being displayed please > guide me here to come out the below error > > G:\cq\maven_3>mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault > -DarchetypeArtifactId=multimodule-content-package-archetype -Darch > etypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Stub Project (No POM) 1 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ > standalone-pom >>> > [INFO] > [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ > standalone-pom <<< > [INFO] > [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ > standalone-pom --- > [INFO] Generating project in Interactive mode > [INFO] Archetype defined by properties > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3.059s > [INFO] Finished at: Fri Oct 11 09:51:26 IST 2013 > [INFO] Final Memory: 8M/62M > [INFO] > ------------------------------------------------------------------------ > *[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) > on project standalone-pom: The des**ired archetype does not exist > (com.day.jcr.vault:multimodule-content-package-archetype:1.0.0) -> [Help > 1]* > *[ERROR]* > *[ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch.* > *[ERROR] Re-run Maven using the -X switch to enable full debug logging.* > *[ERROR]* > *[ERROR] For more information about the errors and possible solutions, > please read the following articles:* > *[ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException* > * > * > Thanks in advance >
