(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>1.0-RC1</version>
36 </dependency>
37 <dependency>
38 <groupId>eu.etaxonomy</groupId>
39 <artifactId>cdmlib-persistence</artifactId>
40 <version>0.5.0-SNAPSHOT</version>
41 </dependency>
42 <dependency>
43 <groupId>javax.servlet</groupId>
44 <artifactId>servlet-api</artifactId>
45 <version>2.5</version>
46 <scope>provided</scope>
47 </dependency>
48 <dependency>
49 <groupId>org.springframework</groupId>
50 <artifactId>spring-webmvc</artifactId>
51 <version>${spring.version}</version>
52 </dependency>
53 <dependency>
54 <groupId>org.springframework</groupId>
55 <artifactId>spring-web</artifactId>
56 <version>${spring.version}</version>
57 </dependency>
58
59 <!-- JsonView -->
60 <dependency>
61 <groupId>eu.etaxonomy</groupId>
62 <artifactId>spring-json</artifactId>
63 <version>0.1</version>
64 </dependency>
65
66 <!-- XmlView -->
67 <dependency>
68 <groupId>xstream</groupId>
69 <artifactId>xstream</artifactId>
70 <version>[1.1,)</version>
71 </dependency>
72 <dependency>
73 <groupId>xpp3</groupId>
74 <artifactId>xpp3</artifactId>
75 <version>1.1.3.3</version>
76 </dependency>
77
78 </dependencies>
79
80 <pluginRepositories>
81 <pluginRepository>
82 <id>apache-plugin-snapshots</id>
83 <name>Apache Maven Plugin Snapshots</name>
84 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
85 <releases>
86 <enabled>false</enabled>
87 </releases>
88 <snapshots>
89 <enabled>true</enabled>
90 </snapshots>
91 </pluginRepository>
92 <pluginRepository>
93 <id>apache-plugin-incubating</id>
94 <name>Apache Plugin Incubating Repository</name>
95 <url>http://people.apache.org/repo/m2-incubating-repository/</url>
96 </pluginRepository>
97 </pluginRepositories>
98
99 <build>
100 <finalName>cdmserver</finalName>
101 <plugins>
102 <plugin>
103 <artifactId>maven-surefire-plugin</artifactId>
104 <configuration>
105 <includes>
106 <include>**/*Test.java</include>
107 </includes>
108 </configuration>
109 </plugin>
110 <plugin><!--use mvn tomcat:deploy -->
111 <groupId>org.codehaus.mojo</groupId>
112 <artifactId>tomcat-maven-plugin</artifactId>
113 <configuration>
114 <server>tomcat-local</server>
115 <!--
116 <server>tomcat-edit</server>
117 <url>http://search.biocase.org:8080/manager</url>
118 -->
119 </configuration>
120 </plugin>
121 <plugin>
122 <groupId>org.mortbay.jetty</groupId>
123 <artifactId>maven-jetty-plugin</artifactId>
124 <dependencies>
125 <dependency>
126 <groupId>org.apache.geronimo.specs</groupId>
127 <artifactId>geronimo-j2ee_1.4_spec</artifactId>
128 <version>1.1</version>
129 </dependency>
130 </dependencies>
131 <configuration>
132 <connectors>
133 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
134 <port>8080</port>
135 <maxIdleTime>3600000</maxIdleTime>
136 </connector>
137 </connectors>
138 <scanIntervalSeconds>5</scanIntervalSeconds>
139 </configuration>
140 </plugin>
141
142 <!-- use mvn cxf-codegen:java2wsdl OR mvn process-classes -->
143 <!--
144
145 ONLY FOR SOAP !!!
146
147 <plugin>
148 <groupId>org.apache.cxf</groupId>
149 <artifactId>cxf-codegen-plugin</artifactId>
150 <version>${cxf.version}</version>
151 <dependencies>
152 <dependency>
153 <groupId>org.apache.cxf</groupId>
154 <artifactId>cxf-rt-frontend-jaxws</artifactId>
155 <version>${cxf.version}</version>
156 </dependency>
157 </dependencies>
158 <executions>
159 <execution>
160 <id>generate-wsdl</id>
161 <phase>process-classes</phase>
162 <configuration>
163 <className>
164 eu.etaxonomy.cdm.remote.service.HelloWorld
165 </className>
166 </configuration>
167 <goals>
168 <goal>java2wsdl</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
173 -->
174 </plugins>
175 </build>
176
177 </project>
178