| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts-examples</artifactId> |
| <version>1.1.0</version> |
| </parent> |
| |
| <artifactId>shiro-basic</artifactId> |
| <name>Struts2 with Basic Shiro Security Integration</name> |
| |
| <packaging>war</packaging> |
| |
| <properties> |
| <shiro.version>1.13.0</shiro.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-core</artifactId> |
| <version>${shiro.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-web</artifactId> |
| <version>${shiro.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>2.2</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>${jetty-plugin.version}</version> |
| <configuration> |
| <webApp> |
| <contextPath>/${project.artifactId}</contextPath> |
| </webApp> |
| <stopKey>CTRL+C</stopKey> |
| <stopPort>8999</stopPort> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |