Thank you Ćukasz, I'm able to move forward now. I should point out that the Sitemesh Plugin page (linked below) lacks information about decorators.xml, which DOES seem to be required in order for the plugin to function. The decorators.xml file can simply contain "<decorators />" but it seems that it must exist in WEB-INF. Furthermore, examples of a freemarker decorator have been removed since the 2.0.14 documentation, and there is no discussion of or link to documentation about DecoratorMappers.
Other problems include: * The section titled "Velocity" correctly references the VelocityDecoratorServlet, but contains copy/paste information from the Freemarker section -- it has incorrect servlet-mapping, servlet-name, and url-pattern examples. * That section appears to be duplicated information anyway -- farther down the page similar but slightly different web.xml configurations are pasted in * "... please refer to WW-3296 for me info" <-- should be "more", or relevant data should be imported into plugin page document instead of referencing the bug. In general, the Sitemesh Plugin page could use some love to make it more useful to new implementors. Thank you for taking the time to consider improving the docs, I know it's not as sexy as coding. -rgm On Jul 27, 2010, at 8:13 AM, java....@spamgourmet.com wrote: > I'd like to test the Sitemesh / FreeMarker "full integration" configuration > available in Struts 2.2.1, detailed on this page: > http://struts.apache.org/2.x/docs/sitemesh-plugin.html > > BUT I'm new to using maven and can't seem to figure out how to modify my > pom.xml such that maven downloads the pre-release build of > struts2-core-2.2.1.jar on its own from the staging repository. I've added a > pluginRepository section (from the 2.2.1 VOTE email), but this is > insufficient / incomplete. > > Any help is appreciated. > > Sincerely, > > -rgm > > ------ > My current pom.xml (does not work): > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.example.rss</groupId> > <artifactId>Muskox</artifactId> > <packaging>war</packaging> > <version>0.0.1-SNAPSHOT</version> > <name>Muskox Hello World</name> > <build> > <finalName>Muskox</finalName> > </build> > <dependencies> > <dependency> > <groupId>org.apache.struts</groupId> > <artifactId>struts2-core</artifactId> > <version>2.2.1</version> > </dependency> > <dependency> > <groupId>org.freemarker</groupId> > <artifactId>freemarker</artifactId> > <version>2.3.16</version> > </dependency> > <dependency> > <groupId>org.apache.struts</groupId> > <artifactId>struts2-sitemesh-plugin</artifactId> > <version>2.1.8</version> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.14</version> > </dependency> > </dependencies> > <pluginRepositories> > <pluginRepository> > <id>orgapachestruts-014</id> > > <url>https://repository.apache.org/content/repositories/orgapachestruts-014</url> > </pluginRepository> > </pluginRepositories> > </project> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org