...
[15:45:44 CDT(-0500)] <jwennmacher> The only ones in Maven Central are old ... http://search.maven.org/#search|ga|1|org.apache.pluto
[15:46:01 CDT(-0500)] <EricDalquist>
[15:46:02 CDT(-0500)] <EricDalquist> http://search.maven.org/#search%7Cga%7C1%7Corg.apache.portals.pluto
[15:46:08 CDT(-0500)] <EricDalquist> the groupId changed for 2.0
[15:47:23 CDT(-0500)] <jwennmacher> Ahh. Any reason I shouldn't add them (taglib in particular) to the pom.xml?
[15:47:36 CDT(-0500)] <EricDalquist> of a portlet?
[15:47:43 CDT(-0500)] <jwennmacher> Sorry - yes
[15:47:51 CDT(-0500)] <EricDalquist> well you don't need any of them
[15:48:07 CDT(-0500)] <EricDalquist> AND if you include a version different from what the portal is using
[15:48:10 CDT(-0500)] <EricDalquist> bad things might happen
[15:48:14 CDT(-0500)] <EricDalquist> like linkage errors
[15:48:27 CDT(-0500)] <EricDalquist> you can include the taglib library as provided
[15:48:29 CDT(-0500)] <jwennmacher> True, but at least in my IDE for the editor to recognize the tags I have to setup the resource dependencies externally
[15:48:38 CDT(-0500)] <EricDalquist> which will make the jar show up in your ide
[15:48:43 CDT(-0500)] <EricDalquist> but won't include it in the war
[15:48:46 CDT(-0500)] <EricDalquist> which is what you want
[15:48:57 CDT(-0500)] <EricDalquist> same thing you do with the servlet and portlet api jars
[15:49:38 CDT(-0500)] <jwennmacher> I'm not sure if I follow. I setup my IDE to recognize the portlet URI to reference the jar in the tomcat's shared/lib folder. Is that what you mean?
[15:50:02 CDT(-0500)] <EricDalquist> no
[15:50:04 CDT(-0500)] <EricDalquist> in your pom.xml
[15:50:07 CDT(-0500)] <EricDalquist> add
[15:50:15 CDT(-0500)] <jwennmacher> OK reread what you said. Yes I was planning on marking the dependency as provided
[15:50:39 CDT(-0500)] <EricDalquist> <dependency>
[15:50:39 CDT(-0500)] <EricDalquist> <groupId>org.apache.portals.pluto</groupId>
[15:50:39 CDT(-0500)] <EricDalquist> <artifactId>pluto-taglib</artifactId>
[15:50:39 CDT(-0500)] <EricDalquist> <version>2.1.0-M3</version>
[15:50:39 CDT(-0500)] <EricDalquist> <scope>provided</scope>
[15:50:39 CDT(-0500)] <EricDalquist> </dependency>
[15:50:40 CDT(-0500)] <jwennmacher> So I assume I'm safe in the portlets with using the 2.1.0M3 version
[15:50:49 CDT(-0500)] <EricDalquist> that is all you should add
[15:50:53 CDT(-0500)] <EricDalquist> and it MUST be provided scope
[15:50:55 CDT(-0500)] <jwennmacher> Yep that's what I planned on doing
[15:50:59 CDT(-0500)] <jwennmacher> yes
[15:51:06 CDT(-0500)] <EricDalquist> the danger is if you include any pluto jars in your WAR file
[15:51:17 CDT(-0500)] <jwennmacher> agree
[15:51:43 CDT(-0500)] <jwennmacher> Cool. I'll go ahead and add the dependency then. Thanks!
[15:52:20 CDT(-0500)] <EricDalquist> yup
[15:52:38 CDT(-0500)] <jwennmacher> EricDalquist: Separate note ... just out of curiosity. Are you using eclipse and do you know if it gives you code completion of the portlet tags in the portlet projects?
[15:52:46 CDT(-0500)] <EricDalquist> hrm
[15:52:47 CDT(-0500)] <EricDalquist> yes
[15:52:49 CDT(-0500)] <EricDalquist> and ....
[15:54:20 CDT(-0500)] <EricDalquist> yes
[15:54:25 CDT(-0500)] <EricDalquist> once I added the pluto taglib jar
[15:54:29 CDT(-0500)] <EricDalquist> I'm on juno
[15:54:32 CDT(-0500)] <EricDalquist> (4.2)
[15:54:36 CDT(-0500)] <EricDalquist> using the latest m2e plugin
[15:54:39 CDT(-0500)] <EricDalquist> which is all fairly new
[15:54:47 CDT(-0500)] <EricDalquist> but it is finally easy to install
[15:54:53 CDT(-0500)] <EricDalquist> and all the m2e extensions are baked in as well
[15:55:03 CDT(-0500)] <jwennmacher> Just curious. I'm using intelliJ and it has a deficiency right now. Because the includes use jsp:directive.include instead of <%@ include file=""/> as the include directive format intelliJ doesn't go statically include the file and doesn't know the taglibs. That is a bug/feature enhancement I submitted to JetBrains to fix
[15:55:17 CDT(-0500)] <EricDalquist> ah
[15:55:46 CDT(-0500)] <EricDalquist> the one I tested does
[15:55:46 CDT(-0500)] <EricDalquist> <%@ include file="/WEB-INF/jsp/include.jsp" %>
[15:55:53 CDT(-0500)] <jwennmacher> Not a big deal; I just include it and strip it out before I check it in. Hoping they fix it though
[15:56:02 CDT(-0500)] <EricDalquist> and that is how it really should be included
[15:56:11 CDT(-0500)] <EricDalquist> no need to do a dynamic include of essentially the imports
[15:57:03 CDT(-0500)] <jwennmacher> If you try Calendar or Courses they'll use the jsp. directive. include. Both of the directive types are equivalent (and static)
[15:57:23 CDT(-0500)] <jwennmacher> jsp. directive. include and <%@include%> that is
[15:58:09 CDT(-0500)] <EricDalquist> ah
[15:58:10 CDT(-0500)] <EricDalquist> ok