Hi,

I'm trying to build a strategy for developing MyFaces portlets with Maven for deployment into Liferay. I've posted a thread on the Liferay forum but so far no one has responded. I wonder if anyone here has any experience or insight. Here's a link to the thread:

        http://forums.liferay.com/index.php?showtopic=5957

I'm not having problems deploying Myfaces as a portlet. The problem seems to be in using m2 as my build mechanism. I'm using Myfaces 1.1.1. It is declared as a dependency in my pom.xml. Liferay ships with a sample MyFaces war file. The myfaces jars in that war file appear to be 1.1.1 based on the MANIFEST file. But the war that ships with Liferay contains different jar files than what I get if I declare myfaces as a dependency in Maven. So I don't know if the war is "custom-built" or if it contains a set of jars from the myfaces distribution. Either way, their war file does not contain a commons- logging.jar while mine does. Mine seems to conflict with a commons- logging.jar distributed with Liferay, but I haven't been able to determine exactly where. Anyway my deployment works if I remove commons-logging-1.0.4.jar form WEB-INF/lib and add Liferay's util- jsf.jar. So... any advice on how I can make my deployment successful? Do I need to change something in Liferay's deployment or is an M2-built war not an option? Also, does anyone know if the Liferay jars are available on a public Maven repo somewhere or will I have to set up a private repo somewhere?

Thanks,
Greg

Reply via email to