How to add thirdPartyLicense.lic license file in AEM maven project ? | Community
Skip to main content
Uppari_Ramesh
Level 5
August 21, 2023
Solved

How to add thirdPartyLicense.lic license file in AEM maven project ?

  • August 21, 2023
  • 2 replies
  • 843 views

Hi Team,

 

I have dependency with a third party maven java library where in order to use that library we need a license. I received license  from that third party vendor (thirdPartyLicense.lic). Now how can I include/use this third party library license in my AEM project? @lukasz-m @kautuk_sahni 

 

lets consider below third party dependency that I want in my project.

 

<dependency>

<groupId>com.abc.def</groupId>

<artifactId>abc.def</artifactId>

<version>4.8.0</version>

</dependency>

 

 

 

Thanks in Advance! 

 

 

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 EstebanBustamante

Hi,

 

The way the license needs to be used is fully dictated by the third-party dependency. 

Many libraries allow you to provide license information through configuration files, properties, or system properties. You should refer to the documentation provided by the third-party library to understand how to configure the license.
If the third-party library requires the license file to be placed at a specific location or configured using a specific property, follow the library's documentation to set this up. 

 

Once you have configured the license appropriately, build and deploy your AEM project. The third-party library should now be able to function correctly within your project, using the provided license information.
 

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 21, 2023

Hi,

 

The way the license needs to be used is fully dictated by the third-party dependency. 

Many libraries allow you to provide license information through configuration files, properties, or system properties. You should refer to the documentation provided by the third-party library to understand how to configure the license.
If the third-party library requires the license file to be placed at a specific location or configured using a specific property, follow the library's documentation to set this up. 

 

Once you have configured the license appropriately, build and deploy your AEM project. The third-party library should now be able to function correctly within your project, using the provided license information.
 

Esteban Bustamante
Harwinder-singh
Community Advisor
Community Advisor
August 21, 2023