Debian Codegraph @

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