https://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml Not available. | Community
Skip to main content
New Participant
December 3, 2021
Solved

https://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml Not available.

  • December 3, 2021
  • 3 replies
  • 2398 views

I am trying to get the new archetype for my aem 6.5.10 project and see if it works fine. But looks like it is down. Can some help with the link?

 

Even this is not available https://repo.adobe.com/nexus/content/groups/public/ . 

 

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 joerghoh

I cannot reproduce it. I just bootstrapped 2 versions of the aem archetype 32 with these parameters:

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=32 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=cloud

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=32 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=6.5.10

 

After that I ran both with "mvn clean install" and it worked fine, no complaints about missing artifacts. Did you use the latest archetype version when bootstrapping your project?

 

3 replies

Nikhil-Kumar
New Participant
December 6, 2021

@gvaem - Works fine for me. Try checking your settings.xml file. And specify the AEM version while creating your project.

joerghoh
joerghohAccepted solution
Employee
December 4, 2021

I cannot reproduce it. I just bootstrapped 2 versions of the aem archetype 32 with these parameters:

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=32 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=cloud

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=32 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=6.5.10

 

After that I ran both with "mvn clean install" and it worked fine, no complaints about missing artifacts. Did you use the latest archetype version when bootstrapping your project?

 

RandyKr123
New Participant
March 7, 2022

Hello Jörg. I am a bit of a novice but I tried your updated archetype & aem version but am receiving these errors when attempting the build below:

BUILD FAILURE message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project standalone-pom: startup failed:

[ERROR] General error during conversion: Conflicting module versions. Module [groovy-all is loaded in version 2.4.16 and you are trying to load version 2.4.8

[ERROR] groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.16 and you are trying to load version 2.4.8
[ERROR] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$DefaultModuleListener.onModule(MetaClassRegistryImpl.java:529)
[ERROR] at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromProperties(ExtensionModuleScanner.java:81)
[ERROR] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerExtensionModuleFromProperties(MetaClassRegistryImpl.java:174)
[ERROR] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$registerExtensionModuleFromProperties.call(Unknown Source)


Commands:
mvn archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=32 -D groupId=com.adobe -D version=0.0.1-SNAPSHOT -D appsFolderName=learning -D artifactId=learning -D artifactName="Learning project" -D language_country=en_us -D optionAemVersion=6.5.10 -D optionDispatcherConfig=none -D optionIncludeErrorHandler=n -D optionIncludeExamples=y -D optionIncludeFrontendModule=n -D siteName="Learning Site"

joerghoh
Employee
March 11, 2022

I can reproduce this problem as well with the settings your provided. But when I switch to archetype version 35 (which is the most current one), it works fine.

 

New Participant
December 3, 2021

I am facing similar issue with the repo. Nothing is available.