Debian Codegraph @

contribs/bill-burke-book/ex05_2/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 This library is free software; you can redistribute it and/or modify it under the terms of
4 the GNU Lesser General Public License as published by the Free Software Foundation;
5 either version 2.1 of the License, or (at your option) any later version.
6
7 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
8 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 PURPOSE. See the GNU Lesser General Public License for more details.
10
11 You should have received a copy of the GNU Lesser General Public License along with this
12 library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13 Boston, MA 02110-1301 USA
14 -->
15 <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">
16 <modelVersion>4.0.0</modelVersion>
17 <parent>
18 <groupId>com.sun.jersey.contribs.bill-burke-book</groupId>
19 <artifactId>bill-burke-book-examples</artifactId>
20 <version>1.19.3</version>
21 </parent>
22 <artifactId>ex05_2</artifactId>
23 <packaging>war</packaging>
24 <name>ex05_2</name>
25 <description />
26
27 <dependencies>
28 <dependency>
29 <groupId>org.apache.httpcomponents</groupId>
30 <artifactId>httpclient</artifactId>
31 <version>4.0-beta2</version>
32 </dependency>
33 <dependency>
34 <groupId>com.sun.jersey</groupId>
35 <artifactId>jersey-servlet</artifactId>
36 <version>${project.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>com.sun.jersey</groupId>
40 <artifactId>jersey-client</artifactId>
41 <version>${project.version}</version>
42 <scope>test</scope>
43 </dependency>
44 <dependency>
45 <groupId>junit</groupId>
46 <artifactId>junit</artifactId>
47 <scope>test</scope>
48 </dependency>
49 </dependencies>
50
51 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-surefire-plugin</artifactId>
56 <configuration>
57 <skip>true</skip>
58 </configuration>
59 <executions>
60 <execution>
61 <id>surefire-it</id>
62 <phase>integration-test</phase>
63 <goals>
64 <goal>test</goal>
65 </goals>
66 <configuration>
67 <skip>false</skip>
68 </configuration>
69 </execution>
70 </executions>
71 </plugin>
72 <plugin>
73 <groupId>org.mortbay.jetty</groupId>
74 <artifactId>maven-jetty-plugin</artifactId>
75 <version>6.1.15</version>
76 <configuration>
77 <!-- By default the artifactId is taken, override it with something simple -->
78 <contextPath>/</contextPath>
79 <scanIntervalSeconds>2</scanIntervalSeconds>
80 <stopKey>foo</stopKey>
81 <stopPort>${my.jetty.stop.port}</stopPort>
82 <connectors>
83 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
84 <port>${my.jetty.port}</port>
85 <maxIdleTime>60000</maxIdleTime>
86 </connector>
87 </connectors>
88 </configuration>
89 <executions>
90 <execution>
91 <id>start-jetty</id>
92 <phase>pre-integration-test</phase>
93 <goals>
94 <goal>run</goal>
95 </goals>
96 <configuration>
97 <scanIntervalSeconds>0</scanIntervalSeconds>
98 <daemon>true</daemon>
99 </configuration>
100 </execution>
101 <execution>
102 <id>stop-jetty</id>
103 <phase>post-integration-test</phase>
104 <goals>
105 <goal>stop</goal>
106 </goals>
107 </execution>
108 </executions>
109 </plugin>
110 </plugins>
111 </build>
112 </project>