First OSGI Error | Community
Skip to main content
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 Ratna_Kumar

Hi Jai,

Yes, you are right key_serviceOSGI.zip now works.

Try to start doing from beginning of the article with the updated maven plugin. It worked for me in One Go!!!

If you want to learn concepts in action, try installing the 1st package i.e., keyservice_package-1.0 (1).zip from the article and watch the result.

Thanks,
Ratna Kumar.

12 replies

smacdonald2008
Level 10
October 16, 2015

I am using Java 1.7 and Maven apache-maven-3.2.3. It works fine. Also - try using the  settings.xml located in the doc. 

edubey
Level 10
October 16, 2015

Hi,

I faced same issue long back,

Please refer to this article for help: http://stackoverflow.com/questions/18442753/a-required-class-was-missing-while-executing-org-apache-maven-pluginsmaven-war

Let me know if it dosent work.

smacdonald2008
Level 10
October 16, 2015

What versions are you using? What Java version, what Maven version etc? 

Ratna_Kumar
Level 10
October 16, 2015

Hi,

The article has been updated with Maven archetype plugin. 
Can you please check the article and try installing the package  keyservice_package-1.0 (1).zip.

Thanks,
Ratna Kumar.

Jai1122
Jai1122Author
Level 4
October 16, 2015

    Looks like the  key_serviceOSGi.zip is corrupted. I could not open/unzip it.  Still stuck with the error

Jai1122
Jai1122Author
Level 4
October 16, 2015

Hi,

    I am using Java 1.7and Maven 3.3.3 and  AEM 5.6.1. I believe this is just problem with Java and Maven and AEM does not come in. Also i have updated the repositories URL from 

http://repo.adobe.com/nexus/content/groups/public/   to     https://repo.adobe.com/nexus/content/groups/public/.

smacdonald2008
Level 10
October 16, 2015

We are in the process of updating all AEM Community articles that use maven to use this command:

mvn archetype:generate -DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=custom.querybuilder  -DartifactId=querybuilder -Dversion=1.0-SNAPSHOT -Dpackage=custom.querybuilder  -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"

Jai1122
Jai1122Author
Level 4
October 16, 2015

Ofcourse i am using settings.xml from the same doc. Just updated the proxy details and also made the repository URL change from as said after reffering http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__xobx-hi_am_gettingfollow.html

Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
October 16, 2015

Hi Jai,

Yes, you are right key_serviceOSGI.zip now works.

Try to start doing from beginning of the article with the updated maven plugin. It worked for me in One Go!!!

If you want to learn concepts in action, try installing the 1st package i.e., keyservice_package-1.0 (1).zip from the article and watch the result.

Thanks,
Ratna Kumar.

smacdonald2008
Level 10
October 16, 2015

This article was updated as well today.