Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Maven OSGI error

Avatar

Level 5

Hi All,

   I tried to setup a maven project and refered the help docs.

I have successfully compiled and jar files are available in the target folder. But it is not getting installed to the CQ instance.

In the maven logs i could see "D://Workspace/target/my-bundle-SNAPSHOT-1.0-Jar is not an OSGI bundle, not uploading" .  

I am not sure what could be the error. 

Can someone please help me on this!!

Thanks,

Jai

1 Accepted Solution

Avatar

Correct answer by
Employee

What happens when you run the maven command mvn clean install -Pautoinstallbundle inside the bundle folder?

View solution in original post

23 Replies

Avatar

Level 5

smacdonald2008 wrote...

Why not use mvn clean install and install the bundle manually as described in the article. 

 

My requirement is i need to run a maven command that will install the bundle and content packages. I am sure there is a way to achieve this and  I have already done this referring to this link in the past.

As Opkar said there might be some misconfig in my project's pom files. I am trying to figure out that. 

Avatar

Level 10

Why not use mvn clean install and install the bundle manually as described in the article. 

Avatar

Level 1

Auscanz Overseas Pvt. Ltd. is a reputable immigration consultancy based in Chandigarh, specializing in a variety of visa services. As one of the leading tourist visa consultants in Chandigarh, Auscanz Overseas offers in-depth expertise in securing tourist visas, student visas, work permits, and spouse visas. The company is dedicated to guiding clients through the often complex immigration process, ensuring smooth and timely visa approvals. Known for providing personalized solutions, Auscanz Overseas also offers expert advice and ongoing support. With a reputation for integrity, professionalism, and a strong commitment to client satisfaction, Auscanz Overseas Pvt. Ltd. stands out as one of the best Study visa consultants in Chandigarh, making it the ideal partner for individuals seeking new opportunities abroad