2009-03-24 17:07:27 -04:00
|
|
|
<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">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-project</artifactId>
|
2009-11-24 12:59:51 -05:00
|
|
|
<version>7.0.2-SNAPSHOT</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-05-25 21:16:27 -04:00
|
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
|
|
<name>Test :: Jetty Test Webapp</name>
|
2009-03-24 17:07:27 -04:00
|
|
|
<packaging>war</packaging>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>test</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/WebAppTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>config.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-07-29 23:05:14 -04:00
|
|
|
<!--
|
2009-03-24 17:07:27 -04:00
|
|
|
<plugin>
|
2009-07-29 23:05:14 -04:00
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2009-03-24 17:07:27 -04:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2009-07-29 23:05:14 -04:00
|
|
|
<version>7.0.0.RC2-SNAPSHOT</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
<configuration>
|
|
|
|
<stopPort>8087</stopPort>
|
|
|
|
<stopKey>foo</stopKey>
|
|
|
|
<scanIntervalSeconds>1</scanIntervalSeconds>
|
|
|
|
<systemProperties>
|
|
|
|
<systemProperty>
|
|
|
|
<name>fooprop</name>
|
|
|
|
<value>222</value>
|
|
|
|
</systemProperty>
|
|
|
|
</systemProperties>
|
|
|
|
<webAppConfig>
|
|
|
|
<contextPath>/test</contextPath>
|
|
|
|
<tempDirectory>${project.build.directory}/work</tempDirectory>
|
2009-07-01 23:52:29 -04:00
|
|
|
<sessionHandler implementation="org.eclipse.jetty.server.session.SessionHandler">
|
|
|
|
<sessionManager implementation="org.eclipse.jetty.server.session.HashSessionManager">
|
2009-03-24 17:07:27 -04:00
|
|
|
<storeDirectory>${basedir}/target/sessions</storeDirectory>
|
|
|
|
</sessionManager>
|
|
|
|
</sessionHandler>
|
|
|
|
</webAppConfig>
|
2009-07-01 23:52:29 -04:00
|
|
|
<loginServices>
|
|
|
|
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
|
2009-03-24 17:07:27 -04:00
|
|
|
<name>Test Realm</name>
|
2009-07-01 23:52:29 -04:00
|
|
|
<config>../jetty-server/src/main/config/etc/realm.properties</config>
|
|
|
|
</loginService>
|
|
|
|
</loginServices>
|
2009-03-24 17:07:27 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-07-29 23:05:14 -04:00
|
|
|
-->
|
2009-03-24 17:07:27 -04:00
|
|
|
|
|
|
|
<!-- uncomment to precompile jsps -->
|
|
|
|
<!--
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jspc-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jspc</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jspc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>**/*.foo</includes>
|
|
|
|
<excludes>**/*.fff</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<webXml>${basedir}/target/web.xml</webXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
-->
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-04-01 01:05:52 -04:00
|
|
|
<groupId>javax.servlet</groupId>
|
2009-03-24 17:07:27 -04:00
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2009-11-23 03:44:37 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-websocket</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2009-03-24 17:07:27 -04:00
|
|
|
<dependency>
|
2009-03-28 22:15:22 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
2009-03-24 17:07:27 -04:00
|
|
|
</dependency>
|
2009-04-21 19:13:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-05-25 21:16:27 -04:00
|
|
|
<artifactId>test-jetty-servlet</artifactId>
|
2009-04-21 19:13:50 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2009-04-22 01:18:40 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jmx</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2009-03-24 17:07:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|