title: Where to put a library shared between portlets in Liferay?
body: <p>I need to share a library (built in-house) between portlets and I prefer to put it in a common place instead of adding it as dependency to every portlet that need it because I want to update the library once. Can I build a hook or ext plugin that the portlets can refer to and access the library? I know that you can add it to the common library directory and add it to <code>liferay-plugin-package.properties</code> for each portlet but the location depends on the application server. I want to know, there is a standard or cleaner way to do this? Thanks in advance.</p>