1<?xml version="1.0" encoding="UTF-8"?>
2<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">
3
4  <modelVersion>4.0.0</modelVersion>
5
6  <parent>
7    <groupId>com.google.inject.extensions</groupId>
8    <artifactId>extensions-parent</artifactId>
9    <version>4.2.0</version>
10  </parent>
11
12  <artifactId>guice-struts2</artifactId>
13
14  <name>Google Guice - Extensions - Struts2</name>
15
16  <dependencies>
17    <dependency>
18      <groupId>com.google.inject.extensions</groupId>
19      <artifactId>guice-servlet</artifactId>
20      <version>${project.version}</version>
21    </dependency>
22    <dependency>
23      <groupId>javax.servlet</groupId>
24      <artifactId>servlet-api</artifactId>
25      <version>2.5</version>
26      <scope>provided</scope>
27    </dependency>
28    <dependency>
29      <groupId>org.apache.struts</groupId>
30      <artifactId>struts2-core</artifactId>
31      <version>2.2.1</version>
32      <scope>provided</scope>
33    </dependency>
34  </dependencies>
35
36  <build>
37    <plugins>
38      <plugin>
39        <artifactId>maven-jar-plugin</artifactId>
40        <configuration>
41          <archive>
42            <manifestEntries>
43              <Automatic-Module-Name>com.google.guice.extensions.struts2</Automatic-Module-Name>
44            </manifestEntries>
45          </archive>
46        </configuration>
47      </plugin>
48    </plugins>
49  </build>
50</project>
51