The portlet jar is only required for compiling. If you are running a MyFaces portlet application then the portlet API will be provided by the portlet container.
Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -----Original Message----- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Monday, November 21, 2005 10:43 AM > To: MyFaces Development > Subject: MyFaces portlet dependency > > The pom in the (Maven 2) repository for MyFaces 1.1.0 lists the > portlet api as required. > http://www.ibiblio.org/maven2/myfaces/myfaces-parent/1.1.0/myfaces-paren t- > 1.1.0.pom > > M2 has transitive dependencies, so this is going to cause the portlet > api jar to get added to WEB-INF/lib for webapps that depend on > MyFaces. > > Can someone please clarify when the portlet api is required? I think > it's required to build the implementation, but optional at runtime > unless you're using certain classes. > > Adding a comment to build.xml would be nice, too-- that's what the > Maven team is using to validate user suggestions about what is and is > not required. > > http://jira.codehaus.org/browse/MEV-136 > > Thanks, > Wendy
