Debian Codegraph @

contribs/bill-burke-book/ex09_1/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>ex09_1</artifactId>
23 <packaging>war</packaging>
24 <name>ex09_1</name>
25 <description />
26
27 <profiles>
28 <profile>
29 <id>cobertura</id>
30 <activation>
31 <property>
32 <name>cobertura</name>
33 </property>
34 </activation>
35 <dependencies>
36 <dependency>
37 <groupId>com.sun.jersey</groupId>
38 <artifactId>jersey-servlet</artifactId>
39 <version>${project.version}</version>
40 <classifier>cobertura</classifier>
41 </dependency>
42 <dependency>
43 <groupId>com.sun.jersey</groupId>
44 <artifactId>jersey-client</artifactId>
45 <version>${project.version}</version>
46 <scope>test</scope>
47 <classifier>cobertura</classifier>
48 </dependency>
49 </dependencies>
50 </profile>
51 <profile>
52 <id>default</id>
53 <activation>
54 <activeByDefault>true</activeByDefault>
55 </activation>
56 <dependencies>
57 <dependency>
58 <groupId>com.sun.jersey</groupId>
59 <artifactId>jersey-servlet</artifactId>
60 <version>${project.version}</version>
61 </dependency>
62 <dependency>
63 <groupId>com.sun.jersey</groupId>
64 <artifactId>jersey-client</artifactId>
65 <version>${project.version}</version>
66 <scope>test</scope>
67 </dependency>
68 </dependencies>
69 </profile>
70 </profiles>
71
72 <dependencies>
73 <dependency>
74 <groupId>com.sun.xml.bind</groupId>
75 <artifactId>jaxb-impl</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
80 <scope>test</scope>
81 </dependency>
82 </dependencies>
83
84 <build>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-surefire-plugin</artifactId>
89 <configuration>
90 <skip>true</skip>
91 </configuration>
92 <executions>
93 <execution>
94 <id>surefire-it</id>
95 <phase>integration-test</phase>
96 <goals>
97 <goal>test</goal>
98 </goals>
99 <configuration>
100 <skip>false</skip>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
105 <plugin>
106 <groupId>org.mortbay.jetty</groupId>
107 <artifactId>maven-jetty-plugin</artifactId>
108 <version>6.1.15</version>
109 <configuration>
110 <!-- By default the artifactId is taken, override it with something simple -->
111 <contextPath>/</contextPath>
112 <scanIntervalSeconds>2</scanIntervalSeconds>
113 <stopKey>foo</stopKey>
114 <stopPort>${my.jetty.stop.port}</stopPort>
115 <connectors>
116 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
117 <port>${my.jetty.port}</port>
118 <maxIdleTime>60000</maxIdleTime>
119 </connector>
120 </connectors>
121 </configuration>
122 <executions>
123 <execution>
124 <id>start-jetty</id>
125 <phase>pre-integration-test</phase>
126 <goals>
127 <goal>run</goal>
128 </goals>
129 <configuration>
130 <scanIntervalSeconds>0</scanIntervalSeconds>
131 <daemon>true</daemon>
132 </configuration>
133 </execution>
134 <execution>
135 <id>stop-jetty</id>
136 <phase>post-integration-test</phase>
137 <goals>
138 <goal>stop</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 </plugins>
144 </build>
145 </project>