| <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> |
| |
| <parent> |
| <artifactId>archetype-testing</artifactId> |
| <groupId>org.apache.maven.archetype</groupId> |
| <version>2.0-alpha-2</version> |
| </parent> |
| |
| <artifactId>archetype-proxy</artifactId> |
| |
| <name>Maven Archetype Webapp Proxy</name> |
| <packaging>war</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>6.1.4</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <!-- Add this in settings to use No authentication is made |
| <proxies> |
| <proxy> |
| <active>true</active> |
| <id>jetty</id> |
| <host>localhost</host> |
| <port>8080</port> |
| <protocol>http</protocol> |
| </proxy> |
| </proxies> |
| --> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <configuration> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>18881</port> |
| <maxIdleTime>60000</maxIdleTime> |
| </connector> |
| </connectors> |
| <webAppConfig> |
| <contextPath>/</contextPath> |
| </webAppConfig> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |