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

Reply via email to