Where to put the library shared between portlets in Liferay?

I need to share a library (embedded internally) between portlets, and I prefer to put it in a common place instead of adding it depending on each portlet it needs, because I want to update the library once. Can I build a plugin or additional plugin that portlets can link to and access the library? I know you can add it to the shared library directory and add it to liferay-plugin-package.properties

for each portlet, but the location depends on the application server. I want to know if there is a standard or cleaner way to do this? Thanks in advance.


source to share

1 answer

With the tomcat package, a common use is to put them in a folder tomcat/lib/ext


There is one big drawback, every modification in this folder will require a server reboot.



All Articles