Service not registering for Maven Archetype 12 | Community
Skip to main content
VeenaVikraman
Community Advisor
Community Advisor
August 1, 2017
Solved

Service not registering for Maven Archetype 12

  • August 1, 2017
  • 8 replies
  • 2465 views

Hi All

          We created one Maven project with archetype 12 and none of our services were getting registered. Do you think there is any issue with archetype 12 ?

Thanks

Veena

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 VeenaVikraman

Yes, we have changed it back to 10 . but is it an unstable version ? the team were facing issue after they created a new project with version 12, I am not sure though if that version is even released

8 replies

smacdonald2008
Level 10
August 1, 2017

Sounds like that - why not use 11 that works?

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAuthorAccepted solution
Community Advisor
August 1, 2017

Yes, we have changed it back to 10 . but is it an unstable version ? the team were facing issue after they created a new project with version 12, I am not sure though if that version is even released

smacdonald2008
Level 10
August 1, 2017

Just heard back from internal Adobe ppl - they siad:

I see only up to 11… so that’s the best one to use.

Github has a SNAPSHOT for 12 but that’s a snapshot and isn’t necessary intended for use (rather for development of the archetype itself).

Level 2
May 7, 2018

smacdonald2008 Since you got in touch with Adobe folks in Aug 2017, is there any fresh update on the guidance about with Archetype to use for 6.3 and 6.4.

Now Archetypes 12, and 13 are available: GitHub - Adobe-Marketing-Cloud/aem-project-archetype: Maven template to create a new Adobe Experience Manager (AEM) proj…

However, Archetype 11 is the only one that works for me.

For Archetypes 12, and 13, I am getting:

Unable to create project from archetype [com.adobe.granite.archetypes:aem-project-archetype:12 -> https://repo.adobe.com/nexus/content/groups/public]

The link that I shared suggests to use archetype 12 for 6.3, and  archetype 13 for 6.3 SP2 and 6.4

Veena_07​ seems like you had some partial success with 12. Did you try any time after that. Anyone else had better luck than mine using archetype 12 or 13?

Update 5/8/18:

I could get the Archetype 13 working by following command line invocation of mvn as documented in: Getting Started with AEM Sites Part 1 - Project Setup

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=13 -DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/

There was an issue with SSL certs for https://repo.adobe.com but that was resolved by saving the cert from the site and adding it to the maven's java key store.

Subsequently, I was able to create the archetype 13 based project within Eclipse as well. The Configure Archetype Properties step requires completing all Parameters. Parameters like confFolderName, cssId, and componentGroupName are left by the wizard. The blank values can only be seen when you hit Next to Select or Create Server tab and then return back to Configure Archetype Properties step.

It appears that either I am not using the right AEM Development Tools or the AEM Dev Tools is not yet compatible with archetype 13 parameters. I git the latest and greatest AEM Dev Tools from AEM Developer Tools, so unsure what is wrong. Anyway, I am glad things have progressed.

joerghoh
Adobe Employee
Adobe Employee
May 7, 2018

What do you mean with "none of our services were getting registered"? How did you check that? Can you share a minimal projcect setup including POM files and source code? I recently started a test with version 12 and it worked well.

Jörg

VeenaVikraman
Community Advisor
Community Advisor
May 8, 2018

Yeah Jorg. I am not sure exactly why such an issue appeared. I am working with archetype 13 now and I am able to create projects successfully. 12 also shud work fine I believe.

VeenaVikraman
Community Advisor
Community Advisor
May 9, 2018

Hi Rajnish,

  I did try, even after getting an error , it actually created the project.

smacdonald2008
Level 10
May 9, 2018

13 seems to work better