Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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! 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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