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

Jai1122
Jai1122Author
Level 4
October 16, 2015

   Hi All,

        Atlast i got it working.  The required jar file is getting created in bundle/target folder. Infact i am able to do auto deploy also!!

Many thanks for your guidance.

 
Jai1122
Jai1122Author
Level 4
October 16, 2015

   Hi All,

        Atlast i got it working. Many thanks for your guidance. The required jar file is getting created in bundle/target folder.

Now i am trying to autoinstall the bundle.

smacdonald2008
Level 10
October 16, 2015

This article was updated as well today. 

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.

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

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

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/.

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

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.

smacdonald2008
Level 10
October 16, 2015

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