Debian Codegraph @

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

raw
1 <!--
2 This library is free software; you can redistribute it and/or modify it under the terms of
3 the GNU Lesser General Public License as published by the Free Software Foundation;
4 either version 2.1 of the License, or (at your option) any later version.
5
6 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 PURPOSE. See the GNU Lesser General Public License for more details.
9
10 You should have received a copy of the GNU Lesser General Public License along with this
11 library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12 Boston, MA 02110-1301 USA
13 -->
14 <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">
15 <modelVersion>4.0.0</modelVersion>
16 <parent>
17 <groupId>com.sun.jersey.contribs.bill-burke-book</groupId>
18 <artifactId>bill-burke-book-examples</artifactId>
19 <version>1.19.3</version>
20 </parent>
21 <artifactId>ex11_2</artifactId>
22 <packaging>war</packaging>
23 <name>ex11_2</name>
24 <profiles>
25 <profile>
26 <id>cobertura</id>
27 <activation>
28 <property>
29 <name>cobertura</name>
30 </property>
31 </activation>
32 <dependencies>
33 <dependency>
34 <groupId>com.sun.jersey</groupId>
35 <artifactId>jersey-servlet</artifactId>
36 <version>${project.version}</version>
37 <classifier>cobertura</classifier>
38 </dependency>
39 <dependency>
40 <groupId>com.sun.jersey</groupId>
41 <artifactId>jersey-client</artifactId>
42 <version>${project.version}</version>
43 <scope>test</scope>
44 <classifier>cobertura</classifier>
45 </dependency>
46 </dependencies>
47 </profile>
48 <profile>
49 <id>default</id>
50 <activation>
51 <activeByDefault>true</activeByDefault>
52 </activation>
53 <dependencies>
54 <dependency>
55 <groupId>com.sun.jersey</groupId>
56 <artifactId>jersey-servlet</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>com.sun.jersey</groupId>
61 <artifactId>jersey-client</artifactId>
62 <version>${project.version}</version>
63 <scope>test</scope>
64 </dependency>
65 </dependencies>
66 </profile>
67 </profiles>
68 <dependencies>
69 <dependency>
70 <groupId>com.sun.xml.bind</groupId>
71 <artifactId>jaxb-impl</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>javax.persistence</groupId>
75 <artifactId>persistence-api</artifactId>
76 <version>1.0</version>
77 </dependency>
78 <dependency>
79 <groupId>javax.transaction</groupId>
80 <artifactId>jta</artifactId>
81 <version>1.1</version>
82 </dependency>
83 <dependency>
84 <groupId>commons-dbcp</groupId>
85 <artifactId>commons-dbcp</artifactId>
86 <version>1.2.1</version>
87 </dependency>
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-log4j12</artifactId>
91 <version>1.5.9.RC1</version>
92 </dependency>
93 <!-- In memory database. To replace MySQL for test -->
94 <dependency>
95 <groupId>hsqldb</groupId>
96 <artifactId>hsqldb</artifactId>
97 <version>1.8.0.7</version>
98 </dependency>
99 <dependency>
100 <groupId>org.hibernate</groupId>
101 <artifactId>hibernate-entitymanager</artifactId>
102 <version>3.4.0.GA</version>
103 </dependency>
104 <dependency>
105 <groupId>org.springframework</groupId>
106 <artifactId>spring</artifactId>
107 <version>2.5.5</version>
108 </dependency>
109 <dependency>
110 <groupId>junit</groupId>
111 <artifactId>junit</artifactId>
112 <scope>test</scope>
113 </dependency>
114 <dependency>
115 <groupId>xerces</groupId>
116 <artifactId>xercesImpl</artifactId>
117 <version>2.8.1</version>
118 </dependency>
119 <dependency>
120 <groupId>commons-collections</groupId>
121 <artifactId>commons-collections</artifactId>
122 <version>3.1</version>
123 </dependency>
124 </dependencies>
125 <build>
126 <plugins>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-surefire-plugin</artifactId>
130 <configuration>
131 <skip>true</skip>
132 </configuration>
133 <executions>
134 <execution>
135 <id>surefire-it</id>
136 <phase>integration-test</phase>
137 <goals>
138 <goal>test</goal>
139 </goals>
140 <configuration>
141 <skip>false</skip>
142 </configuration>
143 </execution>
144 </executions>
145 </plugin>
146 <plugin>
147 <groupId>org.mortbay.jetty</groupId>
148 <artifactId>maven-jetty-plugin</artifactId>
149 <version>6.1.15</version>
150 <configuration>
151 <!-- By default the artifactId is taken, override it with something simple -->
152 <contextPath>/</contextPath>
153 <scanIntervalSeconds>2</scanIntervalSeconds>
154 <stopKey>foo</stopKey>
155 <stopPort>${my.jetty.stop.port}</stopPort>
156 <connectors>
157 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
158 <port>${my.jetty.port}</port>
159 <maxIdleTime>60000</maxIdleTime>
160 </connector>
161 </connectors>
162 </configuration>
163 <executions>
164 <execution>
165 <id>start-jetty</id>
166 <phase>pre-integration-test</phase>
167 <goals>
168 <goal>run</goal>
169 </goals>
170 <configuration>
171 <scanIntervalSeconds>0</scanIntervalSeconds>
172 <daemon>true</daemon>
173 </configuration>
174 </execution>
175 <execution>
176 <id>stop-jetty</id>
177 <phase>post-integration-test</phase>
178 <goals>
179 <goal>stop</goal>
180 </goals>
181 </execution>
182 </executions>
183 </plugin>
184 </plugins>
185 </build>
186 </project>