Hi, I am trying to build my Sling-based project using the Maven JSPC Plugin but am getting compilation errors because SlingHttpServletRequest object doesn't have .adaptTo(…) defined.
I noticed in the API that: Starting with Sling API 2.0.6, this interface als extends the Adaptable (http://dev.day.com/docs/en/cq/current/javadoc/org/apache/sling/api/adapter/Adaptable.html) interface. I noticed in the latest version of the plugin uses Sling Scripting 2.0.2-incubator [1] which in turn uses Sling API 2.0.2-incubator which is older than 2.0.6 thus no Adaptable support. Can I just sync down the JSPC project, update the dependencies to the newest, build and deploy to my local mvn repo? What is the best way to get this update into the public repo? [1] http://svn.apache.org/repos/asf/sling/tags/maven-jspc-plugin-2.0.4-incubator/pom.xml [2] http://svn.apache.org/viewvc/sling/tags/org.apache.sling.scripting.jsp-2.0.2-incubator/pom.xml?view=markup Disclaimer: New to maven -- David Gonzalez Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
