활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
If I use the AEM plugin for Eclipse then the Archetypes available through it are all multimodule projects.
Is there an archetype I can use to build single module OSGI components, such as an OSGI budle for use as a Servlet.
In the past I could do this from the command line using
$ mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases
But now I get
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project lambda-java: The desired archetype does not exist (com.day.jcr.vault:multimodule-content-package-archetype:1.0.0)
Are there any AEM MAven archetypes for developing simple sling servlets.
Regards
Clive Stewart
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
See this article and the Maven command in it:
https://helpx.adobe.com/experience-manager/using/first-osgi.html
DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.adobe.cq -DartifactId=key61 -Dversion=1.0-SNAPSHOT -Dpackage=com.adobe.cq -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"
조회 수
답글
좋아요 수
Hi
For your second part of the problem, i would suggest you to have a look at this old forum thread :-
Link:- https://github.com/kolorobot/spring-mvc-quickstart-archetype/issues/50
// Resolved the problem by removing the pom.xml file from the folder .
I hope this would be of some help to you.
Thanks and Regards
Kautuk Sahni
조회 수
답글
좋아요 수
See this article and the Maven command in it:
https://helpx.adobe.com/experience-manager/using/first-osgi.html
DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.adobe.cq -DartifactId=key61 -Dversion=1.0-SNAPSHOT -Dpackage=com.adobe.cq -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"
조회 수
답글
좋아요 수
Hi Clive,
Yes as scott stated above, use the maven command as mentioned in the article: https://helpx.adobe.com/experience-manager/using/first-osgi.html
The command which you have referred is outdated one - $ mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases
This has been replaced to: mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.adobe.cq -DartifactId=key61 -Dversion=1.0-SNAPSHOT -Dpackage=com.adobe.cq -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"
This perfectly works for me. Hope this helps!!
Thanks,
Ratna Kumar.
조회 수
답글
좋아요 수
kautuksahni wrote...
Hi
For your second part of the problem, i would suggest you to have a look at this old forum thread :-
Link:- https://github.com/kolorobot/spring-mvc-quickstart-archetype/issues/50
// Resolved the problem by removing the pom.xml file from the folder .
I hope this would be of some help to you.
Thanks and Regards
Kautuk Sahni
Thank you Kautuk,
I appreciate the help.
I will read at the thread. It makes sense the solution would lye in the pom
regards
Clive
조회 수
답글
좋아요 수
Hi Scott,
Thank you for both the article and the maven command.
I really appreciate all the help people have given me on this forum.
Regards
Clive
조회 수
답글
좋아요 수
Ratna Kumar wrote...
Hi Clive,
Yes as scott stated above, use the maven command as mentioned in the article: https://helpx.adobe.com/experience-manager/using/first-osgi.html
The command which you have referred is outdated one - $ mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases
This has been replaced to: mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.adobe.cq -DartifactId=key61 -Dversion=1.0-SNAPSHOT -Dpackage=com.adobe.cq -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"
This perfectly works for me. Hope this helps!!
Thanks,
Ratna Kumar.
Hi Ratna,
The above maven command worked perfectly for me.
regards
Clive Stewart
조회 수
답글
좋아요 수