Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 2.20 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3.   <modelVersion>4.0.0</modelVersion>
  4.   <groupId>se.wip</groupId>
  5.   <artifactId>Rssreader</artifactId>
  6.   <packaging>war</packaging>
  7.   <version>1.0-SNAPSHOT</version>
  8.   <name>Rssreader Maven Webapp</name>
  9.  <url>http://maven.apache.org</url>
  10.   <dependencies>
  11.     <dependency>
  12.       <groupId>junit</groupId>
  13.       <artifactId>junit</artifactId>
  14.       <version>3.8.1</version>
  15.       <scope>test</scope>
  16.     </dependency>
  17.           <dependency>
  18.           <groupId>commons-httpclient</groupId>
  19.           <artifactId>commons-httpclient</artifactId>
  20.           <version>3.1</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.   </dependencies>
  29.   <build>
  30.     <finalName>my-webapp</finalName>
  31.  
  32.   <plugins>
  33.     <plugin>
  34.         <groupId>org.mortbay.jetty</groupId>
  35.         <artifactId>maven-jetty-plugin</artifactId>
  36.         <version>6.1.10</version>
  37.         <configuration>
  38.                 <scanIntervalSeconds>10</scanIntervalSeconds>
  39.                 <stopKey>foo</stopKey>
  40.                 <stopPort>9999</stopPort>
  41.         </configuration>
  42.         <executions>
  43.                 <execution>
  44.                         <id>start-jetty</id>
  45.                         <phase>pre-integration-test</phase>
  46.                         <goals>
  47.                                 <goal>run</goal>
  48.                         </goals>
  49.                         <configuration>
  50.                                 <scanIntervalSeconds>0</scanIntervalSeconds>
  51.                                 <daemon>true</daemon>
  52.                         </configuration>
  53.                 </execution>
  54.                 <execution>
  55.                         <id>stop-jetty</id>
  56.                         <phase>post-integration-test</phase>
  57.                         <goals>
  58.                                 <goal>stop</goal>
  59.                         </goals>
  60.                 </execution>
  61.         </executions>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>