Need POM.xml for mssql jdbc driver wrapper | Community
Skip to main content
adobecq-venkat
New Participant
November 19, 2020
Solved

Need POM.xml for mssql jdbc driver wrapper

  • November 19, 2020
  • 3 replies
  • 2074 views

Hi,

I am using AEM 6.1 and need to connect MSSQL Database. I downloaded driver from Microsoft site and uploaded in OSGI console and setup data source and it works fine.

But I wanted to move this JDBC driver as part of my code build so all the users will get it in their build automatically.

I tried to use embed tag in pom.xml and used "*" , some how it doesn't work.

 

Does any one has working POM.xml for MSSQL JDBC driver?

 

Thanks for your help.

Venkat

 

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 shelly-goel

@adobecq-venkat  You would also have to export that dependency under <export-package> section of the pom.xml

A similar issue with a different 3rd party jar/ bundle inclusion is mentioned here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-maven-build-cannot-resolve-dependencies-when-imported/qaq-p/275711

 

3 replies

shelly-goel
shelly-goelAccepted solution
Employee
November 22, 2020

@adobecq-venkat  You would also have to export that dependency under <export-package> section of the pom.xml

A similar issue with a different 3rd party jar/ bundle inclusion is mentioned here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-maven-build-cannot-resolve-dependencies-when-imported/qaq-p/275711

 

arunpatidar
New Participant
November 22, 2020

you need to update apps POM.XML to copy sql bundle in apps/yourapp/install folder same as your project bundle.

Arun Patidar
Ankur_Khare
New Participant
November 20, 2020