(no commit message)
[cdmlib.git] / cdmlib-remote / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <!--
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6 -->
7 <parent>
8 <artifactId>cdmParent</artifactId>
9 <groupId>eu.etaxonomy</groupId>
10 <version>0.5.0</version>
11 <relativePath>../cdmParent/pom.xml</relativePath>
12 </parent>
13
14 <modelVersion>4.0.0</modelVersion>
15 <groupId>eu.etaxonomy</groupId>
16 <artifactId>cdmlib-remote</artifactId>
17 <packaging>war</packaging>
18 <version>0.1-SNAPSHOT</version>
19 <name>EDIT CDM Community Server</name>
20 <description>The EDIT CDM Community Server allows remote access to the common data model via webservices in the wider sense</description>
21 <scm>
22 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</connection>
23 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</developerConnection>
24 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/</url>
25 </scm>
26
27 <properties>
28 <cxf.version>2.0.4-incubator</cxf.version>
29 </properties>
30
31 <dependencies>
32 <dependency>
33 <groupId>eu.etaxonomy</groupId>
34 <artifactId>cdmlib-model</artifactId>
35 <version>0.4.7</version>
36 </dependency>
37 <dependency>
38 <groupId>javax.servlet</groupId>
39 <artifactId>servlet-api</artifactId>
40 <version>2.5</version>
41 <scope>provided</scope>
42 </dependency>
43 <dependency>
44 <groupId>org.springframework</groupId>
45 <artifactId>spring-webmvc</artifactId>
46 <version>${spring.version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.springframework</groupId>
50 <artifactId>spring-web</artifactId>
51 <version>${spring.version}</version>
52 </dependency>
53
54 <!-- JsonView -->
55 <dependency>
56 <groupId>eu.etaxonomy</groupId>
57 <artifactId>spring-json</artifactId>
58 <version>0.1</version>
59 </dependency>
60
61 <!-- XmlView -->
62 <dependency>
63 <groupId>xstream</groupId>
64 <artifactId>xstream</artifactId>
65 <version>[1.1,)</version>
66 </dependency>
67 <dependency>
68 <groupId>xpp3</groupId>
69 <artifactId>xpp3</artifactId>
70 <version>1.1.3.3</version>
71 </dependency>
72
73 <!-- TAG libs -->
74 <!--
75 <dependency>
76 <groupId>taglibs</groupId>
77 <artifactId>standard</artifactId>
78 <version>1.1.2</version>
79 </dependency>
80 <dependency>
81 <groupId>taglibs</groupId>
82 <artifactId>x</artifactId>
83 <version>1.1.2</version>
84 <type>tld</type>
85 </dependency>
86 -->
87 <!--
88 <dependency>
89 <groupId>org.apache.cxf</groupId>
90 <artifactId>cxf-rt-bindings-http</artifactId>
91 <version>${cxf.version}</version>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.cxf</groupId>
95 <artifactId>cxf-rt-transports-http</artifactId>
96 <version>${cxf.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.cxf</groupId>
100 <artifactId>cxf-rt-frontend-jaxws</artifactId>
101 <version>${cxf.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.cxf</groupId>
105 <artifactId>cxf-rt-transports-http-jetty</artifactId>
106 <version>${cxf.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.codehaus.xfire</groupId>
110 <artifactId>xfire-xmlbeans</artifactId>
111 <version>1.2.3</version>
112 </dependency>
113 <dependency>
114 <groupId>org.codehaus.xfire</groupId>
115 <artifactId>xfire-spring</artifactId>
116 <version>1.2.3</version>
117 <exclusions>
118 <exclusion>
119 <groupId>org.springframework</groupId>
120 <artifactId>spring</artifactId>
121 </exclusion>
122 </exclusions>
123 </dependency>
124 <dependency>
125 <groupId>com.caucho</groupId>
126 <artifactId>hessian</artifactId>
127 <version>3.1.3</version>
128 </dependency>
129 -->
130 </dependencies>
131
132 <repositories>
133 <!--
134 <repository>
135 <id>apache-snapshots</id>
136 <name>Apache SNAPSHOT Repository</name>
137 <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
138 <snapshots>
139 <enabled>true</enabled>
140 </snapshots>
141 </repository>
142 <repository>
143 <id>apache-incubating</id>
144 <name>Apache Incubating Repository</name>
145 <url>http://people.apache.org/repo/m2-incubating-repository/</url>
146 </repository>
147 -->
148 <!-- for jaxb-impl -->
149 <repository>
150 <id>java.net</id>
151 <url>http://download.java.net/maven/1/</url>
152 <layout>legacy</layout>
153 </repository>
154 </repositories>
155
156 <pluginRepositories>
157 <pluginRepository>
158 <id>apache-plugin-snapshots</id>
159 <name>Apache Maven Plugin Snapshots</name>
160 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
161 <releases>
162 <enabled>false</enabled>
163 </releases>
164 <snapshots>
165 <enabled>true</enabled>
166 </snapshots>
167 </pluginRepository>
168 <pluginRepository>
169 <id>apache-plugin-incubating</id>
170 <name>Apache Plugin Incubating Repository</name>
171 <url>http://people.apache.org/repo/m2-incubating-repository/</url>
172 </pluginRepository>
173 </pluginRepositories>
174
175 <build>
176 <finalName>cdmserver</finalName>
177 <plugins>
178 <plugin>
179 <artifactId>maven-surefire-plugin</artifactId>
180 <configuration>
181 <includes>
182 <include>**/*Test.java</include>
183 </includes>
184 </configuration>
185 </plugin>
186 <plugin><!--use mvn tomcat:deploy -->
187 <groupId>org.codehaus.mojo</groupId>
188 <artifactId>tomcat-maven-plugin</artifactId>
189 <configuration>
190 <server>tomcat-local</server>
191 <!--
192 <server>tomcat-edit</server>
193 <url>http://search.biocase.org:8080/manager</url>
194 -->
195 </configuration>
196 </plugin>
197 <plugin>
198 <groupId>org.mortbay.jetty</groupId>
199 <artifactId>maven-jetty-plugin</artifactId>
200 <dependencies>
201 <dependency>
202 <groupId>org.apache.geronimo.specs</groupId>
203 <artifactId>geronimo-j2ee_1.4_spec</artifactId>
204 <version>1.1</version>
205 </dependency>
206 </dependencies>
207 <configuration>
208 <connectors>
209 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
210 <port>8080</port>
211 <maxIdleTime>3600000</maxIdleTime>
212 </connector>
213 </connectors>
214 <scanIntervalSeconds>5</scanIntervalSeconds>
215 </configuration>
216 </plugin>
217
218 <!-- use mvn cxf-codegen:java2wsdl OR mvn process-classes -->
219 <!--
220
221 ONLY FOR SOAP !!!
222
223 <plugin>
224 <groupId>org.apache.cxf</groupId>
225 <artifactId>cxf-codegen-plugin</artifactId>
226 <version>${cxf.version}</version>
227 <dependencies>
228 <dependency>
229 <groupId>org.apache.cxf</groupId>
230 <artifactId>cxf-rt-frontend-jaxws</artifactId>
231 <version>${cxf.version}</version>
232 </dependency>
233 </dependencies>
234 <executions>
235 <execution>
236 <id>generate-wsdl</id>
237 <phase>process-classes</phase>
238 <configuration>
239 <className>
240 eu.etaxonomy.cdm.remote.service.HelloWorld
241 </className>
242 </configuration>
243 <goals>
244 <goal>java2wsdl</goal>
245 </goals>
246 </execution>
247 </executions>
248 </plugin>
249 -->
250 </plugins>
251 </build>
252
253 </project>
254