Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-remote-webapp / pom.xml @ d6b8698e

History | View | Annotate | Download (9.08 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<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/xsd/maven-4.0.0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <parent>
5
    <artifactId>cdmlib-parent</artifactId>
6
    <groupId>eu.etaxonomy</groupId>
7
    <version>3.3.2-SNAPSHOT</version>
8
    <relativePath>../pom.xml</relativePath>
9
  </parent>
10

    
11
  <groupId>eu.etaxonomy</groupId>
12
  <artifactId>cdmlib-remote-webapp</artifactId>
13
  <name>CDM Remote Webapp</name>
14
  <packaging>war</packaging>
15

    
16
  <properties>
17
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18
  </properties>
19

    
20
  <scm>
21
    <connection>
22
      scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
23
    </connection>
24
    <developerConnection>
25
      scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
26
    </developerConnection>
27
    <url>
28
      http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/
29
    </url>
30
  </scm>
31

    
32
    <profiles>
33
    <profile>
34
      <id>local-repository</id>
35
      <activation>
36
        <property>
37
          <name>localrepo</name>
38
        </property>
39
      </activation>
40
      <repositories>
41
        <repository>
42
          <id>EditLocalRepository</id>
43
          <url>file://${localrepo}/eu/etaxonomy/</url>
44
          <releases>
45
            <enabled>false</enabled>
46
            <updatePolicy>always</updatePolicy>
47
          </releases>
48
          <snapshots>
49
            <enabled>true</enabled>
50
            <updatePolicy>always</updatePolicy>
51
          </snapshots>
52
        </repository>
53
      </repositories>
54
    </profile>
55
  </profiles>
56

    
57
  <dependencies>
58
    <dependency>
59
      <groupId>eu.etaxonomy</groupId>
60
      <artifactId>cdmlib-remote</artifactId>
61
    </dependency>
62
    <dependency>
63
      <!-- TODO this is also offered by cdmlib-remote, can it be removed?
64
        What does provided mean? -->
65
      <groupId>javax.servlet</groupId>
66
      <artifactId>servlet-api</artifactId>
67
      <scope>provided</scope>
68
    </dependency>
69

    
70
    <dependency>
71
      <groupId>org.easymock</groupId>
72
      <artifactId>easymock</artifactId>
73
    </dependency>
74
    <dependency>
75
      <groupId>xmlunit</groupId>
76
      <artifactId>xmlunit</artifactId>
77
    </dependency>
78

    
79
    <dependency>
80
      <groupId>commons-io</groupId>
81
      <artifactId>commons-io</artifactId>
82
    </dependency>
83
    <!-- JsonView -->
84
    <dependency>
85
      <!-- TODO can this be removed, it already exists in cdmlib-remote -->
86
      <groupId>net.sf.json-lib</groupId>
87
      <artifactId>json-lib</artifactId>
88
      <classifier>jdk15</classifier>
89
    </dependency>
90

    
91
    <!-- Profiling -->
92
    <dependency>
93
      <groupId>org.springframework</groupId>
94
      <artifactId>org.springframework.oxm</artifactId>
95
      <version>${spring.version}</version>
96
    </dependency>
97

    
98
    <!-- XmlView -->
99
    <dependency>
100
      <groupId>com.thoughtworks.xstream</groupId>
101
      <artifactId>xstream</artifactId>
102
    </dependency>
103
    <dependency>
104
      <groupId>xpp3</groupId>
105
      <artifactId>xpp3</artifactId>
106
    </dependency>
107
    <dependency>
108
      <groupId>stax</groupId>
109
      <artifactId>stax</artifactId>
110
    </dependency>
111

    
112
    <!-- JSP TAG LIBS -->
113
    <dependency>
114
      <groupId>taglibs</groupId>
115
      <artifactId>standard</artifactId>
116
      <version>1.1.2</version>
117
    </dependency>
118
    <dependency>
119
      <groupId>taglibs</groupId>
120
      <artifactId>x</artifactId>
121
      <version>1.1.2</version>
122
      <type>tld</type>
123
    </dependency>
124
    <!-- Connection Pooling -->
125
    <dependency>
126
      <groupId>org.hibernate</groupId>
127
      <artifactId>hibernate-c3p0</artifactId>
128
    </dependency>
129

    
130
    <dependency>
131
      <groupId>com.vaadin</groupId>
132
      <artifactId>vaadin-server</artifactId>
133
    </dependency>
134
    <dependency>
135
      <groupId>com.vaadin</groupId>
136
      <artifactId>vaadin-shared</artifactId>
137
    </dependency>
138
    <dependency>
139
      <groupId>com.vaadin</groupId>
140
      <artifactId>vaadin-client-compiled</artifactId>
141
    </dependency>
142
    <dependency>
143
      <groupId>com.vaadin</groupId>
144
      <artifactId>vaadin-client</artifactId>
145
      <scope>provided</scope>
146
    </dependency>
147
    <dependency>
148
      <groupId>com.vaadin</groupId>
149
      <artifactId>vaadin-themes</artifactId>
150
    </dependency>
151
    <dependency>
152
      <groupId>com.vaadin</groupId>
153
      <artifactId>vaadin-client-compiler</artifactId>
154
    </dependency>
155

    
156
    <dependency>
157
      <groupId>ru.xpoft.vaadin</groupId>
158
      <artifactId>spring-vaadin-integration</artifactId>
159
    </dependency>
160

    
161
    <dependency>
162
      <groupId>org.vaadin.addons</groupId>
163
      <artifactId>exporter</artifactId>
164
    </dependency>
165

    
166
    <dependency>
167
      <groupId>org.vaadin.addons</groupId>
168
      <artifactId>wizards-for-vaadin</artifactId>
169
    </dependency>
170

    
171
    <dependency>
172
      <groupId>junit</groupId>
173
      <artifactId>junit</artifactId>
174
      <scope>test</scope>
175
    </dependency>
176
    <dependency>
177
      <groupId>com.yourkit</groupId>
178
      <artifactId>yjp-controller-api-redist</artifactId>
179
      <scope>test</scope>
180
    </dependency>
181

    
182
  </dependencies>
183

    
184
  <build>
185
   <resources>
186
      <!-- ${basedir}/src/test/resources -->
187
      <resource>
188
        <!-- replace the place holders like ${basedir} in the resource files -->
189
        <targetPath>${project.build.directory}/test-classes</targetPath>
190
        <filtering>true</filtering>
191
        <directory>${basedir}/src/test/resources</directory>
192
        <includes>
193
            <include>datasources.xml</include>
194
        </includes>
195
      </resource>
196
      <resource>
197
       <!-- all other files without filtering -->
198
        <targetPath>${project.build.directory}/test-classes</targetPath>
199
        <directory>${basedir}/src/test/resources</directory>
200
        <excludes>
201
            <exclude>datasources.xml</exclude>
202
        </excludes>
203
      </resource>
204
     </resources>
205
    <plugins>
206
      <plugin>
207
        <groupId>org.apache.maven.plugins</groupId>
208
        <artifactId>maven-war-plugin</artifactId>
209
        <version>2.3</version>
210
      </plugin>
211
      <plugin>
212
        <groupId>com.vaadin</groupId>
213
        <artifactId>vaadin-maven-plugin</artifactId>
214
        <version>7.1.11</version>
215
        <executions>
216
          <execution>
217
            <configuration>
218
              <!--
219
                if you don't specify any modules, the plugin will find them
220
              -->
221
              <modules>
222
                <module>${cdm-remote}.vaadin.redlist.widgetset</module>
223
              </modules>
224
            </configuration>
225
            <goals>
226
              <goal>update-widgetset</goal>
227
            </goals>
228
          </execution>
229
        </executions>
230
        <configuration>
231
          <strict>true</strict>
232
          <force>true</force>
233
          <webappDirectory>src/main/webapp/VAADIN/widgetsets</webappDirectory>
234
          <module>eu.etaxonomy.cdm.remote.vaadin.redlist.wigetset.AppWidgetSet</module>
235
        </configuration>
236
      </plugin>
237
      <plugin>
238
        <artifactId>maven-failsafe-plugin</artifactId>
239
        <version>2.16</version>
240
        <configuration>
241
          <forkCount>3</forkCount>
242
          <reuseForks>true</reuseForks>
243
        </configuration>
244
        <executions>
245
          <execution>
246
            <goals>
247
              <goal>integration-test</goal>
248
              <goal>verify</goal>
249
            </goals>
250
          </execution>
251
        </executions>
252
      </plugin>
253
      <plugin>
254
        <groupId>org.eclipse.jetty</groupId>
255
        <artifactId>jetty-maven-plugin</artifactId>
256
        <version>9.1.3.v20140225</version>
257
        <configuration>
258
            <stopKey>stop</stopKey>
259
            <stopPort>9199</stopPort>
260
            <scanIntervalSeconds>10</scanIntervalSeconds>
261
            <jettyXml>${basedir}/src/test/resources/etc/jetty/jetty.xml,${basedir}/src/test/resources/etc/jetty/jetty-http.xml</jettyXml>
262
            <!--
263
                <jettyXml>./src/test/resources/etc/jetty/jetty.xml,./src/test/resources/etc/jetty/jetty-http.xml,./src/test/resources/etc/jetty/jetty-ssl.xml,./src/test/resources/etc/jetty/jetty-https.xml</jettyXml>
264
             -->
265
            <systemProperties>
266
              <systemProperty>
267
                <name>cdm.datasource</name>
268
                <value>h2_cdmTest</value>
269
              </systemProperty>
270
              <systemProperty>
271
                <!-- datasources.xml is prepared by <plugins><resources>..</resources> above -->
272
                <name>cdm.beanDefinitionFile</name>
273
                <value>${project.build.directory}/test-classes/datasources.xml</value>
274
              </systemProperty>
275
            </systemProperties>
276
        </configuration>
277
        <executions>
278
          <execution>
279
            <id>start-jetty</id>
280
            <phase>pre-integration-test</phase>
281
            <goals>
282
              <goal>start</goal>
283
            </goals>
284
            <configuration>
285
              <scanIntervalSeconds>0</scanIntervalSeconds>
286
              <daemon>true</daemon>
287
            </configuration>
288
          </execution>
289
          <execution>
290
            <id>stop-jetty</id>
291
            <phase>post-integration-test</phase>
292
            <goals>
293
              <goal>stop</goal>
294
            </goals>
295
          </execution>
296
        </executions>
297
      </plugin>
298
    </plugins>
299
  </build>
300
</project>
Add picture from clipboard (Maximum size: 40 MB)