AEM Maven Archtype in Eclipse - Sample Project 7 not going to next window | Community
Skip to main content
Tyler_Maynard
Level 4
October 16, 2015
Solved

AEM Maven Archtype in Eclipse - Sample Project 7 not going to next window

  • October 16, 2015
  • 7 replies
  • 2792 views

Hello,

I am trying to create a new project based on the AEM Archetype. 

I select: com.adobe.granite.archetypes : sample-project-archtype: 7

When I click the 'Next' button, nothing happens. I can click 'next' again, and it will change the tile of the window to 'Select or Create server', but it still has the archtype selection dropdown visible.

I've gone as far as deleting the plugin, and re-adding it. Removing the archetype and re-adding it. and even Re-installing eclipse.

Anyone else having this issue?

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

I had been having the same problem. I followed the suggestions above and they didn't work for me. I eventually ran the maven archetype from the command line in my eclipse workspace directory and generated a project (which I then trashed). After doing this, the AEM project wizard completed successfully.

mvn archetype:generate  -DarchetypeGroupId=com.adobe.granite.archetypes  -DarchetypeArtifactId=sample-project-archetype  -DarchetypeVersion=7

7 replies

Community Advisor
October 16, 2015

Can you please configure your eclipse with the image I attached

In item 3 add following url

http://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml

[img]archetypes.jpg[/img]

Accepted solution
October 16, 2015

I had been having the same problem. I followed the suggestions above and they didn't work for me. I eventually ran the maven archetype from the command line in my eclipse workspace directory and generated a project (which I then trashed). After doing this, the AEM project wizard completed successfully.

mvn archetype:generate  -DarchetypeGroupId=com.adobe.granite.archetypes  -DarchetypeArtifactId=sample-project-archetype  -DarchetypeVersion=7

Tyler_Maynard
Level 4
October 16, 2015

This works. I do not know why this works, maybe some Maven dependency issues?

Thanks.

Tyler_Maynard
Level 4
October 16, 2015

Mshajiahmed wrote...

Can you please configure your eclipse with the image I attached

In item 3 add following url

http://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml

 

Thanks for the reply. Unfortunately this did not work. I already have the archetype added by using the AEM Eclipse plugin so I removed and tried the method you mentioned. It does the same thing.

Following this guide: http://docs.adobe.com/content/docs/en/dev-tools/aem-eclipse.html I cannot get to step 4. I push the next button but nothing happens.

RonnieForum
Level 2
October 16, 2015

I tried following the steps mentioned by Denise Ketcham in the "Accepted Answer". Still I am not able to go ahead with it.

I was facing some issue downloading the sample project from maven command line. So I downloaded sample-project-archetype-7.jar and other related files from https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/archetypes/sample-project-archetype/7/ and kept to my local repository at .m2\repository\org\apache\maven\archetypes\sample-project-archetype\7.0.

Can you please help getting out of it.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Try downloading the archetype-cataglog.xml and create a local archetype. refer [1]

[1] http://adobeaemclub.com/configuring-aem-maven-archetype-for-eclipse-plugin/

If it still doesnt work, try to create a AEM project outside your office network as sometime, proxy configuration would be needed

Adobe Employee
May 20, 2016

RonnieForum wrote...

I tried following the steps mentioned by Denise Ketcham in the "Accepted Answer". Still I am not able to go ahead with it.

I was facing some issue downloading the sample project from maven command line. So I downloaded sample-project-archetype-7.jar and other related files from https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/archetypes/sample-project-archetype/7/ and kept to my local repository at .m2\repository\org\apache\maven\archetypes\sample-project-archetype\7.0.

Can you please help getting out of it.

 

 

Do you have any entries in the Eclipse error log related to this?